I hoping someone can offer some insight, as I’m clearly doing something wrong but can’t work out what. I’m remotely supporting an emonEVSE system and trying to enable export triggered divert, but the EVSE isn’t seeing my import/export topic.
The EVSE is connected to mosquitto on Home Assistant, shows as ‘connected’ and is happily reporting it’s values to HA. I’m publishing a Home Assistant grid power feed on mqtt under the topic emon/emonpi/power1 using this automation (checked against similar forum posts)
Thanks for rapid response Glyn !
It’s definitely connected to the same MQTT server as all values from the EVSE are coming in to HA and the EVSE responds to manual override.
In terms of base-topic you mean on the MQTT settings on the EVSE? Just double checking as I’m remote, so I’ll have to ask the user to make that change.
Thanks for that tip Brian, I have pending a transition of all our yaml files over to the ‘modern method’ and I’ll make sure this change is part of that move, the legacy formatting still works, but I understand mixing the two causes problems. Testing locally both scripts return the same result, so as you say, I don’t think it’s the issue here.
Not an EVSE User, but fundamentally, you usually use a different topic name in MQTT to send and receive data.
To provide data that the EVSE gets (a topic it subscribes to), should the sending system not publish the data on this base topic? The emon base topic is for sending data to emoncms (usually).
You cut off the top of the dialogue so don’t know what it says.
Just to feed back here that @glyn.hudson’s suggestion worked. Changing the base address on the emonEVSE interface to emon/openevse-287c resulted in the emon/emonpi/power1 feed values becoming visible on the emonevse, diversion is now working.
Thanks all for your help.