OK, no worries. Improving logging when using the .service file is on my list!
Hmmm - check out this nodeMCU-based variant WiFi TFT Touch LCD Weather Station with ESP8266 | MCU on Eclipse (mainly to show the nice display and case the guy built). Given lots of us are driving little displays with either UDP or MQTT data, this one seems pretty possible to adapt to the WF gear.
Just a quick update - being in a one-day Amazon Prime location I couldn’t control the Visa card of doom so I picked one of these up. Very nice display.
Only downside is I hosed something up soldering the Wemos mini to the custom circuit board so I’ll have to wait for my desoldering stuff to arrive Saturday to fix it up. Did a mess’o jumpers to a nodeMCU on a breadboard as an interim workaround to see the code running on the display and it’s very very nice looking.
Looking forward to hacking their demo code to replace OpenWeatherMap lookups with queries of my WF MQTT data for the current conditions and using the same touchscreen display to display stuff !
Thanks I am up and running now. Merry Christmas
Everything OK now. Thanks again Peter! Merry Christmas everybody.
Anyone else sagar not working? Every since the update says forecast unavailable
Thank you so much
I don’t think I was affected by the errors others were seeing so did not do an update, but about 4 or 5 days ago I restarted and now it fails to load. Appears to be kivy related. Does this have something to do with not doing the update or is my system corrupted in some other way? I have modified my version so I don’t necessarily do an update every time a new release comes out unless something is broken. Looks like it is broken! Not sure if I need a new install or just the update and thought I would ask first before trying the update.
wfpiconsole start
[INFO ] [Logger ] Record log in /home/pi/.kivy/logs/kivy_22-12-23_12.txt
[INFO ] [Kivy ] v2.0.0
[INFO ] [Kivy ] Installed at “/home/pi/.local/lib/python3.7/site-packages/kivy/init.py”
[INFO ] [Python ] v3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0]
[INFO ] [Python ] Interpreter at “/usr/bin/python3”
INFO: [/dev/matrixio_regmap] was opened
[INFO ] [Config ] Verifying station details
[INFO ] [Factory ] 186 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [Window ] Provider: egl_rpi
[INFO ] [GL ] Using the “OpenGL ES 2” graphics system
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b’OpenGL ES 2.0’>
[INFO ] [GL ] OpenGL vendor <b’Broadcom’>
[INFO ] [GL ] OpenGL renderer <b’VideoCore IV HW’>
[INFO ] [GL ] OpenGL parsed version: 2, 0
[INFO ] [GL ] Shading version <b’OpenGL ES GLSL ES 1.00’>
[INFO ] [GL ] Texture max size <2048>
[INFO ] [GL ] Texture max units <8>
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Text ] Provider: sdl2
[INFO ] [GL ] NPOT texture support is available
[INFO ] [Websocket ] 2022-12-23 22:47:33 - Opening connection
[INFO ] [Base ] Start application main loop
[INFO ] [Websocket ] 2022-12-23 22:47:34 - Connection open
[INFO ] [Base ] Leaving application in progress…
[INFO][wfmatrixlib.py] 2022-12-23 22:47:34.575229 Waiting for data to stabilize…
[INFO][wfmatrixlib.py] 2022-12-23 22:47:34.575302 pwindir= -
[INFO][wfmatrixlib.py] 2022-12-23 22:47:34.575326 ptemp= -
[INFO][wfmatrixlib.py] 2022-12-23 22:47:34.575347 puv= -
[INFO][wfmatrixlib.py] 2022-12-23 22:47:34.575368 phumid= -
[INFO][wfmatrixlib.py] 2022-12-23 22:47:34.575390 plightningcount= -
[INFO][wfmatrixlib.py] 2022-12-23 22:47:34.575410 prain= -
[INFO][wfmatrixlib.py] 2022-12-23 22:47:34.575432 ppres= -
Traceback (most recent call last):
File “kivy/properties.pyx”, line 861, in kivy.properties.ObservableDict.getattr
KeyError: ‘PanelSix’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 242, in create_handler
return eval(value, idmap), bound_list
File “/home/pi/wfpiconsole/kvlang/update.kv”, line 23, in
pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
File “kivy/properties.pyx”, line 864, in kivy.properties.ObservableDict.getattr
AttributeError: ‘super’ object has no attribute ‘getattr’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 697, in _apply_rule
rctx[‘ids’])
File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 247, in create_handler
cause=tb)
kivy.lang.builder.BuilderException: Parser: File “/home/pi/wfpiconsole/kvlang/update.kv”, line 23:
…
21::
22: size_hint: (None, 76/480)
23: pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
24: width: app.CurrentConditions.ids.PanelSix.size[0]
25: UpdateNotifBackground:
…
AttributeError: ‘super’ object has no attribute ‘getattr’
File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 242, in create_handler
return eval(value, idmap), bound_list
File “/home/pi/wfpiconsole/kvlang/update.kv”, line 23, in
pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
File “kivy/properties.pyx”, line 864, in kivy.properties.ObservableDict.getattr
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “main.py”, line 536, in
wfpiconsole().run()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/app.py”, line 950, in run
runTouchApp()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/base.py”, line 582, in runTouchApp
EventLoop.mainloop()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/base.py”, line 347, in mainloop
self.idle()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/base.py”, line 387, in idle
Clock.tick()
File “/home/pi/.local/lib/python3.7/site-packages/kivy/clock.py”, line 733, in tick
self.post_idle(ts, self.idle())
File “/home/pi/.local/lib/python3.7/site-packages/kivy/clock.py”, line 776, in post_idle
self._process_events()
File “kivy/_clock.pyx”, line 616, in kivy._clock.CyClockBase._process_events
File “kivy/_clock.pyx”, line 649, in kivy._clock.CyClockBase._process_events
File “kivy/_clock.pyx”, line 645, in kivy._clock.CyClockBase._process_events
File “kivy/_clock.pyx”, line 218, in kivy._clock.ClockEvent.tick
File “/home/pi/wfpiconsole/lib/system.py”, line 111, in check_version
updateNotification(latest_ver).open()
File “/home/pi/wfpiconsole/panels/update.py”, line 31, in init
super().init(**kwargs)
File “/home/pi/.local/lib/python3.7/site-packages/kivy/uix/modalview.py”, line 187, in init
super(ModalView, self).init(**kwargs)
File “/home/pi/.local/lib/python3.7/site-packages/kivy/uix/anchorlayout.py”, line 68, in init
super(AnchorLayout, self).init(**kwargs)
File “/home/pi/.local/lib/python3.7/site-packages/kivy/uix/layout.py”, line 76, in init
super(Layout, self).init(**kwargs)
File “/home/pi/.local/lib/python3.7/site-packages/kivy/uix/widget.py”, line 361, in init
rule_children=rule_children)
File “/home/pi/.local/lib/python3.7/site-packages/kivy/uix/widget.py”, line 465, in apply_class_lang_rules
rule_children=rule_children)
File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 543, in apply
rule_children=rule_children)
File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 712, in _apply_rule
e), cause=tb)
kivy.lang.builder.BuilderException: Parser: File “/home/pi/wfpiconsole/kvlang/update.kv”, line 23:
…
21::
22: size_hint: (None, 76/480)
23: pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
24: width: app.CurrentConditions.ids.PanelSix.size[0]
25: UpdateNotifBackground:
…
BuilderException: Parser: File “/home/pi/wfpiconsole/kvlang/update.kv”, line 23:
…
21::
22: size_hint: (None, 76/480)
23: pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
24: width: app.CurrentConditions.ids.PanelSix.size[0]
25: UpdateNotifBackground:
…
AttributeError: ‘super’ object has no attribute ‘getattr’
File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 242, in create_handler
return eval(value, idmap), bound_list
File “/home/pi/wfpiconsole/kvlang/update.kv”, line 23, in
pos_hint: {‘x’: app.CurrentConditions.ids.PanelSix.x/app.window.width, ‘y’: 2/app.window.height}
File “kivy/properties.pyx”, line 864, in kivy.properties.ObservableDict.getattr
File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 697, in _apply_rule
rctx[‘ids’])
File “/home/pi/.local/lib/python3.7/site-packages/kivy/lang/builder.py”, line 247, in create_handler
cause=tb)
I’m afraid you need the update. There is a bug in the notification that pops up to show a new version is available. The latest version fixes this bug, but also triggers the bug in earlier versions.
Thanks Peter, at least I know I don’t have a more serious issue! Happy New Year!
Dan
Hmm, the update failed. I don’t think this has anything to do with the Weatherflow Pi Console itself, but I’ve never experienced this before. Not sure if I have one or multiple problems, but a sudo apt update does not work either, which I suspect the wfpiconsole update is calling…
Hit:1 http://weewx.com/apt/python3 buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Ign:3 https://apt.matrix.one/raspbian buster InRelease
Err:4 https://apt.matrix.one/raspbian buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 35.190.26.60 443]
Get:5 http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/Debian_9.0 ./ InRelease [1,607 B]
Hit:6 http://archive.raspberrypi.org/debian buster InRelease
Err:5 http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/Debian_9.0 ./ InRelease
The following signatures were invalid: EXPKEYSIG 62EB1A0917280DDF network OBS Project <network@build.opensuse.org>
Reading package lists…
E: The repository ‘https://apt.matrix.one/raspbian buster Release’ no longer has a Release file.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/Debian_9.0 ./ InRelease: The following signatures were invalid: EXPKEYSIG 62EB1A0917280DDF network OBS Project <network@build.opensuse.org>
Try running this command before attempting the update again
sudo apt-get update --allow-releaseinfo-change
Any fix on the sager fix? it is unavailable since the update
Figured out that the servers are down for some other packages. Deleted the associated .list files and the update went through ok.
I’m afraid I am not seeing any issues my end since the update. You might want to regenerate your API key on https://www.checkwxapi.com/. I am out of town at the moment, but if it still doesn’t work I will look into it when I am back
i re generated the key that worked
@peter. . .
I have a question for you. IF I were to use a USB to HDMI adapter for a ViewSonic VA2719-2K-smhd Display. . .would I be able to see the contents of the ‘wfpiconsole’. . . on a much larger screen display? In other words. . .use a standard USB plugged into one of the ports on the ‘wfpiconsole’. . .the other end would be an HDMI “receiver” . . . so that I could plug the HDMI cable into an HDMI port on the back of the ViewSonic screen and see the same thing as displayed on the 7 inch console. . .say 10 times larger?
Is it possible to stream the PiConsole display as if it were an IP camera feed?
My PiConsole is in my living room and in my office, I have a nice security camera display that has all of my streaming cameras on a large display. I’d love to display my PiConsole as one of the “Camera” feeds.
Any ideas for this? I’m just beginning to research this, so if I find anything, I’ll post it here.
You could use VNC to display the console on another computer with video feed to your security camera display.
From “Steve Cody via The Tempest Weather Community” <notifications@sws.discoursemail.com>
To tom.hutchison@pilot-rock.net
Date 1/3/2023 9:30:21 AM
Subject [The Tempest Weather Community] [Developers/Third-Party Integrations] WeatherFlow PiConsole
Yeah, I’ve done that before. I would really love to have it take up one of the camera display spots on my camera screen, if possible.