I am able to view weather station data via my LAN using http://192.168.2.101/v1/current_conditions , which returns, eg
{"data":{"did":"001D0A712D46","ts":1612953797,"conditions":[{"lsid":352807,"data_structure_type":1,"txid":1,"temp": 32.2,"hum":83.6,"dew_point": 27.8,"wet_bulb": 30.4,"heat_index": 32.2,"wind_chill": 32.1,"thw_index": 32.1,<<<SNIP>>>
It could be due to a timing issue (ie how often the url updates and how often my Timestamp calls), but whilst I do get what I want every now and again, I also see lots of errors as well.
The "Error: socket hang up" comes from the http request
node
Whilst the "TypeError: Cannot read property 'conditions' of undefined" comes from the function
node
How can I sync the timings better? Or is there a different cause to what I have thought?
TIA