mruettgers / SMLReader

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

[Feature Request] Add a blacklist for OBIS Keys #21

Closed benniju closed 3 years ago

benniju commented 3 years ago

First of all thank you very much for the Code, it works very nice!

It would however be useful if you could add a Blacklist for OBIS Keys in the Config, that will not be published to MQTT. For examlpe my Smartmeter (an EMH Gen-k) outputs a OBIS Value for the Private Key, which is in HEX format but because it is send in ASCII it wastes 143 Bytes (48 Bytes in HEX) each time the Smartmeter sends new values and this is quite unnecassary.

The OBIS Code is 129-129:199.130.5, but I think it would be better to have an option with the abilitiy to add multiple keys in the Config.

The different OBIS Codes are mentioned in the manual on the pages 14-15.

mruettgers commented 3 years ago

@benniju The successor of SMLReader will give you the possibillity to selectively enable or disable OBIS identifiers for being published via a web interface. In the meantime you can set numeric_only to true to prevent the ASCII values from being published.

benniju commented 3 years ago

Ok, thanks!

mruettgers commented 3 years ago

Closing for now. Will be implemented in the upcoming version.