WeatherFlow PiConsole - Archive

Something has really gone wrong here. Can you try rebooting the entire Pi and see whether that fixes the display for a start?

I chose to edit the wfpiconsole.ini file with the correctly ā€œmatchedā€ information. . .EVERYthing now works just fine. . .and I’m back in business! Thanks Peter for your diligent work for the ā€œWeatherFlow PiConsole.ā€

1 Like

I did some hard power cycles that had no affect but a proper shutdown has worked. Now I’m back at the original issue. I’m not sure how the screen issue originated but it was after the screen went to sleep. I’ll leave it running again and see what happens.
Jim

Great! Good to hear you’re back up and running.

@eric, I’m pretty sure you had the same error as well based on the error log you messaged me. It’ll probably continue to crop up as well as more people update and find that their Station names in the PiConsole no longer match. I’ll add a fix for future versions that automatically updates the station name.

2 Likes

Great! Glad the screen is back as that was weird. I’m still at a loss as to why you are seeing the other issue while no one else is. Can you send the contents of your wfpiconsole.ini file to me in a PM so I can test your setup?

Hmmm. Upgrade didn’t go well. Running on a Pi4B. Had to use sudo for both the update as well as the autostart command. rerunning without threw a permission error for both.

wfpiconsole comes up, but no station data is populated, just the forecast panel. Selecting Menu/Station does show the correct station details and the wfpiuconsole.ini file has the key. Wasn’t asked to recreate the file.

Thought it might be related to the space in the middle of the station name, but editing the .ini file to add double quotes didn’t help. In fact, it caused the pressing menu reset problem mentioned upthread.

This isn’t right, and is probably the root cause of the problem. Can you share the error that you see when you run without sudo? The install file should handle sudo correctly whenever it is required without having to run the whole command as sudo

pi@weatherflowpi:~/wfpiconsole $ wfpiconsole autostart-enable
-bash /usr/local/bin/wfpiconsole: Permission denied

Try running

sudo chown pi:pi /usr/local/bin/wfpiconsole

And then try the update command again

Thanks for sending the .ini file. Unfortunately it works perfectly for me, so I really am at a loss as to what is happening. I am wondering if something has got a bit messed up during the install. I think the best bet is to start from scratch again. First uninstall the main GUI Python package

python3 -m pip uninstall kivy and answer y at the prompt

Then delete the PiConsole directory

rm -rf ~/wfpiconsole keeping a backup of your wfpiconsole.ini file.

Then reinstall the console

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

If this doesn’t work, let me know. I didn’t test on a Pi4 with the 7 inch screen as that requires me to dismantle my own PiConsole which is still running on a Pi3.

It’s late here, so I won’t be back around until tomorrow!

I Really Like Everything about this updated firmware v22.3.1 ! It’s like being a kid again. . .having a new toy! I especially like how the Sager Forecast will automatically update. I have mine set up for every 3 hours. . .to track important changes.

Peter. . .I think I can speak in behalf of all of us on this WeatherFlow PiConcole topic who have WF PiConsoles. . .that we are grateful to you and your efforts to create such a wonderful / useful tool. Thank You Very Much.

1 Like

Thank you, Peter. No rush. That did indeed allow me to run autostart without sudo. Unfortunately, I’m still not seeing any station data. I’ll keep poking around and see what I can find.

And all is well. I recursively chowned the ~/wfpiconsole directory, then reran the installer without elevated privileges. Autostart works fine and all the station data is being displayed.

Thanks again!

1 Like

A big thank you @peter , really appreciate it.

1 Like

Hi @peter, thanks for the new update. No real issues with the update, but during the process I noticed the following warnings:

  [āœ“] Updating Python package manager
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
  [āœ“] Updating Python module cython

From what I’ve been able to tell, this is harmless and is probably the results of the version of SecretStorage installed on my pi (2.3.1), as I believe it’s been fixed in a newer version.

This isn’t actually an issue with wfpiconsole, but I figured I’d mention this in case someone else is searching for the error here.

Is there any way to stop it mention the new update everyday? i have the 4.0.2 ant it works great and i’m afraid to update and maybe run to new problems.
Thanks!!

Add this future to a next update won’t be a solution LOL (just kidding)

There is, but you will have to edit the code directly. You need to open main.py and comment out line 304 (i.e. add a # at the beginning of the line). Line 304 should look like this:

Clock.schedule_once(partial(system.checkVersion,self.Version,self.config,updateNotif))

I will add something to the next release that suppresses this notification. I completely understand not wanting to run into new problems, but I think if you give it a couple of weeks for the latest update to bed in and for bugs to found and fixed, you should be pretty safe updating.

Yep, I see the same thing on my PiConsole and I think it is harmless. I might cause issues one day, but we’ll cross that bridge when we get to it!

Great, glad you are up and running. It sounds like you had some permission issues along the way and the wfpiconsole directory was owned by the wrong user (maybe root?).

Thanks for the kind words @storm_tracker! It’s great to hear that people enjoy using it so much :smiley:

1 Like

Hi @peter , I am getting the same issue @jzsjr is getting.

Regards
Paul

That’s annoying! Can you post the error log that is printed to the terminal when the console crashes?

EDIT: can you also let me know what hardware you are using and what version of Raspberry Pi OS? You can see the OS version by running this command in the terminal: lsb_release -a

Hi Peter , i try to update and receive this error : (however my internet connection is up and running, double checked with various pings)

pi@weatherraspi:~/wfpiconsole $ wfpiconsole update

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

==============================
Updating WeatherFlow PiConsole

[āœ—] Checking for updated packages
Error: Unable to update local package cache. Please check your internet connection

Get:1 Index of /debian buster InRelease [32.6 kB]
Get:2 Index of /raspbian buster InRelease [15.0 kB]
Reading package lists…
E: Repository ā€˜ā€™ changed its ā€˜Suite’ value from ā€˜stable’ to ā€˜oldstable’
E: Repository ā€˜ā€™ changed its ā€˜Suite’ value from ā€˜testing’ to ā€˜oldstable’

thanks
Gerold