WeatherFlow PiConsole

Open Weather has a 5 day/3 hour forecast API that is free to use.

https://openweathermap.org/api

1 Like

Did the update, Temp and wind stopped updating on restart.
Rebooted and restarted and all is good. Just an FYI.
Almost as if weatherflow wouldn’t connect.
Not seeing any problems now. :slightly_smiling_face:

Hi @peter,

I am not sure if windy.com has a suitable App to interface with your PiConsole?
https://api.windy.com/
I have found that using windy.com with the ECMWF forecast model is usually the most easy and accurate for me. I also look at the GSF model to compare the latest analysis. It is amazing how helpful windy.com is when you learn how to use it.

cheers Ian :slight_smile:

Good suggestion, but unfortunately their API is not free and their trial version will only return the weather conditions from random lat/lon positions.

@peter Have you looked at MetCheck at all? I used to use that before DarkSky and found it accurate (but DarkSky was often better for me). They have some data available for free, and some with minimal payments (less than 1p per 1000 requests):

https://www.metcheck.com/OTHER/json_data.asp

Another one might be weatherbit.io:
https://www.weatherbit.io/pricing

1 Like

A post was split to a new topic: Weatherflow PiConsole on a shared Pi (PiAware)

I’m not sure I know of any reason why not. Be aware though that a user of the PiConsole has been in touch on the Github page (https://github.com/peted-davis/WeatherFlow_PiConsole/issues/3) as they are experiencing lock-ups on the console while running frfeed (https://www.flightradar24.com/build-your-own), which looks similar to what you are proposing. I don’t know if this is the issue, and we are trying to troubleshoot, but it is probably something worth noting.

5 posts were merged into an existing topic: Weatherflow PiConsole on a shared Pi (PiAware)

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