From 5b630badd18c03dbc65a69b9114e32541679ed81 Mon Sep 17 00:00:00 2001 From: Oskari Petas Date: Sat, 13 Aug 2022 09:56:33 +0300 Subject: [PATCH] Added a clear example of the formatting Changed the method to describe the fact that the HTTP method should be GET (even though the non-standard SET seems to work as well). Also added an example clearing out how the payload should be input. Update go-eCharger API v1 EN.md --- go-eCharger API v1 EN.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/go-eCharger API v1 EN.md b/go-eCharger API v1 EN.md index 1bccb1c..fed885b 100644 --- a/go-eCharger API v1 EN.md +++ b/go-eCharger API v1 EN.md @@ -189,7 +189,7 @@ For all parameters that can be set, the format is for the command: | Method | Payload | | ------ | ------------------------------------------------------------------ | -| SET | [param]=[value]
Example: amp=16
Example: wss=my home network | +| GET | [param]=[value]
Example: amp=16
Example: wss=my home network | ### Path @@ -199,6 +199,10 @@ For all parameters that can be set, the format is for the command: | WiFi local network | http://x.x.x.x/mqtt?payload= | | Cloud: REST Api | https://api.go-e.co/api?token=TOKEN&payload=MESSAGE | +For example setting the Ampere value for the PWM signaling to the value of "8" would be a + +```GET http://192.168.4.1/mqtt?payload=amp=8``` + # 4. Return Values: ### Local WiFi / Hotspot