dgthomson / nodered-shellrecharge

A subflow for Nodered to control Shell Recharge car charging equipment.
GNU General Public License v3.0
19 stars 7 forks source link

HTTP Error [ETIMEDOUT:start] #12

Closed madradrakie closed 1 year ago

madradrakie commented 1 year ago

Hello,

Any idea what is going wrong? Most of the time when i want to start a charging session i get the following error: HTTP Error [ETIMEDOUT:start].

I hope someone can help me,

Greetings.

dgthomson commented 1 year ago

you could try this...

in the shell recharge node, click 'edit subflow template' look for a section marked 'ƒ HTTP [2023-04-23]' open the second node labelled 'Cache' click '+ add' into the boxes, enter [Set] msg.requestTimeout to the value [0-9] 10000 Done, then Deploy.

that error means that the subflow has given up waiting for shell to answer a request. this fix makes it wait longer.

madradrakie commented 1 year ago

Thanks for your replay. I only see 'ƒ HTTP [2023-04-09]'. I imported the sr-2-19.json

image

dgthomson commented 1 year ago

Sorry, I have probably changed that section without sharing it on my nodered. You can achieve the same result by putting a ‘change’ node between the first two nodes (grey right arrow and globe) containing…

[Set] msg.requestTimeout to the value [0-9] 10000

madradrakie commented 1 year ago

thanks, it is working again :-)