This sounds interesting; I don't know much about MQTT.
So is the code you wrote executing on the Huzzah? Can you put it up on github?
Is the OpenEVSE firmware still stock (unmodified)? This matters to me because I may need to use the Wattzilla UL-listed version and it has fixed code.
Greg, this will be very helpful for getting information from OpenEVSE to a number of services. Thank you for doing it.
What will be the best way to get the code?
You can down load the code modules here: gregmansfield.com/EVSE_MQTT
Thank you, Greg
Unfortunately I'm getting "File not found" error when I click on the links.
Thank you, It's all there now:)
@greg is the link dead again?
It looks like you are intending to share this code freely as "open source". Can you confirm this, and maybe add a copyright/license note into the source?
I would say your main choice is between a "forever open" license like the GPL which OpenEVSE uses (https://github.com/lincomatic/open_evse/blob/stable/COPYING ) vs a simpler "do whatever you want" license like MIT license (https://opensource.org/licenses/MIT)
Appreciate your sharing,
Just wanted to thank Greg for his work on the MQTT OpenEVSE client. I've been using it for a couple of months on a Sonoff switch (it has a 240V AC power supply onboard, not using the relay part), mosquitto and Node-RED on RPi sending the data to io.adafruit.com and OpenHAB. So far it has been working flawlessly.
And also thank you Chris and team for OpenEVSE.
Hi Greg many thanks for this code, as Daniel i run it on a Sonoff TH.
Do you have any plans to support getting RASPI commands over mqtt and send them to the openEVSE? That would be really cool and allow many options like adjusting charge current to energy comming from the solar roof.
MQTT support is now built into OpenEVSE Wifi gateway (ESP8266): https://github.com/OpenEVSE/ESP8266_WiFi_v2.x
I've coded an MQTT client for my OpenEVSE 50A Deluxe kit for the Huzzah ESP8266 WiFi Module.
If anyone is interested, please contact me.
1 person has this question