GithubHelp home page GithubHelp logo

cc2538-cc2592-znp's People

Contributors

reverieline avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cc2538-cc2592-znp's Issues

Reconnecting devices to the zigby network after a power outage.

Help me understand the reason: if the power on the stick is lost, then the network may not be restored at all or it will be resolved partially.
The stick is used through a 2 mctt zigbia.
The devices connected to it are:

  1. switch without zero line
  2. sockets that act as routers.
  3. xiaomi sensors (motion and opening sensors)

Is this the reason in the firmware of the whistle, the zigby itself is 2 mktt or is it "normal" and this is how the zigby network works?

To restore the network, you need to reconnect the device through pairing

Firmware for MODKAMRU Zigbee V3 USB stick included 4 LEDs

Hello reverieline,
I am trying to assemble a USB stick using CC2538+2592 (MODKAMRU Zigbee V3 USB stick included 4 LEDs) for coordinator.
I have downloaded 3 different firmware:
MODKAMRU_V3_UART-flow-control.hex, MODKAMRU_V3_UART-no-flow-control.hex, MODKAMRU_V3_USB.hex
Which firmware should I use for zigbee2mqtt?
Do I need the firmware in the following location?
https://github.com/reverieline/CC2538-CC2592-ZNP/tree/master/MODKAMRU_V3/alt_layouts
Thank you.

Duplicated packets

Hi,

I received a coordinator device that was flashed with a firmware from here. While testing it, I did spot some oddities, although things appeared to work... but in some cases I've got even a crash, so I decided to investigate it more. Apparently the problem is due of duplicating packets.

Here is an example - a portion of a log while the device joined the network and it's queried:

