WeatherFlow PiConsole - Archive

@peter

I’m happy to say I was able to get wfpiconsole up and working on a linux (peppermint)build I had …
image

I really wanted to get it up on my Windows 10 desktop, but struggled to get all the packages installed. I’m almost there but run into errors trying to get ephem installed without errors - keeps telling me to install Visual Studio 14.0+ which I have installed ??

image

  _import ephem._libastro as _libastro_

_ ModuleNotFoundError: No module named 'ephem.libastro’

image

Wondering if you have tried or were able to get it running on Windows?

C:\Users\tomc\wfpiconsole>python main.py
[INFO   ] [Logger      ] Record log in C:\Users\tomc\.kivy\logs\kivy_19-01-30_10.txt
[INFO   ] [Kivy        ] v1.10.1
[INFO   ] [Python      ] v3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)]
[INFO   ] [Factory     ] 194 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
[INFO   ] [Window      ] Provider: sdl2
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] GLEW initialization succeeded
[INFO   ] [GL          ] Backend used <glew>
[INFO   ] [GL          ] OpenGL version <b'4.0.0 - Build 10.18.10.4358'>
[INFO   ] [GL          ] OpenGL vendor <b'Intel'>
[INFO   ] [GL          ] OpenGL renderer <b'Intel(R) HD Graphics 2500'>
[INFO   ] [GL          ] OpenGL parsed version: 4, 0
[INFO   ] [GL          ] Shading version <b'4.00 - Build 10.18.10.4358'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
 Traceback (most recent call last):
   File "main.py", line 119, in <module>
     import ephem
   File "C:\Users\tomc\AppData\Local\Programs\Python\Python37\lib\site-packages\ephem\__init__.py", line 5, in <module>
     import ephem._libastro as _libastro
 ModuleNotFoundError: No module named 'ephem._libastro'

Yep it works fine on Windows - it is actually the environment I do all my development in. How are you running Python on Windows? Are you using Anaconda/Miniconda? I have never had a problem running it with Miniconda. Here are some instructions to try:

  1. Download and install the Python 3.7 version of Miniconda for Windows (a lightweight Python interpreter): https://conda.io/miniconda.html
  2. Once Miniconda is installed open the ‘Anaconda Prompt’ program.
  3. Go to the Github page (https://github.com/peted-davis/WeatherFlow_PiConsole ) and scroll down to the installation instructions. Follow steps 2 and 5 by copying the commands into the Anaconda Prompt. Omit the ‘sudo’ command from step 5, and change ‘python3’ to just ‘python’.
  4. Then follow these instructions to install ‘Kivy’, which drives the console: https://kivy.org/doc/stable/installation/installation-windows.html .
  5. Finally continue with the Github instructions from step 8 onwards.
1 Like

@peter

Ah…

I'm running python downloaded from 

Python Releases for Windows | Python.org

Thanks I’ll give your instructions a shot!

This probably explains it. Anaconda/Miniconda is far far better at handling Python dependencies.

update done, went easy

just that “service” doesn’t launch at reboot. Need to figure out why one of these … no errors in logs so far. No pain as I launch it manually and it runs fine. The forecast is now following the units chosen for me.

Extra feature for a future version, display in the settings or CC the version of the package, I didn’t see anywhere on screen the 2.1 mark. Might become handy for future support, a person could easily see if on latest or not.
thanks Peter

2 Likes

Got my PiConsole setup today. So far so good other then I have to cd to wfpiconsole to run main.py.

Now just have to go back through and figure out how to get the indoor temp to show

2 Likes

Hmmm that’s weird! Did you manage to get it working? Have you tried reloading the systemctl daemon?

sudo systemctl daemon-reload

Yup that was it! – un-installed the python.org package … and installed miniconda.

within a few mins I was up and running!

Thanks again Peter, I tried doing the same on my Mac but didn’t get the same results.

The only issue I ran into was when first run I got an error that a module was not found … ‘pygame’

I installed that via “python -m pip install pygame” it installed successfully.

but this is what I get when running. (without errors)
image

Thomass-Mini-3:wfpiconsole tomc$ python main.py
[INFO ] [Logger ] Record log in /Users/tomc/.kivy/logs/kivy_19-01-31_1.txt
[INFO ] [Kivy ] v1.11.0.dev0, git-90c86f8, 20190131
[INFO ] [Python ] v3.7.1 (default, Dec 14 2018, 13:28:58)
[Clang 4.0.1 (tags/RELEASE_401/final)]
[INFO ] [Factory ] 184 symbols loaded
pygame 1.9.4
Hello from the pygame community. Contribute - pygame wiki
[INFO ] [Image ] Providers: img_tex, img_imageio, img_dds, img_pygame, img_gif (img_pil, img_ffpyplayer ignored)
[INFO ] [Window ] Provider: pygame
[INFO ] [GL ] Using the “OpenGL ES 2” graphics system
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b’2.1 ATI-1.68.21’>
[INFO ] [GL ] OpenGL vendor <b’ATI Technologies Inc.‘>
[INFO ] [GL ] OpenGL renderer <b’AMD Radeon HD 6630M OpenGL Engine’>
[INFO ] [GL ] OpenGL parsed version: 2, 1
[INFO ] [GL ] Shading version <b’1.20’>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Text ] Provider: pygame
2019-01-31 08:11:08-0500 [-] Log opened.
[INFO ] [GL ] NPOT texture support is available
2019-01-31 08:11:08-0500 [-] Starting factory <main.WeatherFlowClientFactory object at 0x114c52e80>
[INFO ] [Base ] Start application main loop
[INFO ] [Support ] Starting twisted reactor
[INFO ] [Context ] Reloading graphics data…
[INFO ] [Context ] Reloading done in 0.0545s

