Some Shellies after update firmware to version 1.8 send periodically shellies/<DEVICE_ID>/info
topic with payload:
{
"wifi_sta": {
"connected": true,
"ssid": "REDACTED",
"ip": "REDACTED",
"rssi": -68
},
"cloud": {
"enabled": false,
"connected": false
},
"mqtt": {
"connected": true
},
"time": "11:00",
"unixtime": 1597316400,
"serial": 6,
"has_update": false,
"mac": "REDACTED",
"cfg_changed_cnt": 3,
"actions_stats": {
"skipped": 0
},
"relays": [{
"ison": false,
"has_timer": false,
"timer_started": 0,
"timer_duration": 0,
"timer_remaining": 0,
"source": "mqtt"
}],
"meters": [{
"power": 0.00,
"is_valid": true
}],
"inputs": [{
"input": 0,
"event": "S",
"event_cnt": 2
}],
"ext_sensors": {},
"ext_temperature": {},
"ext_humidity": {},
"update": {
"status": "idle",
"has_update": false,
"new_version": "20200812-090904/v1.8.0@8acf41b0",
"old_version": "20200812-090904/v1.8.0@8acf41b0"
},
"ram_total": 51112,
"ram_free": 39516,
"fs_size": 233681,
"fs_free": 150098,
"uptime": 72863
}
I’m not sure which devices send this topic. It seams that battery powered devices don’t send it. You can check that for me.
Devices for which I have confirmation that they are sending topic info
:
- Shelly 1
- Shelly 1PM
- Shelly 2
- Shelly 2.5
- Shelly Plug S
- Shelly Dimmer 2
- Shelly RGBW2
Based on the data from this topic, I’m going to add ssid
, rssi
, uptime
sensors. What else may be useful?