EmonCMS error
Error when loading demandshaper web page:

any ideas as to what this is caused by?
Message: TypeError: result.ctrl_mode is undefined Route: Modules/demandshaper/general.js?v=10 Line: 481 Column: 21 Cheers Tim Robinson
You will get that error if OpenEVSE is set to Disabled, e.g., using $FD RAPI command.
Added Disabled support to Demand Shaper (when using OpenEVSE), PR here.
I'm also getting this error each time demand shaper is opened, it doens't seem to effect functionality:

Do you still get this issue in the latest version @jpalo I cant seem to disable my OpenEVSE here with $FD.. not sure why, if its changing it just keeps charging..
Not getting that error anymore. $FD works fine for me (OpenEVSE V2.9.1) both when charging and when not.
However, after you've disabled it via RAPI for example, and enable smart schedule or manual timer via Demandshaper, OpenEVSE remains in Disabled state (it does correctly adjust the timer), so I guess it would never start charging. Perhaps it should always do $FE just in case before setting the timer?