Closed ingiz71 closed 3 years ago
Hi. Ja über: bshb.0.messages . Wenn du die Nachrichten meinst, die auch in der App unter Meldungen auftauchen.
Das Format ist ein JSON array. Bei mir steht aktuell bspw:
[
{
"@type":"message",
"id":"db26d203-49b0-4568-913b-7f2a82efbbc9",
"messageCode":{
"name":"MANUAL_FIRMWARE_UPDATE",
"category":"SW_UPDATE"
},
"sourceType":"DEVICE",
"sourceId":"hdm:HomeMaticIP:3014F711A0000496D858A9D6",
"timestamp":1618836681819,
"flags":[
"STICKY",
"STATUS",
"USER_ACTION_REQUIRED"
],
"arguments":{
"deviceModel":"PSM",
"firmwareUpdateState":"AwaitingActivation"
}
},
{
"@type":"message",
"id":"fc739c9b-e5d1-4a67-bf27-3cfbc5591bed",
"messageCode":{
"name":"UPDATE_SUCCESS",
"category":"SW_UPDATE"
},
"sourceType":"CONTROLLER",
"sourceId":"com/bosch/sh/controller/system/swupdate",
"timestamp":1618836558260,
"flags":[
],
"arguments":{
"version":"9.23.1937-18234-9.23.1931-17924"
}
},
{
"@type":"message",
"id":"244bcb92-94e8-481a-892c-4246c5c7ffcf",
"messageCode":{
"name":"DEVICE_UNAVAILABLE",
"category":"WARNING"
},
"sourceType":"DEVICE",
"sourceId":"roomLightControl_hz_8",
"sourceName":"RoomLightControl",
"location":"HueEmu",
"timestamp":1618836499856,
"flags":[
"STICKY",
"STATUS"
],
"arguments":{
"deviceModel":"HUE_LIGHT_ROOM_CONTROL"
}
},
{
"@type":"message",
"id":"fe703179-ec63-44ee-b487-1215c5ed63ed",
"messageCode":{
"name":"DEVICE_UNAVAILABLE",
"category":"WARNING"
},
"sourceType":"DEVICE",
"sourceId":"hdm:PhilipsHueBridge:HueBridge_dca6321cc2fa",
"sourceName":"Philips hue",
"timestamp":1618836494291,
"flags":[
"STICKY",
"STATUS"
],
"arguments":{
"deviceModel":"HUE_BRIDGE"
}
},
{
"@type":"message",
"id":"4fb05a62-f9a1-42e0-9bf2-3c81c9e073c2",
"messageCode":{
"name":"DEVICE_UNAVAILABLE",
"category":"WARNING"
},
"sourceType":"DEVICE",
"sourceId":"hdm:PhilipsHueBridge:HueLight_c299e21b-76da-4f96-aaf7-3bbdf377e751_dca6321cc2fa",
"sourceName":"goodnight",
"location":"HueEmu",
"timestamp":1618836493814,
"flags":[
"STICKY",
"STATUS"
],
"arguments":{
"deviceModel":"HUE_LIGHT"
}
}
]
Gibt es eine Möglichkeit (falls nicht evtl. als zukünftiges Feature) die Meldungen vom Bosch Smart Home System (Alarme, Warnungen, Infos, Software Updates - z.B. über nicht erreichbare Geräte) über den Adapter auszugeben?