demandshaper icon indicating copy to clipboard operation
demandshaper copied to clipboard

EmonCMS error

Open gr0mit1 opened this issue 6 years ago • 4 comments

Error when loading demandshaper web page: Screenshot 2019-11-05 at 17 47 38

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

gr0mit1 avatar Nov 05 '19 17:11 gr0mit1

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.

jpalo avatar Jan 04 '20 17:01 jpalo

I'm also getting this error each time demand shaper is opened, it doens't seem to effect functionality:

Screenshot 2020-02-25 at 00 15 30

glynhudson avatar Feb 25 '20 00:02 glynhudson

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..

TrystanLea avatar Oct 25 '20 17:10 TrystanLea

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?

jpalo avatar Oct 25 '20 17:10 jpalo