Damit komme ich schon weiter.
Hier ist zu sehen, welche Komponenten angehängt sind und welche Sensoren zu welchen Komponenten gehören.
Vielen Dank! Das hilft mir schon ein ganzes Stück weiter.
Für alle die es interessiert hier die Ausgabe: (Bezogen auf das obere Bild)
root@rpisteuerung:/var/www/html # curl -s http://192.168.2.30/rpc/shelly.getComponents | jq
{
"components": [
{
"key": "ble",
"status": {},
"config": {
"enable": true,
"rpc": {
"enable": true
}
}
},
{
"key": "bthome",
"status": {},
"config": {}
},
{
"key": "bthomedevice:200",
"status": {
"id": 200,
"rssi": -91,
"battery": 100,
"packet_id": 82,
"last_updated_ts": 1749114607,
"paired": false,
"rpc": false,
"rsv": -1
},
"config": {
"id": 200,
"addr": "b0:c7:de:77:40:61",
"name": "Bewegungsmelder",
"key": null,
"meta": {
"ui": {
"view": "regular",
"icon": null
}
}
},
"attrs": {
"flags": 0,
"model_id": 5
}
},
{
"key": "bthomedevice:201",
"status": {
"id": 201,
"rssi": -39,
"battery": 100,
"packet_id": 190,
"last_updated_ts": 1749115359,
"paired": true,
"rpc": false,
"rsv": -1
},
"config": {
"id": 201,
"addr": "7c:c6:b6:80:36:ac",
"name": null,
"key": null,
"meta": {
"ui": {
"view": "regular"
}
}
},
"attrs": {
"flags": 0,
"model_id": 3
}
},
{
"key": "bthomesensor:200",
"status": {
"id": 200,
"value": 100,
"last_updated_ts": 1749114607
},
"config": {
"id": 200,
"addr": "b0:c7:de:77:40:61",
"name": null,
"obj_id": 1,
"idx": 0,
"meta": {
"ui": {
"icon": null
}
}
}
},
{
"key": "bthomesensor:201",
"status": {
"id": 201,
"value": 960,
"last_updated_ts": 1749114607
},
"config": {
"id": 201,
"addr": "b0:c7:de:77:40:61",
"name": null,
"obj_id": 5,
"idx": 0,
"meta": {
"ui": {
"icon": null
}
}
}
},
{
"key": "bthomesensor:202",
"status": {
"id": 202,
"value": false,
"last_updated_ts": 1749114607
},
"config": {
"id": 202,
"addr": "b0:c7:de:77:40:61",
"name": null,
"obj_id": 33,
"idx": 0,
"meta": {
"ui": {
"icon": null
}
}
}
},
{
"key": "bthomesensor:203",
"status": {
"id": 203,
"value": 100,
"last_updated_ts": 1749115359
},
"config": {
"id": 203,
"addr": "7c:c6:b6:80:36:ac",
"name": null,
"obj_id": 1,
"idx": 0,
"meta": null
}
},
{
"key": "bthomesensor:204",
"status": {
"id": 204,
"value": 56,
"last_updated_ts": 1749115360
},
"config": {
"id": 204,
"addr": "7c:c6:b6:80:36:ac",
"name": null,
"obj_id": 46,
"idx": 0,
"meta": null
}
},
{
"key": "bthomesensor:205",
"status": {
"id": 205,
"value": 23.5,
"last_updated_ts": 1749115360
},
"config": {
"id": 205,
"addr": "7c:c6:b6:80:36:ac",
"name": null,
"obj_id": 69,
"idx": 0,
"meta": null
}
},
{
"key": "cloud",
"status": {
"connected": false
},
"config": {
"enable": false,
"server": "iot.shelly.cloud:6012/jrpc"
}
},
{
"key": "mqtt",
"status": {
"connected": false
},
"config": {
"enable": false,
"server": null,
"client_id": "shellypmminig3-5432046a550c",
"user": null,
"ssl_ca": null,
"topic_prefix": "shellypmminig3-5432046a550c",
"rpc_ntf": true,
"status_ntf": false,
"use_client_cert": false,
"enable_rpc": true,
"enable_control": true
}
}
],
"cfg_rev": 37,
"offset": 0,
"total": 16
}
Alles anzeigen