# WeatherFlow PiConsole - Archive

**URL:** <https://community.tempest.earth/t/weatherflow-piconsole-archive/20131>\
**Category:** WeatherFlow PiConsole\
**Created:** [August 26, 2018, 7:09pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131 "2018-08-26T19:09:20Z")\
**Posts on this page:** 20\
**Page:** 62

<div class="post-metadata">

**Author:** ![padamec](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/padamec/32/5819_2.png) [@padamec](https://community.tempest.earth/u/padamec)\
**Post date:** [March 7, 2022, 10:36pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1221 "2022-03-07T22:36:00Z")

</div>

So now at the end of the day I tried the “_Shutdown_” button, which always stopped the whole Pi.

Unfortunately it just “crashes” into the OS Pi and in a moment the WF PiConsole starts up again…

Do you know what the problem is ?

---

<div class="post-metadata">

**Author:** ![fritz614](https://avatars.discourse-cdn.com/v4/letter/f/f05b48/32.png) [@fritz614](https://community.tempest.earth/u/fritz614)\
**Post date:** [March 7, 2022, 10:51pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1222 "2022-03-07T22:51:53Z")

</div>

I get that same error, this time Key Error: Millard Park  
I do not have more than 1 station, can I just remove the code for that station name request? or would you like to find the bug still?  
Forgot to add, I am one of the few that you helped get up and running on the Laptop Pi. But, like I said, update went well and all else works but that Menu

Update: If I remove the Station Name, I do not get the error of the console closing after hitting Menu, it stays on the screen

In the dropdown for station under the Menu, it shows my station name that I originally had, the Fritz Weather Station. If I select it and the Station number, the menu still pops up, until I close console and reopen it, then Menu crashes console to close again. As long as I have no nbame there, it works

---

<div class="post-metadata">

**Author:** ![Pcarr-AU](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/pcarr-au/32/13455_2.png) [@Pcarr-AU](https://community.tempest.earth/u/Pcarr-AU)\
**Post date:** [March 8, 2022, 12:21am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1223 "2022-03-08T00:21:19Z")

</div>

hi @peter , Yes I am using a PI4, so that would explain it. Regards Paul

---

<div class="post-metadata">

**Author:** ![Pcarr-AU](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/pcarr-au/32/13455_2.png) [@Pcarr-AU](https://community.tempest.earth/u/Pcarr-AU)\
**Post date:** [March 8, 2022, 12:24am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1224 "2022-03-08T00:24:24Z")

</div>

Hi @peter , yes it is giving the same image as per the link. Last night when I did the update it was still showing the northern hemisphere picture, but that might have just because of the upgrade procedure. I will keep an eye on it and let you know if anything else pops up. Regards Paul

---

<div class="post-metadata">

**Author:** ![storm\_tracker](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/storm_tracker/32/5771_2.png) [@storm\_tracker](https://community.tempest.earth/u/storm_tracker)\
**Post date:** [March 8, 2022, 6:20am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1225 "2022-03-08T06:20:09Z")

</div>

. . . **Important Discovery**. . .

The Shutdown" Button does not cause a “Shutdown” and “Reboot” Button does not cause a “Reboot” of ‘wfpiconsole’

Touching the “Menu” Button in the lower right of the display brings up this screen. . .

 ![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/3/3681b5d9fccce63b457d0e748a02abc8ed34fa75.jpeg)

It used to be. . .upon touching the “Shutdown” Button. . .would cause ‘wfpiconsole’ to gracefully end / terminate all running processes at which time the screen would go blank. . . allowing for a power turnoff at the isobar surge protector box. Good Night ‘wfpiconsole’ ! I could then turn it off at the end of the night because while asleep. . .my eyes are closed and I don’t need to see the display anyway.

However. . .now . .upon touching the “Shutdown” Button (and the “Reboot” Button for that matter) . . .the ‘wfpiconsole’ does NOT gracefully “Shut down”. Rather. . .it goes to this screen. . .

 ![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/0/0531734297e68a7caeaf2bbafb3e6bd1f7aa5c30.jpeg)

This then forces me to **sudo shutdown -h now** but I would really prefer that the “Shutdown” Button to handle that operation for me (like it used to) because when typing. . .I have then bring up that little tiny on-screen keyboard in order to type the **sudo shutdown -h now** command. THAT then readies ‘wfpiconsole’ to be powered off for the night.

Bottom Line is. . I really do miss the functionality of the “Shutdown” Button. Same goes for “Reboot” — those Buttons were very Handy . . .USEFUL.

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [March 8, 2022, 9:02am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1226 "2022-03-08T09:02:10Z")

</div>

@storm_tracker and @padamec - my bad! I forgot to test the `Reboot` and `Shutdown` buttons before the release. It was a simple fix though, so they will be back in the next version (hopefully within a day or two)

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [March 8, 2022, 10:45am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1227 "2022-03-08T10:45:22Z")

</div>

Hi @fritz614, can you send me the contents of your `wfpiconsole.ini` file in a private message? That will help me troubleshoot this issue for you

---

<div class="post-metadata">

**Author:** ![padamec](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/padamec/32/5819_2.png) [@padamec](https://community.tempest.earth/u/padamec)\
**Post date:** [March 8, 2022, 11:04am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1228 "2022-03-08T11:04:03Z")

</div>

Thank you very much @Peter, the `Shutdown` button is really important to me.

I always manually shutdown the console in a controlled way before it will automatically disconnect power later (night or absence). Otherwise the SD card probably wouldn’t last after some time.

In this context, I want to ask if it is possible to send some command to the console over LAN to automatically shut it down? I would welcome this for the possibility of automatically `shutdown` it from the home automation system.

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [March 8, 2022, 11:07am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1229 "2022-03-08T11:07:15Z")

</div>

@Pcarr-AU and @jzsjr, OK I have done some more digging into this issue, and it seems to be particularly associated with a Pi4 attached to the 7 inch touchscreen (possibly with a mouse attached) and interference between touches and mouse clicks.

There is an option in `wfpiconsole.ini` that allows you to toggle the cursor on and off. I have added a fix to the code that means when the cursor is toggled off, the mouse input is completely disabled and this should stop the interference.

So firstly, can you both open `wfpiconsole.ini` and make sure the `Cursor` key under `[Display]` is set to 0. Then run the following command to download the latest beta version of the PiConsole

`wfpiconsole beta`

Once that process has completed, start the console again with `wfpiconsole start` and let me know if that has fixed the issue

---

<div class="post-metadata">

**Author:** ![jzsjr](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/jzsjr/32/13041_2.png) [@jzsjr](https://community.tempest.earth/u/jzsjr)\
**Post date:** [March 8, 2022, 1:17pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1230 "2022-03-08T13:17:09Z")

</div>

Peter  
It initially worked but then I changed the time from 24 hour to 12 and it knocked me out again.

Traceback (most recent call last):  
File “/home/pi/wfpiconsole/main.py”, line 516, in   
wfpiconsole().run()  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/app.py”, line 950, in run  
runTouchApp()  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/base.py”, line 582, in runTouchApp  
EventLoop.mainloop()  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/base.py”, line 347, in mainloop  
self.idle()  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/base.py”, line 391, in idle  
self.dispatch\_input()  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/base.py”, line 342, in dispatch\_input  
post\_dispatch\_input(\*pop(0))  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/base.py”, line 308, in post\_dispatch\_input  
wid.dispatch(‘on\_touch\_up’, me)  
File “kivy/\_event.pyx”, line 709, in kivy.\_event.EventDispatcher.dispatch  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/uix/behaviors/button.py”, line 179, in on\_touch\_up  
self.dispatch(‘on\_release’)  
File “kivy/\_event.pyx”, line 705, in kivy.\_event.EventDispatcher.dispatch  
File “kivy/\_event.pyx”, line 1248, in kivy.\_event.EventObservers.dispatch  
File “kivy/\_event.pyx”, line 1172, in kivy.\_event.EventObservers.\_dispatch  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/uix/settings.py”, line 571, in \_set\_option  
self.value = instance.text  
File “kivy/properties.pyx”, line 498, in kivy.properties.Property. **set**  
File “kivy/properties.pyx”, line 545, in kivy.properties.Property.set  
File “kivy/properties.pyx”, line 600, in kivy.properties.Property.dispatch  
File “kivy/\_event.pyx”, line 1248, in kivy.\_event.EventObservers.dispatch  
File “kivy/\_event.pyx”, line 1154, in kivy.\_event.EventObservers.\_dispatch  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/uix/settings.py”, line 323, in on\_value  
panel.set\_value(self.section, self.key, value)  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/uix/settings.py”, line 665, in set\_value  
settings.dispatch(‘on\_config\_change’,  
File “kivy/\_event.pyx”, line 705, in kivy.\_event.EventDispatcher.dispatch  
File “kivy/\_event.pyx”, line 1248, in kivy.\_event.EventObservers.dispatch  
File “kivy/\_event.pyx”, line 1172, in kivy.\_event.EventObservers.\_dispatch  
File “/home/pi/.local/lib/python3.9/site-packages/kivy/app.py”, line 1158, in \_on\_config\_change  
self.dispatch(‘on\_config\_change’, \*largs[1:])  
File “kivy/\_event.pyx”, line 709, in kivy.\_event.EventDispatcher.dispatch  
File “/home/pi/wfpiconsole/main.py”, line 286, in on\_config\_change  
astro.Format(self.CurrentConditions.Astro, self.config, ‘Sun’)  
AttributeError: type object ‘astro’ has no attribute ‘Format’  
pi@raspberrypi:~ $

---

<div class="post-metadata">

**Author:** ![jzsjr](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/jzsjr/32/13041_2.png) [@jzsjr](https://community.tempest.earth/u/jzsjr)\
**Post date:** [March 8, 2022, 1:23pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1231 "2022-03-08T13:23:29Z")

</div>

Peter  
I went into settings again and changed some of the primary and secondary square around without incident. Changed the inside temperature to be on and then back off without incident but then changed the time back to 24 hour and it once again kicked me out.  
Jim

---

<div class="post-metadata">

**Author:** ![user359](https://avatars.discourse-cdn.com/v4/letter/u/dec6dc/32.png) [@user359](https://community.tempest.earth/u/user359)\
**Post date:** [March 8, 2022, 2:17pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1232 "2022-03-08T14:17:55Z")

</div>

@padamec - I would suggest adding the power on/off button to your Pi. I find it very useful.

If you use Raspbian stretch 2017.08.16 or newer, all that is required is to add a line to /boot/config.txt:

dtoverlay=gpio-shutdown,gpio\_pin=3

Make sure to reboot after adding this line. Then, if you connect a pushbutton between GPIO3 and GND (pin 5 and 6 on the 40-pin header), you can let your raspberry shutdown and startup using this button.

A lot more details and alternate ways to implement a shutdown (or reboot) button can be found at the link below.

[https://gist.github.com/lbussy/9e81cbcc617952f1250e353bd42e7775](https://gist.github.com/lbussy/9e81cbcc617952f1250e353bd42e7775)

I understand that on newer versions of the OS this may be the default configuration.

Dan

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [March 8, 2022, 2:58pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1233 "2022-03-08T14:58:09Z")

</div>

Good spot! That’s a bug I managed to let slip through. I’ll fix it in the next version. You can change the time format manually in the `.ini` file if you want to in the meantime

---

<div class="post-metadata">

**Author:** ![storm\_tracker](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/storm_tracker/32/5771_2.png) [@storm\_tracker](https://community.tempest.earth/u/storm_tracker)\
**Post date:** [March 8, 2022, 5:23pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1234 "2022-03-08T17:23:22Z")

</div>

@Peter. . .just ran **wfpiconsole beta**. . . but now. . .none of the 4 buttons on the bottom respond to touch. Now at Critical Juncture. . . .Cannot shutdown the console what-so-ever except to do a Fatal Hard Crash by killing the power head-on and running the risk of destroying the SD card.

![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/f/fa82d2bd0100f20085385cbf2e1032c0b35a0cef.jpeg)

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [March 8, 2022, 5:38pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1235 "2022-03-08T17:38:44Z")

</div>

😢 😢 😢 why do updates always cause sooooo many issues! If you plug in a keyboard you can stop the console with `ctrl-c`. If you have to power cycle there is a chance the SD will fry, but it is pretty small (I’ve done it enough times without it happening!) I’ve clearly gone and broken Pi3s while trying to fix for Pi4s. You can run `wfpiconsole update` to get back to the stable version and I will keep trying to fix things

---

<div class="post-metadata">

**Author:** ![storm\_tracker](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/storm_tracker/32/5771_2.png) [@storm\_tracker](https://community.tempest.earth/u/storm_tracker)\
**Post date:** [March 8, 2022, 5:43pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1236 "2022-03-08T17:43:40Z")

</div>

If I choose to Bail out of the display as seen above. . .is there a way to UNdo the beta? In other words. . .revert back to the previous version (v22.3.1) and just accept the fact that I should not use the Shutdown or Reboot buttons.

I don’t wanna fry that SD card. . .but otherwise my display is locked to what we see above. " If you plug in a keyboard you can stop the console with `ctrl-c ". But can’t plug a kybd into the console because the Console is stranded! I can’t Bail out of the display w/o doing a complete unplug of the power. . .hence SD Card High Risk.

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [March 8, 2022, 5:45pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1237 "2022-03-08T17:45:07Z")

</div>

> [@storm\_tracker](#):
>
> is there a way to UNdo the beta?

Yep, just run `wfpiconsole update` and it will move you back to the stable v22.3.1

---

<div class="post-metadata">

**Author:** ![storm\_tracker](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/storm_tracker/32/5771_2.png) [@storm\_tracker](https://community.tempest.earth/u/storm_tracker)\
**Post date:** [March 8, 2022, 5:47pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1238 "2022-03-08T17:47:27Z")

</div>

Guess I’ll just have to cut the power and take my chances – eh?

---

<div class="post-metadata">

**Author:** ![peter](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/peter/32/1365_2.png) [@peter](https://community.tempest.earth/u/peter)\
**Post date:** [March 8, 2022, 5:50pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1239 "2022-03-08T17:50:02Z")

</div>

Yea, I’m sorry! I didn’t mean to lock you out 😂

---

<div class="post-metadata">

**Author:** ![storm\_tracker](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/storm_tracker/32/5771_2.png) [@storm\_tracker](https://community.tempest.earth/u/storm_tracker)\
**Post date:** [March 8, 2022, 5:56pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1240 "2022-03-08T17:56:38Z")

</div>

Just cut the power. . .waited for 2 mins. . .then turned isobar surge protector (switch) back on. Just re-ran ‘wfpiconsole uppdate’

WeatherFlow PiConsole update complete!

Just ran ‘wfpiconsole start’. Display is present. . .but the buttons on the bottom still do not respond to touch. Same situation as above. The display is locked and can not get to anything. Hence have no way to go back to the “Menu” screen to see what version it is.

[Previous page](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131.md?page=61)

[Next page](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131.md?page=63)