no biggy, as I really wanted it working on my Windows 10 platform (thanks again!), I was just doing it for something to do.

Did you try following these instructions for your Mac: Installation on macOS — Kivy 2.2.1 documentation? It looks like the installation process is quite different compared to Windows or Linux.

Unfortunately I don’t have a Mac here for testing, so can’t really help all that much!

No, I didn’t thanks so much … I’ll give that a try.

The indoor temp - is a place holder for when the “Breathe” module is released. I’m kinda waiting for it too.

EDIT: noticed after my post/reply – I’m just up the road a ways … in North Port.

If you use the Raspberry Pi you can connect a DS18B20 (I think that’s the nomenclature) and get internal temperature now.

that didn’t work, tried it already but did it again

weirdest when I use

sudo systemctl start wfpiconsole.service

I start several line above as it seems an error cascades others in error. Hopefully this can help to trace down the problem

I think I have 2 version of python running also, 2.7 for weewx and 3.5 for your console, can’t believe this is a good solution but …

engine: Initializing weewx version 3.8.2
Jan 31 20:57:06 WF_console weewx[429]: engine: Using Python 2.7.13 (default, Sep 26 2018, 18:42:22) #012[GCC 6.3.0 20170516]

it comes up after about 10 seconds.
Tried to look in different logs but can’t trace a thing.
Could weewx disturb the launch of the service after a reboot???

in syslog I found some lines regarding the console going in error

