Closed iPeel closed 1 year ago
Thanks for a really useful API, however I see there's no ability to control the charger. Maybe this could be added permanently?
I'm no good at Git but have in the meantime added the following cases to easee-rest-client.js to support this, which are working for me now:
case "stop_charging": node.doAuthRestCall("/chargers/" + node.charger + "/commands/stop_charging", "post"); break; case "start_charging": node.doAuthRestCall("/chargers/" + node.charger + "/commands/start_charging", "post"); break; case "pause_charging": node.doAuthRestCall("/chargers/" + node.charger + "/commands/pause_charging", "post"); break; case "resume_charging": node.doAuthRestCall("/chargers/" + node.charger + "/commands/resume_charging", "post"); break;
Thanks,
Neil.
Thanks for a really useful API, however I see there's no ability to control the charger. Maybe this could be added permanently?
I'm no good at Git but have in the meantime added the following cases to easee-rest-client.js to support this, which are working for me now:
Thanks,
Neil.