goecharger / go-eCharger-API-v1

API specification for V2 go-eCharger (compatible with V3 too)
100 stars 26 forks source link

Writing MQTT value locally #35

Closed torebrigaglia closed 2 months ago

torebrigaglia commented 3 years ago

Hi Thank you for this charger, it was missing in the market. it seems i can only set values on the charger with modbus or http://x.x.x.x/mqtt?payload= i am trying to publish a value to be set using this topic: "go-eCharger/serialnumber/cmd" or "go-eCharger/serialnumber/cmd/req" publishing a json formatted message like {"amp":"10"} but it has no effect. Please advice

erikderzweite commented 3 years ago

You need to provide the command in the same format as with modbus or REST api, e.g. "amx=10"

erxbout commented 2 months ago

Exactly.. In the API V1 this is not handled by json input