Add PZEM004T/PZEMAC/PZEMDC Support (#587)

* Add PZEM004T Support

* Don't flush as much

* Update pzem004t.cpp

* Add generalized modbus

* Add PZEMAC

* Add PZEMDC

* Fix file modes

* Lint

* Fix

* Fix

* Add check_uart_settings
This commit is contained in:
Otto Winter
2019-10-20 19:24:20 +02:00
committed by GitHub
parent f1e00f8c8e
commit e077ad56bd
26 changed files with 738 additions and 7 deletions
+1
View File
@@ -36,6 +36,7 @@ void Tuya::dump_config() {
else
ESP_LOGCONFIG(TAG, " Datapoint %d: unknown", info.id);
}
this->check_uart_settings(9600);
}
bool Tuya::validate_message_() {