-
Notifications
You must be signed in to change notification settings - Fork 16
Description
The following MQTT /set commands are documented in the EcoFlow developer documentation for controlling the following SHP2 switches via the Ecoflow North America cloud (api-a): AC1, EPS Mode, Storm Mode, and Charge Now. The topic is: /open/${certificateAccount}/${sn}/set. Payloads are: (1) For AC1 - { "id": 123456789, "version": "1.0", "cmdCode": "PD303_APP_SET", "params": { "ch1EnableSet": 0 }} [note - use ch2 or ch3 for AC2 or AC3]; (2) Storm Guard - { "id": 123456789, "version": "1.0", "cmdCode": "PD303_APP_SET", "params": { "stormIsEnable": true }} [note - or :false]; (3) EPS switch - { "id": 123456789, "version": "1.0", "cmdCode": "PD303_APP_SET", "params": { "epsModeInfo": true }} [note - or false]; and (4) Charge Now - { "id": 123456789, "version": "1.0", "cmdCode": "PD303_APP_SET", "params": { "ch1ForceCharge": "FORCE_CHARGE_ON" }} [note - or FORCE_CHARGE_OFF; for ch2 & ch3, change ch1ForceCharge accordingly].