Please bear with me. I really want it to work. Now it is about ssl:
No worries - we are getting there slowly. You need to run
python3.7 -m pip install pyOpenSSL
Usually a lot of these modules would be installed automatically, but because of having to change the Python version we are having to sweep up all the missing ones.
Great! Glad to see it up and running. Sorry it took so many steps.
As you can see the console is currently limited to running in a small window, but I am actively working on allowing the console to display on any arbitrary screen size (assuming the landscape aspect ratio is maintained). I donāt have an eta yet, but keep an eye out here and I will make an announcement when it is ready to go!
That would be great. Thank you again.
Hi Peter ā thank you for developing such a wonderful display console!
I got it to work in the US. Since I wanted it to be useful when the weather isnāt interesting, I set the clock to be much bigger so I can see it across the room while watching TV. I had to set it to left align since it was annoying to have a proportional font keep shifting the display left and right each second.
I also changed the screen saver to be āon demandā during the day and on all the time in the evening.
I have one suggestion for your README. (Maybe I missed it), but when installing, you need to ensure you are the pi user and donāt attempt to start the code unless you are on the X Screen (or VNC) as the code throws errors if trying to do this from ssh. I suspect setting the DISPLAY=:0 might have fixed it.
Thanks again!
Thanks for the kind words @andys, and glad you managed to make the adjustments you needed.
Iām with you on this, but unfortunately have never been able to come up with a good solution. Monospaced fonts just donāt look good in GUIs (in my opinion).
Thanks for the heads up re. the README. I do have a note saying that SSH will cause errors on a Pi4, but you are right that setting DISPLAY=:0 fixes. I will try and make this clearer.
Peter, first of all, thank you for all the work on this. I just got everything up and running and am very happy with the result. Instructions were perfect and got it going on my first attempt. My wife had a suggestion that I have no idea if it would be possible or not but in the Forecast window, could it display the next 3 or 4 days forecast icons? I know thereās not a lot of room there but would kinda neat to see the next couple of days forecasts (even if it was just the Sun icon, rain icon, etc).
Thanks for checking out the PiConsole, and I am glad you are enjoying it . The forecast panel is due for an upgrade, but I have been getting distracted by other bits and pieces. I will definitely bear this in mind when I get round to working on it. You are right that space is limited, but I will see what I can do!
So itās time to cry uncle. I know Iām missing something simple but it keeps telling me my station is offline, and Iām not getting any data.
Station ID:25705
Tempest ID:83244
What am I missing?
I see it just fine. The hub has been up for over two weeks. If you go to Tempest with a web browser, what do you see?
Everything looks fine to me. But nothing is being pulled in for the display. Only thing looking it over quickly is that the status for the station is showing up as offline.
I had to replace my Air module, Do I just change the Air ID in the .ini file for it to work?
yes, and reboot the service so it takes it into account.
Hi @blairnorris, sorry you are having trouble getting up and running! I have just tried your station using my test installation and everything seems to be working fine, so I donāt think there is a big bug.
When the console fails to connect are there any errors printed to the terminal screen? I am wondering whether you are having issues with the rate limit that is applied to the WeatherFlow API key. To test this, can you go to Tempest Settings and click on Create Token
. This will create a new, personalised access token that will allow the PiConsole access to your station data. This is a new approach that WF are taking with third-party applications. Once you have that key, open a terminal on your Raspberry Pi and enter the command:
nano ~/wfpiconsole/wfpiconsole.ini
This will allow you to edit you configuration file. Right at the top, replace the long WeatherFlow
alpha-numeric string in the [Keys]
section with the new token you just generated. Then save your changes by pressing ctrl-o
and then press enter
to confirm. Then exit with ctrl-x
. Try and start the console again with wfpiconsole start
and let me know how you get on.
Andā¦ That was it. Thanks for the help, and not giving me instructions is how to do it with vi :).
Haha! vi is not my favouriteā¦ Glad you managed to get up and running. Soon the console will be switching to personal access tokens completely, so thanks for some unofficial testing
Yeah, I am having the same issue now too. Started yesterday afternoon.
Iāve rebooted, confirmed the station is online but still being told itās offline by the PiConsole.
@peter - confirming as well that your fix worked. Thank you!
I went ahead and created a personal token and by the way I used vi to edit the ini file.
Since this morning the wfpiconsole does not work anymore.
I followed your advice with the personal token and now it works again!
Thank you for your very good job @peter