# 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:** 68

<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 24, 2022, 4:46pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1341 "2022-03-24T16:46:13Z")

</div>

Yes, that should be the case

---

<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 25, 2022, 8:06pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1342 "2022-03-25T20:06:25Z")

</div>

@tcichowicz and @Glbltvlr, I am trying to recreate the issue you are seeing with the mouse cursor and touch, but I don’t see the same behaviour as you.

I have my Pi4 hooked up to the touchscreen with a USB wireless mouse and keyboard attached. If I run the console with `Cursor = 1` in the `.ini` file, then as I touch the screen and move my finger around, the cursor on screen follows my finger. If I touch any of the buttons, they work as expected. If I run with `Cursor = 0`, the on screen cursor disappears and the touch works normally. Are you not seeing the same? If you have `Cursor = 1` in the `.ini`, does the on screen cursor not follow your touches?

---

<div class="post-metadata">

**Author:** ![tcichowicz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/tcichowicz/32/661_2.png) [@tcichowicz](https://community.tempest.earth/u/tcichowicz)\
**Post date:** [March 26, 2022, 12:41pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1343 "2022-03-26T12:41:19Z")

</div>

@peter

I don’t know what to say … Everything is working as it was before. I switched `Cursor = 1` in the `.ini` file back and as you say working as hoped. Tested `Cursor = 0` mouse pointer disappeared, no mouse effect, and the only keyboard key that did anything was the ‘esc’ which returned to Rpi desktop.

Returned it to `Cursor = 1` - it now works perfectly??? I swear this is NOT what was happening before.

But as always GREAT Job!

---

<div class="post-metadata">

**Author:** ![g-woolf](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@g-woolf](https://community.tempest.earth/u/g-woolf)\
**Post date:** [March 26, 2022, 7:36pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1344 "2022-03-26T19:36:11Z")

</div>

Hi

Love the Pi display but I have a small request I hope

I come form an Air Traffic background in the UK (since retired) and wind directions are always three digits

Would it be possible to have three digits displayed all the time for the direction or is there an easy edit in a particular file

Many thanks

Graham

---

<div class="post-metadata">

**Author:** ![rob.at.theshed](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/rob.at.theshed/32/10670_2.png) [@rob.at.theshed](https://community.tempest.earth/u/rob.at.theshed)\
**Post date:** [March 27, 2022, 5:37am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1345 "2022-03-27T05:37:47Z")

</div>

I am following this thread.  
Since the last update my cursor will not select items on the touch screen in wfpiconsole. the mouse still works, the cursor moves, but I can not operate any controls in wfpiconsole.  
Rob

---

<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 27, 2022, 3:13pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1346 "2022-03-27T15:13:40Z")

</div>

I’m wondering whether it is possible that toggling the cursor off and on again is required to fix this. Can you stop any instance of the console that is running and then edit the `.ini` file so that `Cursor = 0`. Restart the console and confirm that the touchscreen is working as expected. Stop the console, edit the `.ini` file so that `Cursor = 1` and restart again. Does the mouse and touch now behave as described above? The cursor should follow your touch input and you should be able to press on the buttons to select them.

PS. I assume you are running a Pi4 and the 7 inch touchscreen?

---

<div class="post-metadata">

**Author:** ![rob.at.theshed](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/rob.at.theshed/32/10670_2.png) [@rob.at.theshed](https://community.tempest.earth/u/rob.at.theshed)\
**Post date:** [March 27, 2022, 10:59pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1347 "2022-03-27T22:59:58Z")

</div>

Yes - Pi4 & the Pi 7" touch screen. Will try to get to it this afternoon, and let you know the result.  
Rob

---

<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 28, 2022, 7:18pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1348 "2022-03-28T19:18:48Z")

</div>

This is a fairly easy change. You just need to modify line 300 in `lib/observationFormat.py` to read:

`cObs[ii - 1] = '{:03.0f}'.format(cObs[ii - 1])`

I will have a look into making this a user adjustable setting

---

<div class="post-metadata">

**Author:** ![g-woolf](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@g-woolf](https://community.tempest.earth/u/g-woolf)\
**Post date:** [March 28, 2022, 7:24pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1349 "2022-03-28T19:24:17Z")

</div>

Hi Peter

Thats great thanks -Ive changed the file after just updating to the latest version and its working perfectly

Would be great if it was configurable too

Regards

Graham

---

<div class="post-metadata">

**Author:** ![rob.at.theshed](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/rob.at.theshed/32/10670_2.png) [@rob.at.theshed](https://community.tempest.earth/u/rob.at.theshed)\
**Post date:** [March 29, 2022, 6:10am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1350 "2022-03-29T06:10:41Z")

</div>

With “Cursor=1”  
I have the cursor on screen in the console & can only operate controls via mouse (I have an old wired mouse)  
Touch screen moves the cursor but tapping the screen on a button has no effect.

With “Cursor=0”  
I have no visible cursor in the console, but can use the touch screen to operate buttons.  
The cursor is visible & operates normally outside of the console screen.

I am guessing the Cursor line in the ini changed from 0 to 1 during the upgrade.

Rob

---

<div class="post-metadata">

**Author:** ![hjalmar](https://avatars.discourse-cdn.com/v4/letter/h/c37758/32.png) [@hjalmar](https://community.tempest.earth/u/hjalmar)\
**Post date:** [March 29, 2022, 7:04am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1351 "2022-03-29T07:04:35Z")

</div>

Well, the update is not working for me:

> pi@raspberrypi:~ $ wfpiconsole start  
> [INFO] [Logger] Record log in /home/pi/.kivy/logs/kivy\_22-03-29\_9.txt  
> [INFO] [Kivy] v2.0.0  
> [INFO] [Kivy] Installed at “/home/pi/.local/lib/python3.7/site-packag es/kivy/ **init**.py”  
> [INFO] [Python] v3.7.3 (default, Jan 22 2021, 20:04:44)  
> [GCC 8.3.0]  
> [INFO] [Python] Interpreter at “/usr/bin/python3”  
> [INFO] [Config] Verifying station details  
> [INFO] [Factory] 186 symbols loaded  
> [INFO] [Image] Providers: img\_tex, img\_dds, img\_sdl2, img\_pil (img\_ffp yplayer ignored)  
> [INFO] [Window] Provider: egl\_rpi  
> [INFO] [GL] Using the “OpenGL ES 2” graphics system  
> [INFO] [GL] Backend used   
> [INFO] [GL] OpenGL version \<b’OpenGL ES 2.0’\>  
> [INFO] [GL] OpenGL vendor \<b’Broadcom’\>  
> [INFO] [GL] OpenGL renderer \<b’VideoCore IV HW’\>  
> [INFO] [GL] OpenGL parsed version: 2, 0  
> [INFO] [GL] Shading version \<b’OpenGL ES GLSL ES 1.00’\>  
> [INFO] [GL] Texture max size \<2048\>  
> [INFO] [GL] Texture max units \<8\>  
> [INFO] [Window] virtual keyboard not allowed, single mode, not docked  
> [INFO] [Text] Provider: sdl2  
> [INFO] [GL] NPOT texture support is available  
> Traceback (most recent call last):  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 242, in create\_handler  
> return eval(value, idmap), bound\_list  
> File “/home/pi/wfpiconsole/wfpiconsole.kv”, line 840, in   
> ‘Strike Detected!’ if app.CurrentConditions.Obs[‘StrikeDeltaT’][4] \< 360 el se   
> TypeError: ‘\<’ not supported between instances of ‘str’ and ‘int’
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 697, in \_apply\_rule  
> rctx[‘ids’])  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 247, in create\_handler  
> cause=tb)  
> kivy.lang.builder.BuilderException: Parser: File “/home/pi/wfpiconsole/wfpicons ole.kv”, line 839:  
> …  
> 837: TitleField:  
> 838: text:
> 
> > > 839: ‘Last Strike’ if app.CurrentConditions.Obs[‘StrikeDeltaT’][4] is None else   
> > > 840: ‘Strike Detected!’ if app.CurrentConditions.Obs[‘StrikeDelt aT’][4] \< 360 else   
> > > 841: ‘Last Strike’  
> > > …  
> > > TypeError: ‘\<’ not supported between instances of ‘str’ and ‘int’  
> > > File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 242, in create\_handler  
> > > return eval(value, idmap), bound\_list  
> > > File “/home/pi/wfpiconsole/wfpiconsole.kv”, line 840, in   
> > > ‘Strike Detected!’ if app.CurrentConditions.Obs[‘StrikeDeltaT’][4] \< 360 el se \
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):  
> File “main.py”, line 516, in   
> wfpiconsole().run()  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/app.py”, line 949, in run  
> self.\_run\_prepare()  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/app.py”, line 919, in \_run\_prepare  
> root = self.build()  
> File “main.py”, line 199, in build  
> self.screenManager.add\_widget(CurrentConditions())  
> File “main.py”, line 423, in **init**  
> self.addPanels()  
> File “main.py”, line 452, in addPanels  
> self.ids[Panel].add\_widget(eval(Type + ‘Panel’)())  
> File “/home/pi/wfpiconsole/panels/lightning.py”, line 40, in **init**  
> super(). **init** (\*\*kwargs)  
> File “/home/pi/wfpiconsole/panels/template.py”, line 29, in **init**  
> super(). **init** (\*\*kwargs)  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/uix/relativelayout.py” , line 274, in **init**  
> super(RelativeLayout, self). **init** (\*\*kw)  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/uix/floatlayout.py”, l ine 65, in **init**  
> super(FloatLayout, self). **init** (\*\*kwargs)  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/uix/layout.py”, line 7 6, in **init**  
> super(Layout, self). **init** (\*\*kwargs)  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/uix/widget.py”, line 3 61, in **init**  
> rule\_children=rule\_children)  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/uix/widget.py”, line 4 65, in apply\_class\_lang\_rules  
> rule\_children=rule\_children)  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 543, in apply  
> rule\_children=rule\_children)  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 712, in \_apply\_rule  
> e), cause=tb)  
> kivy.lang.builder.BuilderException: Parser: File “/home/pi/wfpiconsole/wfpicons ole.kv”, line 839:  
> …  
> 837: TitleField:  
> 838: text:
> 
> > > 839: ‘Last Strike’ if app.CurrentConditions.Obs[‘StrikeDeltaT’][4] is None else   
> > > 840: ‘Strike Detected!’ if app.CurrentConditions.Obs[‘StrikeDelt aT’][4] \< 360 else   
> > > 841: ‘Last Strike’  
> > > …  
> > > BuilderException: Parser: File “/home/pi/wfpiconsole/wfpiconsole.kv”, line 839:  
> > > …  
> > > 837: TitleField:  
> > > 838: text:  
> > > 839: ‘Last Strike’ if app.CurrentConditions.Obs[‘StrikeDeltaT’][4] is None else   
> > > 840: ‘Strike Detected!’ if app.CurrentConditions.Obs[‘StrikeDelt aT’][4] \< 360 else   
> > > 841: ‘Last Strike’  
> > > …  
> > > TypeError: ‘\<’ not supported between instances of ‘str’ and ‘int’  
> > > File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 242, in create\_handler  
> > > return eval(value, idmap), bound\_list  
> > > File “/home/pi/wfpiconsole/wfpiconsole.kv”, line 840, in   
> > > ‘Strike Detected!’ if app.CurrentConditions.Obs[‘StrikeDeltaT’][4] \< 360 el se \
> 
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 697, in \_apply\_rule  
> rctx[‘ids’])  
> File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 247, in create\_handler  
> cause=tb)

