Ds1820 HADiscovery (#621)

* DS18b20 HADiscovery
* Allow Multiple DS18b20 Sensors
* Optimize Bus Scan
* Update Docs

Co-authored-by: Jonathan Michael Wells <jonathan-wells@oist.jp>
This commit is contained in:
Jon authored and GitHub committed 2020-06-04 17:16:40 -05:00
1 parent cf425b0a34
commit 4bc8621910
4 files changed
+104 -56

No files matched your search

+5
View File
@@ -323,6 +323,11 @@ void pubMqttDiscovery()
}
#endif
#ifdef ZsensorDS1820
// Publish any DS1820 sensors found on the OneWire bus
pubOneWire_HADiscovery();
#endif
#ifdef ZactuatorONOFF
Log.trace(F("actuatorONOFFDiscovery" CR));
char *actuatorONOFF[8] = {"switch", "actuatorONOFF", "", "", "", "{\"cmd\":1}", "{\"cmd\":0}", ""};