Tried accessing inputs on 3 different PCs a phone and an Ipad. All have the same error. With the Ipad I can suppress dialogues to gain access to inputs but it is not easy on a touch screen to carry out editing.
There must be away behind the scenes so to speak to delete devices maybe at a file level. I have SSH and WinSCP access.
I could create a fresh SD card and import data but my concern is that the duff data will just copy across.
I just confirmed clearing cache does not help, problem still there.
Clearing redis will clear the error, either from the admin page or from the command line. This isn’t entirely without risk as it may effect redis dependent feeds or processes. The best course of action is to delete all “device” prefixed redis entries. I cannot recall the command offhand now, will try and find it later if I remember.
Can you check the emoncms logs (you may need to set as debug in the settings.ini) and see what emoncms is receiving as the input.
Possible solution - I am not sure where you specify the nodeid in the OpenEVSE system, but I’d try and change it to something different (make it all lower case for instance).
The next bit comes with no warranty at all and could really muck things up - I don’t know the effect but
Thanks @ian trying to remind myself of the code internals here that are causing this. I thought we had it sorted.
If the error appears, it should mean that the device should not exist in ‘device/list.json’
There is a difference in capitalisation between the ‘OpenEVSE’ device in the device list result you posted above and the error message that may be indicating something.
There was a commit to the device module last February that was meant to fix this issue fix Device already exists error · emoncms/device@d5b0a56 · GitHub did you update via the Admin > Update UI? Could you perhaps post an update log? might be worth checking that there is nothing blocking the update on that module.
That might be worth doing, do you know which image version you are running at the moment?
I noticed that. Also note though the ‘type’ is LC.
The code is at
I get it on a numerical node sometimes! I think the inputs array does not always load correctly. Could it be down to number of inputs? If a large number, could the ajax call not complete properly?