WeatherFlow PiConsole - Archive

Hi @hjalmar, thanks for sharing your details. The reason it isn’t working right now is because you are confusing you Tempest device ID with the device serial number. Your device serial number is ST-00023670, where as the device ID is 117133. If you use the device ID with the PiConsole, then everything will work as expected. I suggest you delete your existing .ini file, start the console again, enter your details using 117133 as the Tempest device ID, and then you should be up and running again

Yep, that was it! Sorry for this mistake and again thanks for the help!

No worries - I have fixed the original bug as well and will push an update out very soon

1 Like

After updating, I got:

[CRITICAL] [Window ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
sdl2 - RuntimeError: b’Could not initialize EGL’
File “/home/pi/.local/lib/python3.7/site-packages/kivy/core/init.py”, line 71, in core_select_lib
cls = cls()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/core/window/window_sdl2.py”, line 152, in init
super(WindowSDL, self).init()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/core/window/init.py”, line 981, in init
self.create_window()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/core/window/window_sdl2.py”, line 290, in create_window
self.get_gl_backend_name())
File “kivy/core/window/_window_sdl2.pyx”, line 224, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window
File “kivy/core/window/_window_sdl2.pyx”, line 74, in kivy.core.window._window_sdl2._WindowSDL2Storage.die

[INFO ] [Text ] Provider: sdl2
2020-10-20 15:22:58-0500 [-] Log opened.
[CRITICAL] [App ] Unable to get a Window, abort.

Argh! There are always problems with new updates :frowning: . What hardware are you running on? Can you delete the configuration file and try running the console again? Make sure you keep a note of your API keys so you can copy them into the new config file.

1 Like

PI4 w/ 8gb

I deleted the ini file and ran start again, got the same error…

[CRITICAL] [Window ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
sdl2 - RuntimeError: b’Could not initialize EGL’
File “/home/pi/.local/lib/python3.7/site-packages/kivy/core/init.py”, line 71, in core_select_lib
cls = cls()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/core/window/window_sdl2.py”, line 152, in init
super(WindowSDL, self).init()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/core/window/init.py”, line 981, in init
self.create_window()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/core/window/window_sdl2.py”, line 290, in create_window
self.get_gl_backend_name())
File “kivy/core/window/_window_sdl2.pyx”, line 224, in kivy.core.window._window_sdl2._WindowSDL2Storage.setup_window
File “kivy/core/window/_window_sdl2.pyx”, line 74, in kivy.core.window._window_sdl2._WindowSDL2Storage.die

[CRITICAL] [App ] Unable to get a Window, abort.

Sorry @wlwakefield, I thought I had tested enough to eliminate all these errors. Is your Pi 4 attached to an official touchscreen, or a larger monitor?

Official touchscreen…

Canakit
Raspberry Pi 4 8GB Desktop Kit with Display
SKU: PI4-8GB-DSK32W-BLK

OK, in the .ini file, what is the value of the Hardware key? Can you try rebooting your Pi and see if that helps?

Hardware = Pi4
Version = v4.0

Error remains after Rebooting…

OK, and I assume it was working perfectly before the update?

Yes sir, no issues. Love it.

OK, I think I am going to need to look into this more. Sorry! I didn’t mean to mess it up :wink: . It’s getting late here in the UK so it might take until tomorrow

No worries… thanks for all you do, great tool!

I just did the install on the same hardware and mine is working fine (just as a FYI).

1 Like

Lucky me. I’m reinstalling again…

That was going to be my next suggestion and the first step on my test platform.

When you install again you should see three lines printed to the terminal immediately after you enter the install command. They should look something like this:

  [✓] Root user check passed
  [✓] Hardware check passed (armv7l)
  [✓] OS check passed (Raspbian GNU/Linux 10 (buster))

Can you let me know if this is what you see, or if you see anything different?

I got:

pi@WeatherDisplay:~ $ curl -sSL https://peted-davis.github.io/wfpiconsole | bash

[✓] Root user check passed
[✓] Hardware check passed (armv7l)
[✓] OS check passed (Raspbian GNU/Linux 10 (buster))

Still no joy, same error…

That all looks good. So I have just installed the PiConsole onto a complete fresh SD card and run it through my 4 GB Raspberry Pi4 attached to the official touchscreen and it works perfectly… I am at a bit of a loss as to what is going on here (especially as it worked for @wx3i09).

Is there anything else running on that Pi? Would it be possible for you to start over with a new install on a fresh SD card? That might fix it up.

Nothing else on the Pi at all. I will have to do a fresh buster install another day. Bummer. Thanks!

Did you by chance also do these two steps?

  1. Un-tick "Reserve space, and not covered by maximised windows" , or
  2. Tick "Minimise panel when not in use" and set "Size when minimised" to 0 pixels.