This shouldn’t be a problem as the Console is using the websocket connection rather than listening for the UDP packets from the hub. I fixed a small bug yesterday in the DarkSky forecast that would stop the console updating after ~10 minutes. Can you install the patch I made to correct it using the new command wfpiconsole patch and let me know if that helps at all?
EDIT: scrap that! I’ve just run a test on your station and I can see that there is a different bug that needs fixing. I will get a patch sorted ASAP!
Hi Peter,
Just wanted to say hi and thanks for creating PyConsole looks like a nifty app for the WF.
My name is Mark Oerkfitz and recently received my WF and started to delve into the available APIs and data of the WF. I like what you have done here and will setup a PI with PyConsole. I looked at the Github link and reviewed the detailed instructions.
I do not have a Pi currently so will order the following this week:
Rasberry Pi, 7" Inch Screen and Case, PS, SD card etc. - Don’t think anything else is required.
In the meantime will get all the API Keys needed and get things going.
Will report back once I get things going … Hopefully have it running sometime next weekend.
Oh BTW my WF Station ID: 4917 - so far works great except for the over estimated rain issues… which I know are being actively improved.
Hi @mao! Thanks for checking out the PyConsole. It sounds like you have everything you need on your shopping list. Let me know how you get on when everything has arrived.
I see from you station page that you use use Fahrenheit, inches, and inHg as your units. The PyConsole can’t display in these units right now, but I am working on an update that will allow that. Stay tuned for updates.
sigh - it’s hard to control the Amazon Prime account of doom here !!!
Only lightly related, but is there a simple mod to put a PIR sensor or the like on the console to dim it unless somebody walks next to the unit ? It would be great to have it relatively dim by default to not irradiate our eyeballs in a dark room, only brightening when we get close enough to read the values…
I’ve tested your station number on my installation and everything seems to be working fine. Can you try and uncomment line 208 and see if it works now?
Not that I know off I’m afraid. I have two suggestions though.
First you can use this python module to control the brightness of the backlight: rpi-backlight · PyPI. In early versions of the code I used this with a schedule to brighten and dim the screen, but decided to scrap it as people would likely want very different schedules, making the coding a lot harder. I’d use this to set a constant brightness you are happy with.
Second, I recently discovered that left unattended, the Raspberry Pi touch screen will turn off all by itself to save energy, turning back on with a touch. This setting is not always enabled though. To enable it type this into the terminal:
xset -display :0 +dpms
To check it is turned on, type:
xset -display :0 q
Look for something like this at the bottom:
DPMS (Energy Star):
Standby: 300 Suspend: 300 Off: 300
DPMS is Enabled
Monitor is On
To set the standby times use this:
xset -display :0 dpms 300 300 300
Where the number is the number of seconds until the screen goes into Standby mode, Suspend mode, and Off mode. I have tested this thoroughly, and the PyConsole does not stop the screen from sleeping. If it doesn’t sleep then it is likely that some other process is to blame. If you are having problems, try setting the number of seconds to a much smaller number for testing purposes. Hope this helps!