dalehumby / powermeter

ESP8266 + MicroPython project to record household power usage
MIT License
2 stars 0 forks source link

Error / improvement in config_example.json #1

Closed Zodiac-69 closed 3 years ago

Zodiac-69 commented 3 years ago

mqtt": { "server": "10.0.0.10", "username": null, "password": null } Should be:

mqtt": { "server": "10.0.0.10", "username": "your-username", "password": "you-password" }

Might be obvious to some, newby like me it was not.

dalehumby commented 3 years ago

Hi @Zodiac-69 Thanks for the input, yes that wasn't very well explained, sorry about that.

I have added comments to config_example.json which should clarify for the next person.

I've also used the opportunity to add some images and a link to my DevFest video in which I go through MicroPython basics.

If you are on the home automation journey a possibly easier-to-maintain setup would be to use ESPHome, see the cookbook for Non-Invasive Power Meter

I'm going to mark this as closed, but if you need any other clarification please let me know.