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

<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:** [February 28, 2021, 6:24pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1441 "2021-02-28T18:24:31Z")

</div>

@peter

I kinda got it working… until it didn’t. All was going fine till the _5. Download the PiConsole:_  
got a bunch of syntax type errors. I understood what you were trying to do and broke out the commands  
separately, and got it downloaded and extracted. Got past the setup questions for my unit. Then all went fine till it tried to obtain a socket…

> (kivy\_venv) C:\Users\tomc\>cd wfpiconsole
> 
> (kivy\_venv) C:\Users\tomc\wfpiconsole\>python main.py  
> [INFO] [Logger] Record log in C:\Users\tomc.kivy\logs\kivy\_21-02-28\_6.txt  
> [INFO] [deps] Successfully imported “kivy\_deps.glew” 0.3.0  
> [INFO] [deps] Successfully imported “kivy\_deps.sdl2” 0.3.1  
> [INFO] [Kivy] v1.11.1  
> [INFO] [Kivy] Installed at “C:\Users\tomc\miniconda3\envs\kivy\_venv\lib\site-packages\kivy\__init_\_.py”  
> [INFO] [Python] v3.7.10 (default, Feb 26 2021, 13:06:18) [MSC v.1916 64 bit (AMD64)]  
> [INFO] [Python] Interpreter at “C:\Users\tomc\miniconda3\envs\kivy\_venv\python.exe”  
> [INFO] [Factory] 184 symbols loaded  
> [INFO] [Image] Providers: img\_tex, img\_dds, img\_sdl2, img\_pil, img\_gif (img\_ffpyplayer ignored)  
> [INFO] [Window] Provider: sdl2  
> [INFO] [GL] Using the “OpenGL” graphics system  
> [INFO] [GL] GLEW initialization succeeded  
> [INFO] [GL] Backend used   
> [INFO] [GL] OpenGL version \<b’4.0.0 - Build 10.18.10.4252’\>  
> [INFO] [GL] OpenGL vendor \<b’Intel’\>  
> [INFO] [GL] OpenGL renderer \<b’Intel(R) HD Graphics 2500’\>  
> [INFO] [GL] OpenGL parsed version: 4, 0  
> [INFO] [GL] Shading version \<b’4.00 - Build 10.18.10.4252’\>  
> [INFO] [GL] Texture max size \<16384\>  
> [INFO] [GL] Texture max units \<16\>  
> [INFO] [Window] auto add sdl2 input provider  
> [INFO] [Window] virtual keyboard not allowed, single mode, not docked  
> [INFO] [Text] Provider: sdl2  
> 2021-02-28 13:17:44-0500 [-] Log opened.  
> 2021-02-28 13:17:44-0500 [-] Starting factory \< **main**.WeatherFlowClientFactory object at 0x00000219382C5048\>  
> [INFO] [Base] Start application main loop  
> [INFO] [Support] Starting twisted reactor  
> [INFO] [GL] NPOT texture support is available  
> 2021-02-28 13:18:04-0500 [-] dropping connection to peer tcp4:34.202.254.239:443 with abort=True: WebSocket opening handshake timeout (peer did not finish the opening handshake in time)  
> 2021-02-28 13:18:09-0500 [-] Websocket connection closed  
> 2021-02-28 13:18:09-0500 [-] Websocket connection retrying  
> 2021-02-28 13:18:09-0500 [-] \<twisted.internet.tcp.Connector instance at 0x219382c5248 disconnected IPv4Address(type=‘TCP’, host=‘[ws.weatherflow.com](http://ws.weatherflow.com)’, port=443)\> will retry in 5 seconds  
> 2021-02-28 13:18:09-0500 [-] Stopping factory \< **main**.WeatherFlowClientFactory object at 0x00000219382C5048\>  
> 2021-02-28 13:18:17-0500 [-] Starting factory \< **main**.WeatherFlowClientFactory object at 0x00000219382C5048\>

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

EDIT: FYI clock still updates however takes 4-5secs –

---

<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:** [February 28, 2021, 6:38pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1442 "2021-02-28T18:38:13Z")

</div>

> [@tcichowicz](#):
>
> _5. Download the PiConsole:_  
> got a bunch of syntax type errors. I understood what you were trying to do and broke out the commands  
> separately, and got it downloaded and extracted.

Opps - that was a code formatting error. Different lines were running into each other. I have fixed it in the original post.

The socket issue is different though. Is you internet working OK otherwise, as I don’t see the same issue on my Windows 10 machine using the instructions I gave above?

---

<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:** [February 28, 2021, 7:10pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1443 "2021-02-28T19:10:00Z")

</div>

OK. The download went fine, however missing the mkdir wfpiconsole, and cd wfpiconsole -

```
so once I did that manually -- it worked perfectly...

```

Yes, internet is fine as the download happened in seconds. I also as a test, turned off my firewall. Still the same issue.

EDIT: also to confirm internet – the forecast comes it fine as well… ?

---

<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:** [February 28, 2021, 8:05pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1444 "2021-02-28T20:05:04Z")

</div>

@peter

I wanted to confirm, so as NOT overlooking something that may be a point of confusion. I Found and installed Miniconda from a download I had found on my PC - Miniconda3-latest-Windows-x86\_64. didn’t know what version it was/is so from command line …  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/b/b4e1a4dbc93713987c9668091f330aa94b03da89.png)

were all those instructions for version 3.8 ?

EDIT: Nevermind – I went back and uninstalled 3.7 - installed a fresh download of 3.8 – went through the installation again, and it does the same thing.

![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/a/a2368e49d0be5acf4362db0b1dc011cabd3ea53f.png)

EDIT: not sure if it matters but this is the build info of Windows 10 Pro - is/was suppose to be 20H  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/4/412e514d559a20a7ed70d268863791cc102b2ba6.png)

---

<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:** [February 28, 2021, 9:17pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1445 "2021-02-28T21:17:51Z")

</div>

I really don’t know what is going on here. I wiped miniconda off my machine completely, installed a fresh download of 3.8, went through the installation and everything is working fine. The conda version is 4.9.2 and the Python version is 3.7.10

 ![Capture](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/0/0e91c57ca90895c06dceca02763d1ed5f4995271.png)

If you are happy too, can you share the Personal Access Token you are using (or generate a new one that you can then delete). I can test that my end and see if somehow it is station specific

---

<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:** [February 28, 2021, 9:52pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1446 "2021-02-28T21:52:52Z")

</div>

> [@peter](#):
>
> python -m pip install kivy==1.11.1

I sent you a message with both of my wfpiconsole.ini files (TXT) extension.

I just installed from scratch - on a different PC. However, it was also just built from a NEW Windows 10 Pro - Creator USB utility.

I’ve got another PC running an older version, however it does take updates… I’ll try installing on that one, to see if it makes a difference.

---

<div class="post-metadata">

**Author:** ![shapbell](https://avatars.discourse-cdn.com/v4/letter/s/c77e96/32.png) [@shapbell](https://community.tempest.earth/u/shapbell)\
**Post date:** [March 1, 2021, 11:00pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1447 "2021-03-01T23:00:06Z")

</div>

Peter, thanks for the guide. I gathered the supplies and downloaded PiConsole, set it up and just that easy I have my dedicated display in the family room.

Thanks

---

<div class="post-metadata">

**Author:** ![twincreeks.exeter](https://avatars.discourse-cdn.com/v4/letter/t/e95f7d/32.png) [@twincreeks.exeter](https://community.tempest.earth/u/twincreeks.exeter)\
**Post date:** [March 2, 2021, 7:20pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1448 "2021-03-02T19:20:59Z")

</div>

Peter  
I am still having the same issue  
Sent you a message with the requested info  
Thank you  
Keith

---

<div class="post-metadata">

**Author:** ![dsease](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@dsease](https://community.tempest.earth/u/dsease)\
**Post date:** [March 5, 2021, 3:48pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1449 "2021-03-05T15:48:55Z")

</div>

Previously my Tempest was communicating and updating Pi Console data perfectly. Then, I had to replace my Tempest due to failure (Hub not changed). After updating the Pi Console station ID per the new Tempest, and re-booting the Pi Console, I still have no updates received by the console and the Tempest shows as offline??? Note that the tempest data is being updated when viewed on the IOS App and also via WEB access. Any thoughts? Station ID 21593

---

<div class="post-metadata">

**Author:** ![gizmoev](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/gizmoev/32/941_2.png) [@gizmoev](https://community.tempest.earth/u/gizmoev)\
**Post date:** [March 5, 2021, 4:31pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1450 "2021-03-05T16:31:24Z")

</div>

> [@dsease](#):
>
> After updating the Pi Console station ID per the new Tempest,

If you did a Replace Device the Station ID would not have changed. The Device ID would have changed.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/sws/original/2X/4/431e1a5ce34969a4ef4a21a1ee432e9e34082bd7.jpeg)  
Maybe you need to enter the Device ID rather than Station ID?

---

<div class="post-metadata">

**Author:** ![dsease](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@dsease](https://community.tempest.earth/u/dsease)\
**Post date:** [March 5, 2021, 5:26pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1451 "2021-03-05T17:26:00Z")

</div>

I used the “Replace” feature of the iOS App when I swapped the Tempest and the weather data is reported correctly both to the iOS APP and via the WEB reporting so I know the HUB is communicating with the Tempest and with the internet.

For the Raspberry Pi Console, I did update the Tempest Device ID via settings to the new “72102” and confirmed that the station ID had not changed.

The Raspberry PI Console is connected to the internet as I do receive forecast updates.

I don’t think I need to do any API or Token updates.

BTW, I did upgrade the WeatherFlow PI console to the latest version 4.0.4 and Re-booted.

Any other ideas?

Thanks,  
Doug

---

<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 5, 2021, 7:01pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1452 "2021-03-05T19:01:15Z")

</div>

Can you first delete the entire `wfpiconsole.ini` file. Then restart the console with `wfpiconsole start` and enter the correct station and device id’s. If it doesn’t work, can you share the logs that are printed to the terminal?

---

<div class="post-metadata">

**Author:** ![dsease](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@dsease](https://community.tempest.earth/u/dsease)\
**Post date:** [March 5, 2021, 8:26pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1453 "2021-03-05T20:26:24Z")

</div>

Ok, I deleted the wfpiconsole.ini, restarted wfpiconsole, entered the station and device ID’s, and the original API and Token data. Then I printed out the .ini file and verified correct entries.

I rebooted wfpiconsole and still no data reported.

I’m not sure of which error log you are referring. Is it the error log requested under the wfpiconsole directory or requested under the raspberry pi directory?

I’m thinking to start over from scratch with the whole wfpi install.

Doug

---

<div class="post-metadata">

**Author:** ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)\
**Post date:** [March 5, 2021, 8:42pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1454 "2021-03-05T20:42:53Z")

</div>

the logs are in the same directory with all other files from wfpiconsole

---

<div class="post-metadata">

**Author:** ![chris.king](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chris.king/32/1845_2.png) [@chris.king](https://community.tempest.earth/u/chris.king)\
**Post date:** [March 5, 2021, 9:27pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1455 "2021-03-05T21:27:25Z")

</div>

No, I was running the prior (or maybe the prior prior) version of the OS. Updating fixed the problem (after 12 hours or so, updating the OS is slow).

---

<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 5, 2021, 9:42pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1456 "2021-03-05T21:42:09Z")

</div>

As Eric said, the `wfpiconsole.log` file is in the same directory as all the other files: `~/wfpiconsole/`. If you open a terminal manually and run `wfpiconsole start`, you will also see the same logs printed to the screen. If the PiConsole is already running (i.e. you have it set to autostart on reboot), run `wfpiconsole stop` first

---

<div class="post-metadata">

**Author:** ![chris.king](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/chris.king/32/1845_2.png) [@chris.king](https://community.tempest.earth/u/chris.king)\
**Post date:** [March 6, 2021, 1:47am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1457 "2021-03-06T01:47:51Z")

</div>

Just noticed the terminal window I have open the Raspberry PI suddenly threw out a bunch of these errors:  
[ERROR] [Image] Error reading file icons/barometer/icons\_lR/1051.1.png  
[ERROR] [Image] Error reading file icons/barometer/icons\_lR/1050.9.png  
[ERROR] [Image] Error reading file icons/barometer/icons\_lR/1050.8.png  
[ERROR] [Image] Error reading file icons/barometer/icons\_lR/1050.6.png  
[ERROR] [Image] Error reading file icons/barometer/icons\_lR/1050.5.png  
[ERROR] [Image] Error reading file icons/barometer/icons\_lR/1050.4.png  
[ERROR] [Image] Error reading file icons/barometer/icons\_lR/1050.3.png  
[ERROR] [Image] Error reading file icons/barometer/icons\_lR/1050.2.png  
[ERROR] [Image] Error reading file icons/barometer/icons\_lR/1050.1.png

Does this mean I have corrupt install or something?

---

<div class="post-metadata">

**Author:** ![dsease](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@dsease](https://community.tempest.earth/u/dsease)\
**Post date:** [March 6, 2021, 3:47am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1458 "2021-03-06T03:47:23Z")

</div>

Thanks for ypu responses. I ended up reinstalling the Raspberry OS and then the wfpiconsole. Now everything is working. I wonder if there were some remnants of the old Tempest ID somewhere??

---

<div class="post-metadata">

**Author:** ![eric](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tempest.earth/eric/32/13553_2.png) [@eric](https://community.tempest.earth/u/eric)\
**Post date:** [March 6, 2021, 7:40am UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1459 "2021-03-06T07:40:21Z")

</div>

Hello Chris

I wouldn’t think it is corrupt, rather a permission error. Maybe during upgrade something changed (go figure). Depending on where you installed wfpiconsole it will run as user ‘pi’ or as ‘root’ and accordingly the files must be readable by that user.  
Can you for exemple go in the directory and do a ls -la (this way you see who is ‘owner’ and ‘group’ + the permission to read/write files.

If you installed under the /home/user/… directory you should see group and owner as the user ‘pi’. Below extract of mine. You see I’m logged in the raspberry as pi which is the usual user running the scripts and then you see a few lines of those icons  
Those rw r etc are read and or [read/write options](https://www.tutorialspoint.com/unix/unix-file-permission.htm)

```auto
pi@WFconsole:~/wfpiconsole/icons/barometer/icons_hR $ ls -la
total 4080
drwxr-xr-x 2 pi pi 36864 févr. 17 09:48 .
drwxr-xr-x 4 pi pi 36864 févr. 17 09:48 ..
-rw-r--r-- 1 pi pi 1902 févr. 17 09:48 1000.0.png
-rw-r--r-- 1 pi pi 1886 févr. 17 09:48 1000.1.png
-rw-r--r-- 1 pi pi 1898 févr. 17 09:48 1000.2.png
-rw-r--r-- 1 pi pi 1879 févr. 17 09:48 1000.3.png
-rw-r--r-- 1 pi pi 1887 févr. 17 09:48 1000.4.png
-rw-r--r-- 1 pi pi 1881 févr. 17 09:48 1000.5.png

```

you can change those if needed by chmod and if not the correct user via chown and chgrp

I hope I didn’t loose you here 😇

---

<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 6, 2021, 3:15pm UTC](https://community.tempest.earth/t/weatherflow-piconsole-archive/20131/1460 "2021-03-06T15:15:03Z")

</div>

@eric gave a very detailed answer, but the solution is actually a lot simpler (sorry Eric!). The barometer on the Pi cannot display pressures above 1050 mb or 31.01 inHg, so the icon files are missing. Your station recently reached a maximum pressure of 31.189 inHg, maxing out the barometer and causing the errors you see above. I have never seen such a high pressure, so never spotted this bug. I will get a fix in place.

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

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