Read "SOME" data from external file #2023
Replies: 1 comment 1 reply
-
@BobW55 Just so I understand, you have some data in a file on the Allsky Website and want some of that data added to the images created on the Pi? You could also use You can do a Since the input file is a JSON file, you can use the
will get the "temp" value and strip the double quotes. You could then add to the "extra text" file:
|
Beta Was this translation helpful? Give feedback.
-
Like many others, I run a full weather station that generates a text file with all the current data. It woulld be nice to be able to read this file from my web server, use some of the data and place it on the current Allsky image. I see some are doing it from sensors added to the RPi, Id like to use my stations data.
How much extra programming would I need to learn?
This is the actual text file. Bold sections Id like to use.
"temp":"33.2",
"dew":"28.9",
"wspeed":"7",
"press":"30.366",
"rfall":"0.00",
"hum":"84",
Beta Was this translation helpful? Give feedback.
All reactions