I'd love to see the applescript you wrote. What status information does it collect for you?
nowait
I am not deep into apple script programming (this is my first one) and there will definitely be things to improve. I try to attach the script. It uses 3 general functions to get the desired output to disk:
1. a write-file-to-disk function
2. a quick number rounding function (used for the station quality percentage)
3. a number-to-string function to get away from any float numbers and have ability to format easier using strings
The current data I retrieve with the script are
1. Station Errors (combined ErrorsTO and ErrorsVA)
2. Sensor Errors
3. Valid Data
4. Station Quality in %
Below is the file output which I named station_data.json:
[
{"name":"Station Errors","value":"36"},
{"name":"Sensor Errors","value":"56"},
{"name":"Valid Data","value":"137375"},
{"name":"Station Quality","value":"99.93%"}
]
Always being used with property-name and property-value pairs. Using the .json file, well, my son is great in website programming and he did it for me :-) I can have a look though if needed.
Screenshot of my final website output as attached.
Let me know if something's not clear.