Jan 31 20:57:13 WF_console systemd[655]: Started Virtual filesystem service - Media Transfer Protocol monitor.
Jan 31 20:57:14 WF_console python3[420]: [INFO   ] [Factory     ] 195 symbols loaded
Jan 31 20:57:15 WF_console python3[420]: [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [Window      ] Provider: egl_rpi
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [GL          ] Backend used <gl>
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 2.0'>
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [GL          ] OpenGL vendor <b'Broadcom'>
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [GL          ] OpenGL renderer <b'VideoCore IV HW'>
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [GL          ] OpenGL parsed version: 2, 0
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [GL          ] Shading version <b'OpenGL ES GLSL ES 1.00'>
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [GL          ] Texture max size <2048>
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [GL          ] Texture max units <8>
Jan 31 20:57:16 WF_console python3[420]: [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
Jan 31 20:57:17 WF_console python3[420]: [INFO   ] [Text        ] Provider: sdl2
Jan 31 20:57:17 WF_console python3[420]: 2019-01-31 20:57:17+0100 [-] Log opened.
Jan 31 20:57:17 WF_console python3[420]: [INFO   ] [GL          ] NPOT texture support is available
Jan 31 20:57:18 WF_console python3[420]: 2019-01-31 20:57:18+0100 [-] Starting factory <__main__.WeatherFlowClientFactory object at 0x707590f0>
Jan 31 20:57:19 WF_console python3[420]: Unable to connect to X server
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [ProbeSysfs  ] device match: /dev/input/event0
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [MTD         ] Read event from </dev/input/event0>
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [ProbeSysfs  ] device match: /dev/input/event0
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [HIDInput    ] Read event from </dev/input/event0>
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [Base        ] Start application main loop
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [MTD         ] </dev/input/event0> range position X is 0 - 800
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [Support     ] Starting twisted reactor
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [HIDMotionEvent] using <b'FT5406 memory based driver\x00                                                                                                                                                                                                                                     '>
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [MTD         ] </dev/input/event0> range position Y is 0 - 480
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [HIDMotionEvent] <b'FT5406 memory based driver\x00                                                                                                                                                                                                                                     '> range ABS X position is 0 - 800
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [MTD         ] </dev/input/event0> range touch major is 0 - 0
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [HIDMotionEvent] <b'FT5406 memory based driver\x00                                                                                                                                                                                                                                     '> range ABS Y position is 0 - 480
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [MTD         ] </dev/input/event0> range touch minor is 0 - 0
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [HIDMotionEvent] <b'FT5406 memory based driver\x00                                                                                                                                                                                                                                     '> range position X is 0 - 800
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [MTD         ] </dev/input/event0> range pressure is 0 - 255
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [MTD         ] </dev/input/event0> axes invertion: X is 0, Y is 0
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [MTD         ] </dev/input/event0> rotation set to 0
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [HIDMotionEvent] <b'FT5406 memory based driver\x00                                                                                                                                                                                                                                     '> range position Y is 0 - 480
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [Base        ] Leaving application in progress...
Jan 31 20:57:19 WF_console dhcpcd[331]: eth0: no IPv6 Routers available
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [Support     ] Stopping twisted threads
Jan 31 20:57:19 WF_console python3[420]: [INFO   ] [Support     ] Shutting down twisted reactor
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] Traceback (most recent call last):
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 417, in wrap_socket
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     cnx.do_handshake()
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1426, in do_handshake
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     self._raise_ssl_error(self._ssl, result)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1174, in _raise_ssl_error
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     _raise_current_error()
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     raise exception_type(errors)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] OpenSSL.SSL.Error: [('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')]
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] During handling of the above exception, another exception occurred:
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] Traceback (most recent call last):
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 594, in urlopen
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     chunked=chunked)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 350, in _make_request
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     self._validate_conn(conn)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 837, in _validate_conn
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     conn.connect()
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 323, in connect
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     ssl_context=context)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 324, in ssl_wrap_socket
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     return context.wrap_socket(sock, server_hostname=server_hostname)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 424, in wrap_socket
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     raise ssl.SSLError('bad handshake: %r' % e)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] ssl.SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] During handling of the above exception, another exception occurred:
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] Traceback (most recent call last):
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 423, in send
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     timeout=timeout
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 624, in urlopen
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     raise SSLError(e)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] requests.packages.urllib3.exceptions.SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] During handling of the above exception, another exception occurred:
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] Traceback (most recent call last):
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "main.py", line 2375, in <module>
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     wfpiconsole().run()
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/local/lib/python3.5/dist-packages/kivy/app.py", line 826, in run
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     runTouchApp()
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/local/lib/python3.5/dist-packages/kivy/base.py", line 502, in runTouchApp
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     EventLoop.window.mainloop()
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/local/lib/python3.5/dist-packages/kivy/core/window/window_egl_rpi.py", line 92, in mainloop
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     self._mainloop()
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/local/lib/python3.5/dist-packages/kivy/core/window/window_egl_rpi.py", line 87, in _mainloop
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     EventLoop.idle()
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/local/lib/python3.5/dist-packages/kivy/base.py", line 337, in idle
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     Clock.tick()
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/local/lib/python3.5/dist-packages/kivy/clock.py", line 581, in tick
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     self._process_events()
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "kivy/_clock.pyx", line 384, in kivy._clock.CyClockBase._process_events
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "kivy/_clock.pyx", line 414, in kivy._clock.CyClockBase._process_events
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "kivy/_clock.pyx", line 412, in kivy._clock.CyClockBase._process_events
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "kivy/_clock.pyx", line 167, in kivy._clock.ClockEvent.tick
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "main.py", line 1901, in SagerForecast
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     Data = requests.get(URL)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/requests/api.py", line 70, in get
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     return request('get', url, params=params, **kwargs)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/requests/api.py", line 56, in request
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     return session.request(method=method, url=url, **kwargs)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 488, in request
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     resp = self.send(prep, **send_kwargs)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 609, in send
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     r = adapter.send(request, **kwargs)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 497, in send
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-]     raise SSLError(e, request=request)
Jan 31 20:57:19 WF_console python3[420]: 2019-01-31 20:57:19+0100 [-] requests.exceptions.SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')],)",)
Jan 31 20:57:20 WF_console systemd[1]: wfpiconsole.service: Main process exited, code=exited, status=1/FAILURE
Jan 31 20:57:20 WF_console systemd[1]: wfpiconsole.service: Unit entered failed state.
Jan 31 20:57:20 WF_console systemd[1]: wfpiconsole.service: Failed with result 'exit-code'.
Jan 31 20:57:40 WF_console systemd[1]: Time has been changed
Jan 31 20:57:40 WF_console systemd[655]: Time has been changed
Jan 31 20:57:40 WF_console systemd-timesyncd[274]: Synchronized to time server 195.154.174.209:123 (2.debian.pool.ntp.org).
Jan 31 20:57:40 WF_console systemd[1]: apt-daily-upgrade.timer: Adding 20min 7.368714s random time.
Jan 31 20:57:40 WF_console systemd[1]: apt-daily.timer: Adding 11h 27min 33.942742s random time.
Jan 31 20:58:00 WF_console systemd[1]: Started Session c2 of user pi.

