I'm building a new thermostat and the controller (ESP32) has wifi. I'm going to capture the data and add it to weewx. The sensor that I'm using also has RH and my Accurite 5 in 1 doesn't send the RH values out over the USB, so I'm going to grab that too.
I already have a secondary thermometer that connects to my Raspberry Pi that runs Weewx. The secondary sensor sends UDP data to a port on the Raspi. I have a service running on the Raspi to listen on that port and post the data to a text file and I've modified the Weewx Accurite driver to get the temperature from the file. When it was one piece of data, it made sense to me to just do it simply. If it's three pieces of data, I'm wondering if there's a better way or a way to extend it. My naïve thoughts are: 1) Have my new sensor connect via Wifi to the Raspi and post UDP data to a second port. Send a string with both the temp and RH, probably comma separated. 2) Modify my service to look the second port too and write it to a second file. 3) Modify the Accurite driver to read the file and use it when it does it's normal processing, adding RH and putting the new data in extraTemp2. Is there a more elegant solution? Yes, I could buy a Nest or other commercial solution, but what fun is that. I also don't want to have to rely on external internet services. Sending the data directly to some cloud service from the sensor and then having weewx pull the data from the cloud doesn't appeal to me. -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/10ddc9fc-6ab7-460b-9a40-ac83b0251733n%40googlegroups.com.