bisand / myenergi-api

MIT License
7 stars 3 forks source link

setEddi ON or OFF #11

Open championc opened 1 year ago

championc commented 1 year ago

Is there a node to turn the Eddi ON or OFF ?

I have been using NodeRed for months to control my Eddi, but I am suddenly getting an error

RequestError: write EPROTO C0D71D74427F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:355:

I simply have a http request node to turn the Eddi ON with https://s18.myenergi.net/cgi-eddi-mode-E[myeddi]-1 or OFF with https://s18.myenergi.net/cgi-eddi-mode-E[myeddi]-0

Is there any chance of a setEddi node for NodeRed ?

bisand commented 1 year ago

From what I can see, you are probably using node-red-contrib-myenergi which seems to lack the support for setEddiMode.

A good idea is to create an issue in that repository, or even submit a pull request. Maybe @brookesdjb can assist you.

championc commented 1 year ago

Sorry, are you saying that your DOES have a SetEddi mode ?

brookesdjb commented 1 year ago

Sorry I don't have an Eddie to test with, but if someone wants to raise a pull request il happily merge it