---

<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 29, 2022, 7:46am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1352 "2022-03-29T07:46:43Z")

</div>

Sorry about this! I fixed one bug in the lightning panel and then went and introduced another one. There will be a new release with this fixed by the end of today/tomorrow.

---

<div class="post-metadata">

**Author:** ![hjalmar](https://avatars.discourse-cdn.com/v4/letter/h/c37758/32.png) [@hjalmar](https://community.tempest.earth/u/hjalmar)\
**Post date:** [March 29, 2022, 8:15am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1353 "2022-03-29T08:15:16Z")

</div>

Aight, please let me/us know then, untill then i turned off the raspberry for now.

---

<div class="post-metadata">

**Author:** ![germy](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@germy](https://community.tempest.earth/u/germy)\
**Post date:** [March 29, 2022, 5:43pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1354 "2022-03-29T17:43:07Z")

</div>

I wish I had checked here before I updated. Crashing for me too. Will wait for update.

Thanks.

---

<div class="post-metadata">

**Author:** ![hjalmar](https://avatars.discourse-cdn.com/v4/letter/h/c37758/32.png) [@hjalmar](https://community.tempest.earth/u/hjalmar)\
**Post date:** [March 29, 2022, 7:26pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1355 "2022-03-29T19:26:55Z")

</div>

Fixed indeed! Works again 🙂

---

<div class="post-metadata">

**Author:** ![tom.hutchison](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@tom.hutchison](https://community.tempest.earth/u/tom.hutchison)\
**Post date:** [March 29, 2022, 10:48pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1356 "2022-03-29T22:48:33Z")

</div>

Yes, same thing happened to me. A quick vi edit of wfpiconsole.ini fixed it. Thanks for the clue to the issue.

Tom

---

<div class="post-metadata">

**Author:** ![tom.hutchison](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@tom.hutchison](https://community.tempest.earth/u/tom.hutchison)\
**Post date:** [March 29, 2022, 11:06pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1357 "2022-03-29T23:06:56Z")

</div>

I am noticing a discrepancy between what the year rain total shown on the Rainfall panel is showing compared to what my Tempest history page shows. Today, the Rainfall panel on WF PiConsole shows Year of 6.99" and my Tempest history page shows Year rain as 1.77". Quite a difference. Is WF PiConsole showing me the past 12 months as “Year?” My Tempest page is: [Tempest](https://tempestwx.com/station/20736/)

---

<div class="post-metadata">

**Author:** ![wx3i09](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/wx3i09/32/14944_2.png) [@wx3i09](https://community.tempest.earth/u/wx3i09)\
**Post date:** [March 29, 2022, 11:51pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1358 "2022-03-29T23:51:48Z")

</div>

What do you see in your history if you turn off NC rain … [https://help.weatherflow.com/hc/en-us/articles/360024436634](https://help.weatherflow.com/hc/en-us/articles/360024436634) ?

---

<div class="post-metadata">

**Author:** ![tom.hutchison](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@tom.hutchison](https://community.tempest.earth/u/tom.hutchison)\
**Post date:** [March 30, 2022, 12:07am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1359 "2022-03-30T00:07:07Z")

</div>

Yes, that was the difference. When I turn off NC, the year total matches the WF PiConsole value for year. I tend to trust the NC value more than what the raw data my Tempest reports. I need to find what the local airport has for yearly total.

---

<div class="post-metadata">

**Author:** ![germy](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@germy](https://community.tempest.earth/u/germy)\
**Post date:** [April 1, 2022, 12:53am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1360 "2022-04-01T00:53:07Z")

</div>

Thanks for fixing that so quickly. One thing I am seeing fairly regularly is the crash below. Any ideas on what could be causing this?

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

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

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