Closed zylxpl closed 10 months ago
I need responses for:
Shelly.GetConfig
Shelly.GetStatus
{ "ble": {}, "cloud": {"connected": true}, "em:0": { "id": 0, "a_current": 1.576, "a_voltage": 243.4, "a_act_power": 266.5, "a_aprt_power": 383.4, "a_pf": 0.76, "a_freq": 50.0, "b_current": 0.412, "b_voltage": 243.9, "b_act_power": 1.1, "b_aprt_power": 100.5, "b_pf": 0.50, "b_freq": 50.0, "c_current": 1.687, "c_voltage": 244.5, "c_act_power": 213.3, "c_aprt_power": 412.1, "c_pf": 0.68, "c_freq": 50.0, "n_current": null, "total_current": 3.675, "total_act_power": 480.924, "total_aprt_power": 896.039, "user_calibrated_phase": [] }, "emdata:0": { "id": 0, "a_total_act_energy": 819087.50, "a_total_act_ret_energy": 0.00, "b_total_act_energy": 90579.48, "b_total_act_ret_energy": 35.19, "c_total_act_energy": 652717.23, "c_total_act_ret_energy": 0.00, "total_act": 1562384.20, "total_act_ret": 35.19 }, "eth": {"ip": null}, "modbus": {}, "mqtt": {"connected": true}, "script:1": { "id": 1, "running": true, "mem_used": 434, "mem_peak": 6608, "mem_free": 24766 }, "switch:100": { "id": 100, "source": "user_button", "output": false, "temperature": {"tC": 33.0, "tF": 91.3} }, "sys": { "mac": "XX:XX:XX:XX:XX:XX", "restart_required": false, "time": "16:40", "unixtime": 1703173206, "uptime": 16000, "ram_size": 240996, "ram_free": 97480, "fs_size": 524288, "fs_free": 180224, "cfg_rev": 39, "kvs_rev": 0, "schedule_rev": 0, "webhook_rev": 0, "available_updates": {}, "reset_reason": 3 }, "temperature:0": { "id": 0, "tC": 49.7, "tF": 121.5 }, "wifi": { "sta_ip": "XXX.XXX.XXX.XXX", "status": "got ip", "ssid": "NETWORK_NAME", "rssi": -67 }, "ws": {"connected": false} }
{ "ble":{ "enable":false, "rpc":{ "enable":true }, "observer":{ "enable":false } }, "cloud":{ "enable":true, "server":"shelly-22-eu.shelly.cloud:6022/jrpc" }, "em:0":{ "id":0, "name":null, "blink_mode_selector":"active_energy", "phase_selector":"all", "monitor_phase_sequence":false, "reverse":{
}
}, "emdata:0":{
}, "eth":{ "enable":true, "ipv4mode":"dhcp", "ip":null, "netmask":null, "gw":null, "nameserver":null }, "modbus":{ "enable":true }, "mqtt":{ "enable":true, "server":"x.x.x.x:1883", "client_id":"shellypro3em-xxx", "user":"sleep", "ssl_ca":null, "topic_prefix":"shellypro3em-xxx", "rpc_ntf":true, "status_ntf":true, "use_client_cert":false, "enable_rpc":true, "enable_control":true }, "script:1":{ "id":1, "name":"shellies_discovery_gen2_script_20221116", "enable":true }, "switch:100":{ "id":100, "name":"Shelly EM3Pro addon", "initial_state":"off", "auto_on":false, "auto_on_delay":60.00, "auto_off":false, "auto_off_delay":60.00 }, "sys":{ "device":{ "name":null, "mac":"xxx", "fw_id":"20231219-134001/1.1.0-g34b5d4f", "discoverable":true, "eco_mode":false, "profile":"triphase", "addon_type":"prooutput" }, "location":{ "tz":"xxx", "lat":xxxx", "lon":xxxx" }, "debug":{ "level":2, "file_level":null, "mqtt":{ "enable":false }, "websocket":{ "enable":false }, "udp":{ "addr":null } }, "ui_data":{
},
"rpc_udp":{
"dst_addr":null,
"listen_port":null
},
"sntp":{
"server":"time.google.com"
},
"cfg_rev":39
}, "temperature:0":{ "id":0, "name":null, "report_thr_C":5.0, "offset_C":0.0 }, "wifi":{ "ap":{ "ssid":"ShellyPro3EM-xxx", "is_open":true, "enable":false, "range_extender":{ "enable":false } }, "sta":{ "ssid":"xxx", "is_open":false, "enable":true, "ipv4mode":"dhcp", "ip":null, "netmask":null, "gw":null, "nameserver":null }, "sta1":{ "ssid":null, "is_open":true, "enable":false, "ipv4mode":"dhcp", "ip":null, "netmask":null, "gw":null, "nameserver":null }, "roam":{ "rssi_thr":-80, "interval":60 } }, "ws":{ "enable":false, "server":null, "ssl_ca":"ca.pem" } }
Please use this script file and test the solution https://github.com/bieniu/ha-shellies-discovery-gen2/blob/04740292fc05625cba6ee3ffb0f9b3214bc666ae/python_scripts/shellies_discovery_gen2.py
Looks like everything is working.
Is your feature request related to a problem? Please describe.
No support for Shelly Pro 3EM Switch Add-On
Describe the solution you'd like
Be able to use Shelly Pro 3EM Switch Add-On.