Replies: 2 comments
-
This looks like the openweather.json file isn't being updated. In the overlay editor config there is a setting that determines how long the data in the file is valid for So after 10 minutes of the file hasn't been updated the data will be invalidated and not displayed, this is designed to prevent old data being displayed on overlays. There is another log file that may help track this down. Have a look in /var/log/allskyperiodic.log (with the debug level set to 4) and see if there are any errors related to the OW module Alex |
Beta Was this translation helpful? Give feedback.
-
I had no errors in the allskyperiodic log either. I've now removed the variables in the variable manager in the overlay editor and added them one by one again saving every step, and now it's working 😌 Remco |
Beta Was this translation helpful? Give feedback.
-
I've a question about the open weather map module. In the first place a had the problem that the openweather.json file wasn't created. After I created this file manual and set the right permission to this file the file was updated by the module with the current weather information. After I did this I also saw the variables in the variable manager. I now would like to display the weather data on the overlay, but the data won't display.
On the all variables screen I see the variables with the current value. I've added these to the Allsky variables, and I'm able to add them to the overlay screen. The value's are also visible when I toggle the display sample data in the overlay editor, but on the real image the data isn't displayed.
When I set the debug level to 4, and took a look in the allsky.log (I found this in another discussion) I see the following messages:
2024-11-04T16:28:51.689569+01:00 allsky allsky[514590]: WARNING: data field OWTEMP expired. File time 04.11.24 13:37:34, now 04.11.24 16:28:51. Expiry 240 Seconds. Age 10277 Seconds
2024-11-04T16:28:51.689659+01:00 allsky allsky[514590]: INFO: Adding text field Outside temperature: ${OWTEMP} failed no variable data available took 0.000641 seconds. Elapsed time 0.2123 seconds.
2024-11-04T16:28:51.689749+01:00 allsky allsky[514590]: WARNING: data field OWHUMIDITY expired. File time 04.11.24 13:37:34, now 04.11.24 16:28:51. Expiry 240 Seconds. Age 10277 Seconds
2024-11-04T16:28:51.689847+01:00 allsky allsky[514590]: INFO: Adding text field TEST: ${OWHUMIDITY} failed no variable data available took 0.000354 seconds. Elapsed time 0.212664 seconds.
In the /home/pi/allsky/tmp/extra/ folder the file openweather.json has the current time/date.
What could cause the warnings in the allsky log about the data fields that are expired. I think when I can fix this that the data will be displayed on the overlay.
Beta Was this translation helpful? Give feedback.
All reactions