Hallo,
heute sind die LIDL ZigBee Lampem gekommen.
Pairen und umbenennen hat funktioniert.
Die Lampe heißt erst einmal Lampe1
Code
19:21:05.531 CMD: Group 0, Index 1, Command "ZBINFO", Data "Lampe1"
19:21:05.538 MQT: tele/bridge/Lampe1/SENSOR = {"ZbInfo":{"Lampe1":{"Device":"0x5899","Name":"Lampe1","IEEEAddr":"0x588E81FFFEFBC592","ModelId":"TS0502A","Manufacturer":"_TZ3000_rylaozuc","Endpoints":[1],"Config":["O01"],"Power":0,"Reachable":true,"LastSeen":844,"LastSeenEpoch":1647540421,"LinkQuality":29}}}
19:21:05.543 MQT: stat/bridge/RESULT = {"ZbInfo":"Done"
ZbSend { "device":"Lampe1", "send":{"Power":"On"} }
und Off funktioiert
Ansatzweise dimmen geht auch: ZbSend { "device":"Lampe1", "send":{"Dimmer":"50"} }
Code
19:23:04.803 CMD: ZbSend { "device":"Lampe1", "send":{"Power":"On"} }
19:23:04.804 SRC: WebConsole from 192.168.178.48
19:23:04.806 CMD: Group 0, Index 1, Command "ZBSEND", Data "{ "device":"Lampe1", "send":{"Power":"On"} }"
19:23:04.809 ZIG: guessing endpoint 1
19:23:04.811 SendZCLCommand_P: zcl_cmd =
19:23:04.812 ZigbeeZCLSend device: 0x5899, group: 0x0000, endpoint:1, cluster:0x0006, cmd:0x01, send:""
19:23:04.813 ZbSend: shortaddr 0x5899, groupaddr 0x0000, cluster 0x0006, endpoint 0x01, cmd 0x01, data
19:23:04.815 ZIG: ZbEZSPSend 340000995804010600010140010000070103010701
19:23:04.819 MQT: stat/bridge/RESULT = {"ZbSend":"Done"}
19:23:04.845 ZIG: {"ZbEZSPReceived":"3400004C"}
19:23:04.901 ZIG: {"ZbEZSPReceived":"5900995892C5FBFEFF818E5868B600"}
19:23:04.912 ZIG: {"ZbEZSPReceived":"5900995892C5FBFEFF818E5868B600"}
19:23:04.921 ZIG: {"ZbEZSPReceived":"5900995892C5FBFEFF818E5868B600"}
19:23:04.929 ZIG: {"ZbEZSPReceived":"450000040106000101400100005D68B69958FFFF0508070B010002"}
19:23:04.931 ZIG: {"ZbZCLReceived":{"groupid":0,"clusterid":"0x0006","srcaddr":"0x5899","srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"LinkQuality":34,"securityuse":0,"seqnumber":93,"fc":"0x08","frametype":0,"direction":1,"disableresp":0,"manuf":"0x0000","transact":7,"cmdid":"0x0B","payload":"0100"}}
19:23:04.936 MQT: tele/bridge/RESULT = {"ZbResponse":{"Device":"0x5899","Name":"Lampe1","Command":"0006!01","Status":0,"StatusMessage":"SUCCESS","Endpoint":1,"LinkQuality":34}}
19:23:04.941 ZIG: {"ZbEZSPReceived":"3F00009958040106000101400100004C010000"}
19:23:04.945 ZIG: {"ZbEZSPReceived":"450000040106000101400100005E68B69958FFFF0718120A0000100102"}
19:23:04.947 ZIG: {"ZbZCLReceived":{"groupid":0,"clusterid":"0x0006","srcaddr":"0x5899","srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"LinkQuality":34,"securityuse":0,"seqnumber":94,"fc":"0x18","frametype":0,"direction":1,"disableresp":1,"manuf":"0x0000","transact":18,"cmdid":"0x0A","payload":"00001001"}}
19:23:04.949 ZIG: ZbZCLRawReceived: {"0x5899":{"0006/0000":1,"Endpoint":1,"LinkQuality":34}}
19:23:05.048 ZIG: ZbEZSPSend 3400009958040106000101400100000801050008000000
19:23:05.111 ZIG: {"ZbEZSPReceived":"3400004D"}
19:23:05.132 ZIG: {"ZbEZSPReceived":"5900995892C5FBFEFF818E5868B600"}
19:23:05.142 ZIG: {"ZbEZSPReceived":"5900995892C5FBFEFF818E5868B600"}
19:23:05.176 ZIG: {"ZbEZSPReceived":"450000040106000101000100005F68B69958FFFF08180801000000100102"}
19:23:05.177 ZIG: {"ZbZCLReceived":{"groupid":0,"clusterid":"0x0006","srcaddr":"0x5899","srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"LinkQuality":34,"securityuse":0,"seqnumber":95,"fc":"0x18","frametype":0,"direction":1,"disableresp":1,"manuf":"0x0000","transact":8,"cmdid":"0x01","payload":"0000001001"}}
19:23:05.179 ZIG: ZbZCLRawReceived: {"0x5899":{"0006/0000":1,"Endpoint":1,"LinkQuality":34}}
19:23:05.184 ZIG: {"ZbEZSPReceived":"3F00009958040106000101400100004D010000"}
19:23:05.543 MQT: tele/bridge/Lampe1/SENSOR = {"ZbReceived":{"Lampe1":{"Device":"0x5899","Name":"Lampe1","Power":1,"Endpoint":1,"LinkQuality":34}}}
Alles anzeigen
Ich habe jetzt versucht ein vorhandenes Thing umzustricken, aber das haut nicht hin.
Aus einem
Code
Thing topic RGBE27_1 "E27" @ "ZigBee Test" {
Channels:
Type switch : e27 "E27" [ stateTopic = "tele/bridge/RGBE27_1/SENSOR" , transformationPattern="REGEX:(.*Endpoint..1.*)∩JSONPATH:$.ZbReceived.RGBE27_1.Power", commandTopic="cmnd/bridge/ZbSend", formatBeforePublish="{\"device\":\"RGBE27_1\",\"endpoint\":\"1\",\"send\":{\"Power\":\"%s\"}}", on = "1", off = "0"]
Habe ich
Code
Thing topic motion "Lampe1 LIDL" @ "ZigBee Test" {
Channels:
Type switch : Lampe1_LIDL_Schalter "Treppenhaus" [ stateTopic = "tele/bridge/Lampe1/SENSOR" , transformationPattern="REGEX:(.*Endpoint..1.*)∩JSONPATH:$.ZbReceived.Lampe1.Power", commandTopic="cmnd/bridge/ZbSend", formatBeforePublish="{\"device\":\"Lampe1\",\"endpoint\":\"1\",\"send\":{\"Power\":\"%s\"}}", on = "1", off = "0"]
gemacht, aber das Thing taucht nicht auf.
@horschte , kannste mal bitte wieder??
Es ist auch eine Fernbedienung dabei, kann man die auch irgendwie im ZigBee System für etwas anderes gebrauchen?