Peter, this is my first update where I put my mods in the user folder. It worked perfectly and required no additional code modification after. This is great! In the past, my mods took a little while to reincorporate after every update and I would delay updates for days or weeks. Your new custom mods option is the best.
Ok running into trouble after updating.
I get the following on trying to start.
I even went so far as to run the installation script from scratch. Same result. I’m lost.
Not quite. If you haven’t edited anything it is every 5 minutes if the API call fails. If the API call is successful then it is the number of seconds until the top of the next hour (i.e. 3600 except when the console is first started when it will be less). If you want every 5 minutes even if the API requests is successful, replace
Yeah I had the same issue - after today’s update (22.3.2). Arrow cursor on the screen and no touch response.
I do have a mini keyboard/trackpad dongle plugged in but the device is turned off.
If I turn on the KB/TP device it works - press the Menu buttons - however ‘Touchscreen’ still non-functional.
I just noticed that even on a VNC connection I can no longer use mouse and keyboard.
I use to be able to adjust ‘Settings’ using a mouse and KB is that no longer allowed?
EDIT: I noticed if I set cursor = 1 , VNC mouse/kb does work but touch is disabled.
Hi!
So during the wfpiconsole update I get this error. I’ve spoken nicely and I have sworn at it🤪
One search suggested “pip install websocket-client “ in the terminal and that caused no errors, also didn’t fix the wfpiconsole update error.
I renamed the ini file and in recreating it, I used the info in the old ini file, as I didn’t remember where I got it from.
Lots of restarts. Always the same result.
Do you have any suggestions? I’m flying blind. Many thanx……. Jt
No, this is a mistake from me. There’s an issue on the Pi4 when touch and mouse interfere with each other that causes the console to crash, but I think I’ve been over zealous in fixing it. I’ll have another look at bring touch and mouse back.
Yes, it’s still there but it is on line 142.
Ok, this is interesting. The issue is that the console is trying to install version 10.1 of the Websockets module, but that version is not available for your hardware/software combination. The maximum available version is 9.1. What hardware/software are you using, as I’m very surprised that 10.1 is not available. Unfortunately the install script is always going to fail
I saw there was an update available this morning and I installed it on two of my consoles without errors during installation. When I press the Menu button both of the units restart WFPiConsole.
Here is the log:
pi@wfpc3:~/wfpiconsole $ tail -f wfpiconsole.log
File “kivy/properties.pyx”, line 600, in kivy.properties.Property.dispatch
File “kivy/_event.pyx”, line 1248, in kivy._event.EventObservers.dispatch
File “kivy/_event.pyx”, line 1130, in kivy._event.EventObservers._dispatch
File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 57, in custom_callback
exec(kvlang.co_value, idmap)
File “/home/pi/wfpiconsole/wfpiconsole.kv”, line 1209, in
on_text: root.get_station_devices()
File “/home/pi/wfpiconsole/panels/menu.py”, line 148, in get_station_devices
for device in self.station_details[station][‘devices’]:
KeyError: ‘devices’
What do I need to do to clear out the current installation files so that I can try a reinstall? Hoping I don’t have to wipe the card and reinstall the os
Can you help me with this Peter? I want to check every 60 secondens if there are changes in the weather forcast:
# Schedule new forecast to be downloaded in 5 minutes. Note secondsSched
# refers to number of seconds since the function was last called.
Tz = pytz.timezone(self.app.config['Station']['Timezone'])
Now = datetime.now(pytz.utc).astimezone(Tz)
sched_time = Now + timedelta(minutes=5)
secondsSched = (sched_time - Now).total_seconds()
self.app.Sched.metDownload.cancel()
self.app.Sched.metDownload = Clock.schedule_once(self.fetch_forecast, secondsSched)