10/20/20 13:35:17.016 Module Zigbee: Network Management: Info: Requesting active endpoints for addr 0xE83
10/20/20 13:35:17.017 Module Zigbee: Zigbee serial module "Serial2": Info: RAW Sending packet FE042505830E830E24
10/20/20 13:35:17.033 Debug: Writing: FE042505830E830E24
10/20/20 13:35:17.033 Module Zigbee: Zigbee serial module "Serial2": Info: Sent packet FE042503830E830E22 is MT frame, type: SREQ subsys: ZDO cmd: 0x03 len: 4
10/20/20 13:35:17.041 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE0165050061
10/20/20 13:35:17.041 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE0165050061 is MT frame, type: SRSP subsys: ZDO cmd: 0x05 len: 1
10/20/20 13:35:17.042 Module Zigbee: Zigbee serial module "Serial2": Info: Received expected packet, notifying: FE0165050061
10/20/20 13:35:17.042 Module Zigbee: Network Management: Couldn't decode power desc request response
10/20/20 13:35:17.042 Module Zigbee: Network Management: Info: Requesting active endpoints for addr 0xE83
10/20/20 13:35:17.042 Module Zigbee: Zigbee serial module "Serial2": Info: RAW Sending packet FE042505830E830E24
10/20/20 13:35:17.051 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE074585830E00830E010BCD
10/20/20 13:35:17.052 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE074585830E00830E010BCD is MT frame, type: AREQ subsys: ZDO cmd: 0x85 len: 7
10/20/20 13:35:17.052 Module Zigbee: Network Management: Info: Notification about active end points for address 0xE83, status: 0x0
10/20/20 13:35:17.052 Module Zigbee: Network Management: End Points: 0xB
10/20/20 13:35:17.052 Module Zigbee: Network Management: Info: Requesting simple description for addr 0xE83 End point: 0xB
10/20/20 13:35:17.053 Module Zigbee: Zigbee serial module "Serial2": Info: RAW Sending packet FE052504830E830E0B2F
10/20/20 13:35:17.063 Debug: Writing: FE042505830E830E24
10/20/20 13:35:17.063 Module Zigbee: Zigbee serial module "Serial2": Info: Sent packet FE042505830E830E24 is MT frame, type: SREQ subsys: ZDO cmd: 0x05 len: 4
10/20/20 13:35:17.072 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE0165050061
10/20/20 13:35:17.072 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE0165050061 is MT frame, type: SRSP subsys: ZDO cmd: 0x05 len: 1
10/20/20 13:35:17.086 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE074585830E00830E010BCD
10/20/20 13:35:17.086 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE074585830E00830E010BCD is MT frame, type: AREQ subsys: ZDO cmd: 0x85 len: 7
10/20/20 13:35:17.086 Module Zigbee: Network Management: Received an active endpoints notification in another pairing stage, ignoring
10/20/20 13:35:17.093 Debug: Writing: FE052504830E830E0B2F
10/20/20 13:35:17.093 Module Zigbee: Zigbee serial module "Serial2": Info: Sent packet FE042505830E830E24 is MT frame, type: SREQ subsys: ZDO cmd: 0x05 len: 4
10/20/20 13:35:17.101 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE0165040060
10/20/20 13:35:17.102 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE0165040060 is MT frame, type: SRSP subsys: ZDO cmd: 0x04 len: 1
10/20/20 13:35:17.102 Module Zigbee: Zigbee serial module "Serial2": Info: Received expected packet, notifying: FE0165040060
10/20/20 13:35:17.102 Module Zigbee: Network Management: Couldn't decode power desc request response
10/20/20 13:35:17.102 Module Zigbee: Network Management: End network admin
10/20/20 13:35:17.120 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE204584830E00830E1A0B5EC0100201080000040003000600080005000003001001190072
10/20/20 13:35:17.120 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE204584830E00830E1A0B5EC0100201080000040003000600080005000003001001190072 is MT frame, type: AREQ subsys: ZDO cmd: 0x84 len: 32
10/20/20 13:35:17.120 Module Zigbee: Network Management: Info: Simple desc notification for address 0xE83 endpoint: 0xB, status: 0x0
10/20/20 13:35:17.120 Module Zigbee: Network Management: Info: IN Clusters: 0x0 0x4 0x3 0x6 0x8 0x5 0x300 0x1000
10/20/20 13:35:17.120 Module Zigbee: Network Management: Info: OUT clusters:  0x19
10/20/20 13:35:17.120 Module Zigbee: Network Management: Info: Requesting model info for addr 0xE83 End point: 0xB
10/20/20 13:35:17.121 Module Zigbee: Zigbee serial module "Serial2": Info: RAW Sending packet FE0F2401830E0B01000001001E051001000500A3
10/20/20 13:35:17.123 Module Zigbee: Zigbee serial module "Serial2": Info: Sent packet FE052504830E830E0B2F is MT frame, type: SREQ subsys: ZDO cmd: 0x04 len: 5
10/20/20 13:35:17.123 Debug: Writing: FE0F2401830E0B01000001001E051001000500A3
10/20/20 13:35:17.132 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE0164010064
10/20/20 13:35:17.133 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE0164010064 is MT frame, type: SRSP subsys: AF cmd: 0x01 len: 1
10/20/20 13:35:17.133 Module Zigbee: Zigbee serial module "Serial2": Info: Received expected packet, notifying: FE0164010064
10/20/20 13:35:17.133 Module Zigbee: Network Management: Couldn't decode simple desc request response
10/20/20 13:35:17.133 Module Zigbee: Network Management: Info: Requesting simple description for addr 0xE83 End point: 0xB
10/20/20 13:35:17.133 Module Zigbee: Zigbee serial module "Serial2": Info: RAW Sending packet FE052504830E830E0B2F
10/20/20 13:35:17.137 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE034480000101C7
10/20/20 13:35:17.137 Module Zigbee: Zigbee serial module "Serial2": Info: Received packet FE034480000101C7 is MT frame, type: AREQ subsys: AF cmd: 0x80 len: 3
10/20/20 13:35:17.138 Module Zigbee: Zigbee serial module "Serial2": Info: Received AF data notification, status: 0x0 description: ZSuccess endpoint: 0x1

The duplicated packets create quite a bit of issues (see for example 'Couldn't decode' log messages, where a duplicated packet that was already received is received, instead of the expected one - then the expected response comes, but when some other packet was sent, messing with the queries).

An example is the packet received at 10/20/20 13:35:17.041 : FE0165050061 which is again received at 10/20/20 13:35:17.072.

I don't think it's a big problem for me, I can probably fix this in the code, but I thought I should report it, it might not be something that should be expected.

This does not happen with other firmwares.

Question about LED

Hi, this is not realy a issu,
it is just a question.

I use your Firmware on CC2538-CC2592 Chip with pcb from https://modkam.ru/?p=1112#more-1112.
i had flashed MODKAMRU_V3_USB.hex.
The pcb had led connected to PB1..4.
in your patchfile i see you als defined leds on this ports. After plug to my control system led on PB1 to 3 lights up. about 1 second later only PB1 lights up.
now, when i control zigbee device no other led lights up. So my question is, is this the normal behavior for now?
Anyway i'm not sure at the moment if your firmware uses PB1..4 oder PB0..3?

Tank you

ZNP fw MODKAMRU_V3_UART-no-flow-control

Please add uart mode description to the readme file.
What a UART mode used in the firmware (baud rates, start/stop bits)?
MODKAMRU_V3_UART-no-flow-control - use xon/xoff only?
MODKAMRU_V3_UART-flow-control.hex - use a hardware RTS / CTS flow control ?

I flashed the module with MODKAMRU_V3_UART-no-flow-control.hex and connected it to ttyS1 uart port (115200 8N1, 230400 8N1), but the zigbee2mqtt does not detected.

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.