Hi,

Trying to do the following and looking for best suggestion to accomplish 
the goal.

Trying to get a JSON file with the loop data written to the webroot every 2 
seconds
Need to include sensors that have no data. Values could be zero, null or 
some other flag.
Preferably configurable to the sensor that I want, but could be the full 
loop.
Data without any formatiing.

The purpose of this is to feed data to a home automation system. Since the 
automation system is expecting data for a certain sensor, if the battery 
dies in that sensor, and it doesn't show up at all, it causes problems. I 
have back up sensors and can do logic to switch to a backup one, but the 
system has issues if the key is entirely missing. I've previously used a 
modified version of the CRT extension to make an XML file and have also set 
up an MQTT broker, but all have the same issue that if the sensor dies the 
key for that sensor just disappears from the output rather than being null 
or empty.

Setup Mac Catalina
Weewx 4.2
weewx-MQTT extension
Weewx-loopData extension
weewx-JSON extension

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1c8c2705-eb05-4b45-8ea6-38be7a5e0027n%40googlegroups.com.

Reply via email to