WeatherFlow PiConsole - Archive

@Glbltvlr, sorry for any confusion! Choosing the official 7 inch touchscreen is the safest option. It is well tested (it is what I use for development!), and I have never felt as though the resolution is too low (unless you stick your nose right up to the display).

The HDMI screens will work well for the display, but I have never tested how touches work through the USB port. Some users use full-sized screens through the HDMI port, and you can configure the console to use a mouse pointer rather than touch to change between different elements.

The only screens known NOT to work are those that plug exclusively into the GPIO pins. These are usually much smaller than the other options, so are not recommended anyway!

Thank you, @peter. Iā€™ve used Pis for other projects, so Iā€™m pretty comfortable working with them. Looking forward to receiving the hardware and bringing PiConsole up.

Hello

Can someone explain what the 2 wind speed on each side are for, and the circles at the bottom.

Thank you

left is average speed and right is wind gust speed with prevailing directions

I can understand that @mike11 wants some explanation, as I also canā€™t understand it. It shows avg wind speed of 1.6 km/h and just below that 0.0 km/h, on the right it shows max speed 14km/h and below that also 0.0. What do these zero values represent?

The 0.0 km/h on the left is the latest 1-minute average. The 0.0 km/h on the right is the latest 1-minute gust. The 1.6 km/h is the daily averaged wind speed, the 14 km/h is the daily max gust.

I should probably label them better on the screen, but space on the screen is not easy to come by :sweat_smile:

2 Likes

Thanks everyone , that makes more sense . So the small circle in the bottom right Direction: N is that the direction 1 minute ago?

MIke

hey @peter hope you are doing well. There seems to be an issue with the lightning panel. It keeps reseting the monthly total to 0. we have had quite a few storms this month and it has reset more than once to 0 for the month. Hard to tell if the Yearly count is affected.

Wasnā€™t doing this till I had to do a fresh install as my sd card got corrupted about 3 weeks ago.

Thanks for everything!

Edit: Seems to happen when you close the console and it reopens.

Likely not piconsole-specific, but is there an easy switch/setting to disable the auto screen-blanking ? I know we can touch the touchscreen to wake it up, but itā€™s nice to have it always onā€¦

1 Like

not 100% sure but I think under raspi-config / display options you could disable that.

image

nots sure how it interacts with kivy but you can give it a try

1 Like

Thanks Eric. Iā€™ll give it a try.

I might add that the ā€˜bigā€™ SmartiPi Touch Pro case is really excellent. Talk about quality fit. Just wow. (just set up a piconsole with the official display and case)

What I have done is setup a crontab to blank the screen at night and have it on during the day. This is what my crontab looks like:

30 6 * * * export DISPLAY=:0.0; xset dpms force on; xset s noblank; xset s off; xset s -dpms >/dev/null 2>&1
30 22 * * * export DISPLAY=:0.0; xset dpms force off >/dev/null 2>&1

At 6:30 am I set the screen so that it wonā€™t blank and at 10:30 pm I set it so that it will blank.
If you reboot the system during the day then the screen will blank when the default timeout occurs. I havenā€™t investigated changing the default. I just run a script that turns off the automatic blanking and then the crontab handles it after that.

Update - the raspi-config method eric suggested ā€˜didā€™ work (cool).

One question for the current users - do you use the fan if you have a pi4 ? I enabled the fan but those little fans have such an annoying sound that I temporarily disconnected it to see how high ā€˜vcgencmd measure_tempā€™ results might go.

I was getting a steady 46-47C with the fan enabled which is up to 55 or so reasonably quickly with the fan unplugged. Anybody care to share their temperature data for the pi and whether they have the fan running or not ?

I read somewhere you can change the fan from voltage, instead full force on 5V use the 3.3V pin. wfpiconsole doesnā€™t load much the cpu so no need to get that thing run full speed.

Maybe also look at the option to change the fan with a silent one (Noctua ??). Stock one much be really cheap and not the most silent one. Canā€™t be that expensive.

And no I donā€™t have a pi4 :wink: I moved most to a proxmox server to get rid off all those little boxes :slight_smile:

Thanks for the heads up on this. Itā€™s actually a bug I know about and there is a fix in place for the next version.

If you are happy editing the code, you should be able fix this pretty easily while waiting for the update. Open lib/derivedVariables.py and find line 544. Change

Strikes = [item[15] for item in Data if item[15] != None]

to

Strikes = [item[24] for item in Data if item[24] != None]

2 Likes

thanks peter. I will give that a go.

Edit: Just wanted to say that making that change appears to have worked. Went from 0 for the month to 4.9K. Thanks again peter!

Great! It was a silly bug - I just using the wrong variable from your station observations

And just a follow-up - I had no problems at all bringing this project up. Very cool. Thanks to @peter and others for all the help!

I read somewhere you can change the fan from voltage, instead full force on 5V use the 3.3V pin.

The instructions for this came with my case/fan kit. I suspect you could also use the heat sinks that come with the Canakit Pi 4, but I chose to use the fan.

Iā€™ve been using backlight_dimmer to allow my screen to dim (including to zero brightness) after a specified period of inactivity. Iā€™d thought about using cron to have on & off periods, but this allows more flexibility. I have mine set to turn off after 60 minutes of inactivity (meaning that I havenā€™t touched the screen) and Iā€™ve found that works perfectly for me. Iā€™ll be happy to help anyone who needs details as to how to install and configure to run at startup.

1 Like