I’m using Rasberry Pi 4B running 64 but Raspberry Pi OS. In order for me to participate in Boinc with Rosetta@Home I need to use the 64 bit version of the client (they don’t offer tasks for 32 but version).
So my Weather Console is quite overpowered and under utilized. So changing the OS to the 64 but version got stuck not being able to use PiConsole anymore.
@patrick.mussner - this isn’t necessarily a bug. It’s the expected behaviour if there is an error calculating the average value. Once the value is -, the console will attempt to use data from the API until a normal value is returned. Of course restarting the console will do the same thing.
@richard.d.sun, thanks for the info. I have a spare Pi4, so I’ll load up the 64 bit version of Pi OS and see how I get on. Do you have a link to where you downloaded the OS? It’ll be good to make sure we are using the same version
@richard.d.sun, thanks for the link. I tested the PiConsole this morning on the 64 bit Pi OS and everything seemed to run smoothly. I have updated the installer to now allow installations on this operating system. Just a word of warning, the install can be quite slow as a lot of the Python packages required by the PiConsole have to be built on the Pi to match the 64 bit OS. If it looks like the installer is hanging, just be patient and it should complete!
@peter, thanks for the wonderful news this morning. I’ll redo my PiConsole “tonight”, got errands to run and also make sure my 9 year old is occupied during the day :-). I’ll let you know once I have it completed.
Hey @peter, found another bug. This time in the Lightning counter. Had 1 lightning strike 2 days ago, however the Month count shows 0. Thought I woudl let you know.
When I update my PiConsole, I get a warning that Python 3.5 is deprecated.
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
I’m not too familiar with Linux command line stuff (I can copy and paste to update my console but that’s about it). Is there a recipe I can copy and paste to update Python?
Hi @vinceskahan, I googled and found all sorts of hacks and tips for different Pi OS’. I set up the Pi console following Peter’s instructions so I was hoping someone knew how to do the update with this particular setup.
Learning Linux beyond a few basic commands isn’t on my radar.
freeze your system where it is and take the stability/security risks that come with doing that. Treat it like an appliance. Run what you have installed forever with no changes or upgrades.
or…
invest a ‘little’ time in learning how to be able to maintain your system to a minimal level. That takes some effort, but it is non-zero.
Sounds like you want to be in the first category. Just ignore the warning if you don’t want to invest any of your time in working making it go away. It’s just a warning. As long as the app works, it works.
@kfite13, thanks for the heads up. I will investigate and see what is going on. I’ll get these counts right eventually!
@richard.d.sun, glad to see you’re up and running. Unfortunately the only indoor sensor that works out of the box is the old WF Air module. Unfortunately these are no longer available. I’m working on some additional display fields for those users who don’t have an indoor display. Of course, if you’re comfortable coding in Python there are tips higher up in this thread for adding your own sensors.
@Ken, the most likely problem here is that you are still running the “stretch” version of Raspberry Pi OS. This has been superseded by the “buster” version, which has an up-to-date Python version. The simplest solution to avoid ongoing compatibility problems is to flash a new SD card with the latest version of Raspberry Pi OS. Sorry!
If anyone has a console that needs to upgrade from Stretch to Buster, here’s a step-by-step guide:
The process didn’t mess up any PiConsole settings. After the upgrade, I updated PiConsole and was back in business. Very easy.
In theory, you should make a backup of your card or start with a fresh card. I threw caution into the wind and updated on my live card (worst-case, I would have to reinstall the PiConsole). Worked great.
Just doing a required system rebuild on one of my PCs. Installed Windows 10 Pro - from scratch … I put that off as much as possible, as many would appreciate. The problem I ran into is restoring the Miniconda and getting all the other dependencies installed for python & kivy. I couldn’t find a Miniconda 3.7 - All that was obviously available was 3.8. Kept getting a bunch of errors during your walk-thru instructions. Also The “Installing the kivy stable release” - is no longer specified on the page - link that was provided.
I uninstalled the 3.8 - and found an earlier version in my downloads folder - I installed that - things got a bit further. However; as soon as I tried to install kivy - I ran into trouble. I’m wondering if you could take a look - and perhaps update your instructions for the Windows 10 - installation instructions? Perhaps it will still be possible to get wfpiconsole working on Windows 10.
I have looked into this, and I think the easiest solution for now is to install Kivy into a Conda virtual environment running Python 3.7. At some point I need to update the console to Kivy Version 2 (it is currently running Version 1.11.1), which will make it compatible with Python 3.8. You should be able to follow these instructions to get up and running:
Open Miniconda and create a new virtual environment running Python 3.7: conda create -n kivy_venv python=3.7
(enter y when prompted to continue)
Activate that environment: conda activate kivy_venv
(you will need to do this every time you open Miniconda)
cd && mkdir wfpiconsole && cd wfpiconsole
curl -sL https://api.github.com/repos/peted-davis/WeatherFlow_PiConsole/tarball -o PiConsole.tar.gz
tar -xvf PiConsole.tar.gz --strip 1
del /f PiConsole.tar.gz
Let me know if this gets you up and running again!