demandshaper icon indicating copy to clipboard operation
demandshaper copied to clipboard

MQTT setting of OpenEVSE demandshaper mode

Open dbrooke opened this issue 5 years ago • 3 comments

It would be useful to allow a home automation system to control the demandshaper operating mode for OpenEVSE to prevent a schedule affecting other operation. One example would be setting to On for pre-heating.

dbrooke avatar Feb 25 '20 11:02 dbrooke

You can control the OpenEVSE directly over MQTT, no need the demand shaper to do that as you can manually start a charge by using the API and or MQTT from the home automation, you may need to use a Node-Red script to translate and format the messages.

sijones avatar Feb 25 '20 20:02 sijones

A specific issue is that if the demand shaper is in Smart mode it may reschedule (I'm not entirely sure of all the possible triggers but, for example, I would expect this to occur after a tariff update) and this would result in the OpenEVSE being set to timed operation, thus overriding any direct control setting which might have been made.

dbrooke avatar Feb 25 '20 20:02 dbrooke

Did this functionality ever get added?

I'd also like to have a custom charge limit set via MQTT, so that for example Home Assistant can push the charge limit it reads from the Tesla API to Demand Shaper.

ETA: Have now created a pull request to add the custom charge limit.

dakaix avatar Mar 07 '21 19:03 dakaix