Giter Club home page Giter Club logo

Comments (8)

palitu avatar palitu commented on September 24, 2024 2

just as an idea - can you automatically log the message? that way we already have the information that it is sending.

from zigbee2mqtt.

palitu avatar palitu commented on September 24, 2024 1

Will do, and I'll try and get around to a PR

from zigbee2mqtt.

palitu avatar palitu commented on September 24, 2024

Ah - i am trying to create a new converter for it...

though i am not too sure how it is generated

from zigbee2mqtt.

Koenkk avatar Koenkk commented on September 24, 2024

Its is probably reporting it's battery status, can you try adding a console.log(msg.data) on https://github.com/Koenkk/zigbee2mqtt/blob/master/lib/converters/zigbee2mqtt.js#L51 and add 'WXKG02LM' to https://github.com/Koenkk/zigbee2mqtt/blob/master/lib/converters/zigbee2mqtt.js#L46

What does it log?

from zigbee2mqtt.

palitu avatar palitu commented on September 24, 2024

well - here's the log:

{ cid: 'genBasic',
  data: 
   { '65281': 
      { '3': 39,
        '5': 31,
        '7': '0x0000000000000000',
        '8': 4886,
        '9': 513,
        '100': 1,
        '149': 26.913236618041992,
        '150': 2380,
        '152': 0,
        '154': 16 } } }

it didn't seem to do anything though...

There is also another one for 'genBasic' and type 'devChange' i will try and capture it now.

looks like this:
{ cid: 'genBasic', data: { dateCode: '02-28-2017' } }

from zigbee2mqtt.

palitu avatar palitu commented on September 24, 2024

i am also getting this:

{ cid: 'genBasic',
  data: 
   { '65281': 
      { '3': 38,
        '5': 32,
        '7': '0x0000000000000000',
        '8': 4886,
        '9': 769,
        '100': 1,
        '149': 26.916276931762695,
        '150': 2380,
        '152': 24.611000061035156,
        '154': 16 } } }
{ cid: 'genBasic',
  data: 
   { '65281': 
      [ <3 empty items>,
        38,
        <1 empty item>,
        32,
        <1 empty item>,
        '0x0000000000000000',
        4886,
        769,
        <90 empty items>,
        1,
        <48 empty items>,
        26.916276931762695,
        2380,
        <1 empty item>,
        24.611000061035156,
        <1 empty item>,
        16 ] } }
{ cid: 'genBasic',
  data: 
   { '65281': 
      { '3': 34,
        '5': 8,
        '7': '0x0000000000000000',
        '8': 4886,
        '9': 512,
        '100': 1,
        '149': 2.8065454959869385,
        '150': 2380,
        '152': 47.95199966430664,
        '154': 16 } } }
{ cid: 'genBasic',
  data: 
   { '65281': 
      [ <3 empty items>,
        34,
        <1 empty item>,
        8,
        <1 empty item>,
        '0x0000000000000000',
        4886,
        512,
        <90 empty items>,
        1,
        <48 empty items>,
        2.8065454959869385,
        2380,
        <1 empty item>,
        47.95199966430664,
        <1 empty item>,
        16 ] } }

from zigbee2mqtt.

Koenkk avatar Koenkk commented on September 24, 2024

I don't see any useful information in these messages, perhaps it can be added to the ignore converters.

from zigbee2mqtt.

Koenkk avatar Koenkk commented on September 24, 2024

I've added both 'WXKG02LM' and 'WXKG03LM' to the battery parser for now, it doesn't do any harm and maybe it does send battery status but we just haven't captured the message yet.

from zigbee2mqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.