Hi Peter … it does report 800x480 .
Lou
Hi Peter … it does report 800x480 .
Lou
Hi Lou,
I think I *might have found a workaround for you. Can you open a terminal and type sudo raspi-config
. Using the arrow keys can you navigate to Advanced Options -> GL Driver
and select Legacy
. Then select finish
and follow the prompt to reboot your Pi. Once you are up and running again, can you try starting the console without any of the modifications peter.jeffery.nz had to make? Let me know how you get on. Cheers! Peter
Hi Peter,
I gave that a try. No discernible difference.
Lou
done on my pi3 stretch : nothing special …
Perfect! That was the idea
mission accomplished then
I’m running an early pi1 and it worked fine. The latest update gives me the below error.
“981 Segmentation fault” Ideas?
Sorry - I know why it’s broken and it should be a simple fix. Can you open a terminal and run the command:
cat /proc/device-tree/model
Let me know what you see. Cheers!
Here’s what I get
Great! Should be able to get a fix for this tomorrow. Sorry I broke it!
No problem and no hurry!
Thanks
Worked perfect.
Great work!
Deleted the “Hardware = other” and it created the new key “Hardware = Pi1”
Thanks!!!
I have several platforms running wfpiconsole. Because there is no easy way to update wfpiconsole on my Windows 10 system, I update on my Rpi3/2 then just copy the entire folder(wfpiconsole) over to my PC. Up until this last version - that process worked perfectly.
The issue as you may have already guessed is related to the ‘Hardware = Pi3’ parameter. Can you tell me what that setting in the .ini file should be( for Windows 10)?
EDIT: nevermind – fixed it. “Hardware = other” , found the condition in the code… ‘main.py’
EDIT2: Well, I spoke to soon…It launches now, but the aspect ratio is wrong.
Thanks for spotting this! I haven’t had a chance to look at a fix yet, but I’ll try and find some time asap. Sorry!
No problem, i’ve gone back to the previous version so I’m back where I was…happy.
I’ve had a look into this and am struggling to reproduce the problem. If the Hardware
key is set to ‘Other’ (case sensitive - I will change this in an update), then lines 239-240 in the main.py should make sure the console has the right dimensions on Windows:
if self.config['System']['Hardware'] == 'Other':
Window.size = (800,480)
If I comment those lines out then I get exactly what you have seen: the console launches but the aspect ratio is wrong.
When you copy the code across from the Pi, can you make sure lines 235-240 have not changed and read:
if self.config['System']['Hardware'] == 'Pi4':
Window.size = (800,480)
Window.borderless = 1
Window.top = 0
if self.config['System']['Hardware'] == 'Other':
Window.size = (800,480)
Edit: Just looked at you first post. You mentioned that you set “Hardware = other” - this may be a case sensitive problem. Just make the ‘O’ upper case.
Great! Glad the solution was simple. I’ll look at making the comparison case-insensitive in the future to make sure this doesn’t happen again.
I wouldn’t think that would be needed, as your program would be creating/maintaining that parameter .It’s only the pesky ‘Human’ that would cause the problems.
Again, Thanks for your work on this project.I can’t count how many times a day both myself and my wife get the latest weather data from your wonderful screen.
Peter I just noticed a discrepancy between the weather flow app and the pi console data. Yesterday’s rain total after the recalculation the app does, does not match the pi console rain total.
Yesterday’s total was 1.72 before rain check but was then recalculated to 1.11. Pi still shows 1.72. Should the pi console be showing the total after rain check?