mruettgers / SMLReader

ESP8266 based smart meter (SML) to MQTT gateway
GNU General Public License v3.0
289 stars 67 forks source link

Selection of transmitted topics #63

Open btmerz opened 11 months ago

btmerz commented 11 months ago

As I don't need most sended topics in my home automatisation, it would be helpful to select the sended Topics. In my example, I only need 1-0:1.8.0/255 and 1-0:16.7.0/255. Would it be possible to activate the topics in the Config.h file anyhow. This would help to reduce unnecessary traffic.

By the way, I added the lines if (scaler<0) { scaler -=3; //wandelt Werte von Wh in kWh um prec=3; }

at line 103 of MQTTPublisher.h to convert the values from Wh to kWh.

Thanks for your support and this very helpful project.

Bernd