Giter VIP home page Giter VIP logo

Comments (4)

Adminiuga avatar Adminiuga commented on September 21, 2024

https://github.com/zsmartsystems/com.zsmartsystems.zigbee/tree/master/com.zsmartsystems.zigbee.dongle.conbee
https://github.com/zigpy/zigpy-deconz

from deconz-serial-protocol.

Wim-N avatar Wim-N commented on September 21, 2024

When I start my program I send a 0x07 message:
15:56:16.469 Tx: 00 DEVICE_STATE request [0x07] 15:56:16.470 Tx: RAW: C0-07-00-00-08-00-00-00-00-F1-FF-C0 15:56:16.573 Rx: Data: 07-00-00-08-00-A2-00-00 15:56:16.573 Rx: 00 Device state [0x07]: Status: Success, Network: connected, APSE-DATA request free slots

That seems to be ok.

When I press a key on the remote this happens:
15:56:21.586 Rx: Data: 1C-01-00-0C-00-05-00-02-7E-C7-FF-D7 15:56:21.586 Rx: 01 MAC Poll Notification [0x1C]: Status: Success, NWK: C7-7E, LQI = 255, RSSI = 215 15:56:21.588 Rx: Data: 0E-02-00-07-00-AA-00 15:56:21.588 Rx: 02 Device state changed [0x0E]: Status: Success, Network: connected, APSE-DATA indication, APSE-DATA request free slots 15:56:21.589 TX: 02 APS_DATA_INDICATION request [0x17] 15:56:21.589 Tx: RAW: C0-17-02-00-08-00-01-00-01-DD-FF-C0 15:56:21.591 Rx: Data: 1C-03-00-0C-00-05-00-02-7E-C7-FF-D7 15:56:21.592 Rx: 03 MAC Poll Notification [0x1C]: Status: Success, NWK: C7-7E, LQI = 255, RSSI = 215 15:56:21.598 Rx: Data: 17-02-00-2A-00-23-00-22-02-FD-FF-00-02-7E-C7-00-00-00-13-00-0C-00-C9-7E-C7-CE-09-15-FE-FF-81-8E-58-80-00-AF-FF-65-AD-19-00-D7 15:56:21.599 Rx: 02 Read Received Data Response [0x17]; Status: Success, Destination NWK = FF-FD:0, Source NWK = C7-7E:0, APS frame payload: C9-7E-C7-CE-09-15-FE-FF-81-8E-58-80, LQI = 255, RSSI = -41dBm 15:56:21.599 Rx: 02 ---- 0 80 15:56:21.599 Tx: 02 APS_DATA_CONFIRM [0x04] 15:56:21.599 Tx: RAW: C0-04-02-00-07-00-00-00-F3-FF-C0 15:56:21.599 Tx: 03 DEVICE_STATE request [0x07] 15:56:21.600 Tx: RAW: C0-07-03-00-08-00-00-00-00-EE-FF-C0 15:56:21.602 Rx: Data: 04-02-05-08-00-01-00-22 15:56:21.602 Rx: 02 Query Send Data State Response, short [0x04]; Status: Error

From previous discussions I understand that I can skip the 'MAC poll notification'.

First I get a 'MAC poll notification' and a 'Device state changed' which is to be expected. Then I try to get the data with an 'APS_DATA_INDICATION request'. Then I receive a 'Read Received data response'. One of the problems is how to find out what the payload means.
Then the programs responds with a 'APS_DATA_CONFIRM' for the received data.
But then the program receives an error status from the ConBee II, so what's wrong?

from deconz-serial-protocol.

Wim-N avatar Wim-N commented on September 21, 2024

Also tried deConz with Home Assistant. The only info which I get from the remote control is the battery level. How can I get information about which key is being pressed so HA can respond to it??

from deconz-serial-protocol.

NickInManchester avatar NickInManchester commented on September 21, 2024

I've got 2 Sunricher LED strips working via Conbee II, to Phoscon to Home Assistant. But I also have a Sunricher wall switch which I either do not understand or deConz seems not to be able to talk to correctly.

I've tried, using Phoscon to pair it as a switch -> other; but the "Ready" button is not available. I also tried it as a light and as a sensor as, for example, my INNR time switches pair as lights not as switches but after pairing work perfectly from both Phoscon and Home Assistant.

The Sunricher switch is:

Sunricher ZIGBEE 4 Group RGBW Wall Panel White (Mains powered)
Product Code: SRZG9001T4RGBWWH
Bought from: https://www.ledtechnologies.co.uk/sunricher-4-group-rgbw-zigbee-wall-panel-white-mains-powered.html
** There are several similar Sunricher switches with slightly different capabilities **

I followed the pairing instructions and from the switch's perspective it appeared to pair by flashing its LED the right number of times. Nothing happens in Phoscon so I swapped to deConz which I have not used before and find confusing as a newbie to it. It did appear that there was a new non Sunricher node in the deConz diagram (I might be wrong here) as well as my 2 LED strips. I took some screenshots which are hopefully not giving away too much privacy information and are attached. These are of my Phoscon lights device page, the two SunRicher LED strips selected in deConz and what I think might be the new device after semi-pairing the Sunricher switch.

Can anybody tell me what I should do to try and get this switch paired and usable. It can be paired point-to-point with the led strips but I want to go via the Conbee II as everything else uses this successfully.

With thanks for any help/advice.

Nick
deConzScreenshot-Possibly-SunricherDevice
deConzScreenshot-Sunricher2ndLEDTape
deConzScreenshot-SunricherLEDTape
PhosconPairedLights

from deconz-serial-protocol.

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.