WeatherFlow PiConsole - Archive

Problem guy here again… I did the update (wfpiconsole update), and it got to updating WeatherFlow PiConsole to \e{1;32mv3.0\e{0m, then showed “Error: Unable to install WeatherFlow PiConsole”, main: line 480: errorlog: No such file or directory.

When I start the console, it runs, but there is no Indoor temp. I looked at the .ini file, and it looks like pre-3.1

The credits screen shows I’m running Version 3.1

Can I punt, and just reinstall from Github, or can I just modify the ini file?

Probably not best to reinstall straight from Github. Let’s try and work out why the update script is not working.

If you enter the command cd ~/wfpiconsole in a terminal is an error message displayed?

Peter, I get “bash: ~wfpiconsole: No such file or directory”.

Interesting! That would explain why you are having troubles. Are you able to share a screenshot (using VNC) or a photo of your screen? If so, can you type cd ~ into a terminal, followed by ls -l. Can you share what you see after the second command?

Where’s the forward slash???

1 Like

Peter,

I’m embarrassed. I just noticed instead of the tilde (~) the keyboard was rendering a crazy hook (Extended ASCII 170).

I checked my keyboard configuration, and found it changed to UK layout, vice US. I changed it back to US.

When I type the stream, cd ~/wfpiconsole in a terminal Window, it now shows ~/wfpiconsole $

Sorry for the confusion; it’s been that kind of day (Pop-Pop daycare, and now homeschool teacher to a 5 year old).

Cheers

1 Like

More apologies; here’s the contents of the directory:
pi@raspberrypi:~ $ cd ~/wfpiconsole
pi@raspberrypi:~/wfpiconsole $
pi@raspberrypi:~/wfpiconsole $
pi@raspberrypi:~/wfpiconsole $ ls -l
total 180
drwxr-xr-x 2 pi pi 4096 Mar 31 20:57 background
drwxr-xr-x 2 pi pi 4096 Mar 31 20:57 buttons
-rw-r–r-- 1 pi pi 0 Apr 3 15:04 errorLog
drwxr-xr-x 2 pi pi 4096 Mar 31 20:57 fonts
drwxr-xr-x 14 pi pi 4096 Mar 31 20:57 icons
drwxr-xr-x 4 pi pi 4096 Mar 31 20:57 lib
-rw-r–r-- 1 pi pi 35147 Mar 31 20:57 LICENSE
-rw-r–r-- 1 pi pi 41050 Mar 31 20:57 main.py
-rw-r–r-- 1 pi pi 8176 Mar 31 20:57 README.md
-rw-r–r-- 1 pi pi 1152 Apr 3 15:37 wfpiconsole.ini
-rw-r–r-- 1 pi pi 26352 Mar 31 20:57 wfpiconsole.kv
-rw-r–r-- 1 pi pi 1152 Mar 31 20:57 wfpiconsole.service
-rwxr-xr-x 1 pi pi 34516 Mar 31 20:57 wfpiconsole.sh
pi@raspberrypi:~/wfpiconsole $

Incidentally, I upgraded a display (Rasp 3) in my kitchen, and it doesn’t show Indoor temp either. The ini file in that ones pre-V3

Cheers

Here’s the directory above wfpiconsole:

pi@raspberrypi:~/wfpiconsole $ cd …
pi@raspberrypi:~ $ ls -l
total 44
drwxr-xr-x 2 pi pi 4096 Feb 13 16:31 Desktop
drwxr-xr-x 2 pi pi 4096 Feb 13 16:32 Documents
drwxr-xr-x 2 pi pi 4096 Feb 13 16:32 Downloads
-rw-r–r-- 1 pi pi 215 Apr 3 15:38 errorLog
drwxr-xr-x 2 pi pi 4096 Feb 13 16:03 MagPi
drwxr-xr-x 2 pi pi 4096 Feb 13 16:32 Music
drwxr-xr-x 2 pi pi 4096 Feb 13 16:32 Pictures
drwxr-xr-x 2 pi pi 4096 Feb 13 16:32 Public
drwxr-xr-x 2 pi pi 4096 Feb 13 16:32 Templates
drwxr-xr-x 2 pi pi 4096 Feb 13 16:32 Videos
drwxr-x— 7 pi pi 4096 Apr 3 15:06 wfpiconsole
pi@raspberrypi:~ $

Apologies for the mismash.

Cheers

No need to be - things like this happen frequently with copy-pasting. There is something definitely weird going on here. Perhaps the best bet is to go for a reinstall. First make a copy of your API keys from your wfpiconsole.ini file, and then delete the existing wfpiconsole folder with:

rm -rf ~/wfpiconsole

The use the install command to get set back up again:

curl -sSL https://peted-davis.github.io/wfpiconsole | bash

It will skip a lot of steps, but most importantly it will setup the directory structure again and hopefully that will fix things.

As for the indoor temperature, do you mean that you have an ID for an indoor AIR module in your .ini file, but then nothing shows up on the screen? Do you mind sharing you station ID, and I can have a look into this.

Yes, it’s in the ini file now, but I swear it wasn’t earlier. Here’s mwhat is in there now:
[Keys]
GeoNames = mododah
MetOffice =
DarkSky = d5e4e5daf48a58597b5f340ff61c7704
CheckWX = 6334a37f376353e5845a85f75e
WeatherFlow = 146e4f2c-adec-4244-b711-1aeca8f46a48
[Station]
StationID = 15101
TempestID =
SkyID = 54523
OutAirID = 53290
InAirID = 55347
TempestHeight =
“wfpiconsole.ini” 72 lines, 898964 characters

Additionally, my keyboard layout was changed back to UK! I may or may not be going looney!

So, I ran the rm -rf ~/wfpiconsole from the pi@raspberrypi:~ $ prompt, and got the following:

pi@raspberrypi:~ $ rm -rf ~/wfpiconsole
rm: cannot remove ‘/home/pi/wfpiconsole/lib/pycache/init.cpython-37.pyc’: Permission denied
rm: cannot remove ‘/home/pi/wfpiconsole/lib/pycache/configCreate.cpython-37.pyc’: Permission denied
pi@raspberrypi:~ $

Ideas?

Ok try sudo rm -rf ~/wfpiconsole. Hopefully that’ll clear out the difficult files

Thanks. With the “sudo”, I could remove the directory.

I did a reinstall from Github link you sent, and it re-installed. Upon start up, it prompted for my specifics, and I entered same. But, the console still does not show Indoor temps.

I verified the entries in the ini file, and took the display down to cold steel and restarted - no joy…

Assuming your station ID is definitely 15101, I just had a quick look at you station meta-data (https://swd.weatherflow.com/swd/rest/stations/15101?api_key=20c70eae-e62f-4d3b-b3a4-8586e90f3ac8) and it looks like the ID of your Indoor AIR is 58697 rather than 55347 as in the snippet of the .ini file you sent me above. I have tested your station now on my console and with the Indoor AIR set to 58697 everything seems to be working. Does this solve it for you?

EDIT: It looks like you may have recently deleted the data on the indoor AIR, or it is brand new. If it is the former, when you delete the data it generates a new ID number

Ah Ha moment! Yes, I deleted the data on the indoor AIR because it was showing lightning data, and it was the only way I could clear it after disabling detection.

Changed the ID in the .ini file, and it display the indoor temps.

I’ve still yet to confirm the Station ID #, because I can’t seem to find it in the Smart app, nor browser. But, I’ll update my records to reflect 58697.

Thank you so much for your expertise and patience.

Just found the ID… Thank you very much.

Cheers

Glad you’re up and running now. Hopefully you won’t have any issues with the next update either :smiley:

1 Like

I have upgraded to the newest version with no problems with the upgrade. But now I notice that it will only run for awhile and it stops updating. The clock and sunrise/sunset is updating so it isn’t locked up, just not fetching data. Station ID 3129.

Ok I’ll have a look into this. Are any errors showing on the terminal?

Is there a way to bring the terminal to the front to view?