Koenkk / zigbee-herdsman

A Node.js Zigbee library
MIT License
477 stars 297 forks source link

Failure to add Konke Device. #25

Closed tb-killa closed 5 years ago

tb-killa commented 5 years ago

Hi @Koenkk

I see this if i want to add the Konke Motion Device because it doesnt seem to add correctly.


  zigbee-herdsman:unpi:parser <-- [254,23,68,129,0,0,32,0,12,100,1,1,0,2,0,190,246,101,0,0,3,25,16,0,12,100,29,202] +24s
  zigbee-herdsman:unpi:parser --- parseNext [254,23,68,129,0,0,32,0,12,100,1,1,0,2,0,190,246,101,0,0,3,25,16,0,12,100,29,202] +0ms
  zigbee-herdsman:unpi:parser --> parsed 23 - 2 - 4 - 129 - [
d��e
d] - 202 +1ms
  zigbee-herdsman:znp:AREQ <-- AF - incomingMsg - {"groupid":0,"clusterid":32,"srcaddr":25612,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":2,"securityuse":0,"timestamp":6682302,"transseqnumber":0,"len":3,"data":{"type":"Buffer","data":[25,16,0]}} +24s
  zigbee-herdsman:controller:log Received ZCL data '{"frame":{"Header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":true},"transactionSequenceNumber":16,"manufacturerCode":null,"commandIdentifier":0},"Payload":{},"ClusterID":32},"networkAddress":25612,"endpoint":1,"linkquality":2,"groupID":0}' +24s
  zigbee-herdsman:unpi:parser --- parseNext [] +5ms
  zigbee-herdsman:controller:log Skipping command 'checkin' because it is missing from the lookup +2ms
  zigbee-herdsman:unpi:parser <-- [254,28,68,129,0,0,1,2,12,100,1,1,0,0,0,58,64,102,0,0,8,24,17,10,0,0,41,138,7,12,100,29,116] +6s
  zigbee-herdsman:unpi:parser --- parseNext [254,28,68,129,0,0,1,2,12,100,1,1,0,0,0,58,64,102,0,0,8,24,17,10,0,0,41,138,7,12,100,29,116] +1ms
  zigbee-herdsman:unpi:parser --> parsed 28 - 2 - 4 - 129 - [
d:@f
  zigbee-herdsman:unpi:parser )�
d] - 116 +1ms

It seems to be that some Encoding Problem occures ?

Koenkk commented 5 years ago

I dont see anything wrong here, the strange characters you see are because the bytes are decoded as utf8.