bphermansson / EspSparsnasGateway

Reads data from Ikea Sparsnäs energy meter and publish via Mqtt.
MIT License
39 stars 27 forks source link

Dual transmitter #52

Closed Sperra closed 4 years ago

Sperra commented 4 years ago

I hope i got it right this time.

fredrike commented 4 years ago

I don't think it should have been merged.

The code was messy before but it is just crazy redundant now.

SENSORS should be an array that could be iterated trough (what if I have three sensors..).

@bphermansson please revert this PR. And let @Sperra rewrite it to be dynamic..

dogmatic69 commented 4 years ago

I agree, it's really bad now. Not even sure if there is real value in having two readings in one?