I’m using an Air for inside temp and hum. Wish there was a way to use the data from that. I seen someone used some other sensor to populate the indoor info.

Ahhh… OK yeah, perhaps peter can offer a solution?

This is weird! I’m not sure where to start! Does the console run OK if you start it manually? Is it only the autostart that is having the issue?

Looking at the error log, it seems like this might be the issue:

I’m not quite sure what this is trying to tell us though… Can you disable weewx and see if the autostart works OK then?

Hi @hankster - don’t worry this is definitely on the road map. It’s still quite a niche use case though so it isn’t the priority at the moment (sorry!). I will definitely get round to it though. I have a feeling that not everyone will use a Breathe instead of Air an indoors, so whatever I implement for indoor temperature will work with both a Breathe and an Air.

My screen is working but it appears the graphics on top half of the screen are too far down. They overlap. The resolution is set to 800x600 and it’s a 7 in hdmi screen. Is it because it is not an official pi touch screen?

Can you send a screenshot so I can see exactly what is happening? My gut instinct though is that your screen has a resolution of 800x600, but the console is specifically designed for a resolution of 800x480 to match the official raspberry pi screen.

I think I know why it’s not working. The screen I have does not support 800x480. I didn’t even think about the brand when I was buying one. I just thought it needed to be a 7 inch pi touchscreen. I ordered an official screen. I will let you know how it goes! Here’s a pic of what it looks like right now. It’s now offset laterally.