Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion go-eCharger API v1 EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ For all parameters that can be set, the format is for the command:

| Method | Payload |
| ------ | ------------------------------------------------------------------ |
| SET | [param]=[value]<br>Example: amp=16<br>Example: wss=my home network |
| GET | [param]=[value]<br>Example: amp=16<br>Example: wss=my home network |

### Path

Expand All @@ -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```
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look like valid query string. Is the second (non URL encoded) = correct?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're probably right. I was using Postman to test out the request and that worked just fine so I'd assume that some encoding is happening in the background, or then this just works for some reason.


# 4. Return Values:

### Local WiFi / Hotspot
Expand Down