Yeah but some TVs have this stupid warm up cycle and I think that's what's bothering our friend here
This thread is a monster, and I am currently reading through it all, even if lots of it seems to be over my head...
Maybe someone can save my time, eyes, and sanity and let me know if I can run this from a mac without the RasPi
Tim
Just install apache server on windows
If you guys find a solid way to get a motion detector setup with rpints PLEASE make a write up on it and I will test it step by step and if it works I will make a new section on our website called user addons and maybe develop packages users can install to add these functionalities!!
I think this should work:"html & css wizards, lend me your eyes!"
This is an R'Pints instance running on my dev system. It's been a slow work day so I've been playing with the css and html files and managed to get the Title header font larger without screwing up the rest of the headers (created an 'h0' style so I didn't have to recode all of the headers).
I know, "big whoop"
Anyway, so now I'm trying to stick a png at the bottom on top of the background that shows the tap order to remove ambiguity for first-time visitors. Right now I just stuck a single line of html at the bottom of index.php:
<img style="position:absolute; left:400px" SRC="img/tap_numbers.png">
And the vertical positioning is perfect. But I want the image to stay in the center when the window scales, so I can't actually use absolute positioning.
Anyone have a good (and hopefully) terse way to make this happen?
Cheers!
<style type="text/css">
<!--
img.size{
width:100%;
height: auto;
}
-->
</style>
<img class="size" src="tap_numbers.png" alt="">
Hi beernutz!
After fixing a dropped double-quote it appears to do exactly what I was looking for!
Thanks a ton!
Cheers!
In that example, what is the "relative" object that the image "relates" to?
Anyway, I think the centering is just fine - it looks pretty good on my keezer - and thanks again!
One thing I noticed that's kinda interesting: if I grab the right edge of the browser window and drag it left, the whole page including that bottom image "shrinks" perfectly to maintain proportions. Otoh, if I use ctrl-- or ctrl-+ to contract/expand the page within fixed browser window bounds it seems the bottom image sets the width of the content and never scales while everything else on the page compresses or expands.
Probably something they explain in Web Pages 101 but I never took that course
Cheers!
Day_tripper how did you get the tap numbers on the bottom of your screen? Id really like to add this to my system.
The tap number "ribbon" is a png image 2000x100 pixels in size that I created using white Times New Roman - Bold characters (36pt iirc) atop a transparent background, so the text floats on top of the R'Pints background. It does look pretty good for a complete hack job
I put a copy of the png file on my Google Drive here so you can see what it looks like. If you aren't running 6 taps you'll need to either edit it or create your own.
Once you have the image file the rest is cake:
- stick your image in /var/www/img with the rest of the R'Pints images and make sure it's owned by www-data
- edit /var/www/index.php and add the following lines to the very bottom:
<style type="text/css">
<!--
img.size{
width:100%;
height:auto;
}
-->
</style>
<img class="size" src="img/tap_numbers.png" alt="">
Make sure the file name above matches up with your image file, and that the file you write out has the proper ownership (www-data) and you should be all set!
And thank beernutz!
Cheers!
I never lose touch with either of my Pi's, but I have read of folks who have had issues with that same wifi dongle I use. Sometimes resolved by using a different power source for the Pi, apparently...
Cheers!
Is the dongle enclosed in some sort of box. It shouldn't be getting hot but may be experiencing some interference
No, it's was sitting in a clear raspberry pi case. The top has been off of it for a while now because I have some wires hooked up to it.
This is listed a under the product description.
"Power Saving designed to support smart transmit power control and auto-idle state adjustment."
My pi was having connectivity issues as well. Turned out it was the pi entering the previously stated power saving mode. A few lines of code wound up disabling the power savings, and added another line to automatically ping my router after a pre-determined amount of time. I can't remember what those code lines were off the top of my head but since I have added them I have had zero troubles with my pi staying connected to my network. I'm on about day 9 now and haven't had to reboot my pi a single time. When I get home from work later I'll look up what i have added, it may help...
Sent from my iPhone using Home Brew