Giter Site home page Giter Site logo

Comments (26)

cdjackson avatar cdjackson commented on September 22, 2024 1

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

I don't think there have been any changes in this area between 13 and 14, so I think this is the same issue. I have a ticket open with Silabs - their documentation is very poor and doesn't describe the rejoin policies (their support people also can't answer the question and they need to check with the source code!).

from com.zsmartsystems.zigbee.

5iver avatar 5iver commented on September 22, 2024

I don't think there have been any changes in this area between 13 and 14

OK... the drop offs were definitely happening in both, and previous, but seemed to be more frequent in more recent versions. Using the current snapshot now (2.4.0.201808020834 w/14), my bulbs are in a continuous cycle of drop off and re-pairing at least a couple times a day. Was there a commit that caused this... maybe SPI? I'm asking so that I can rollback to a stable version until you get a fix in.

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

In the log you attached, can you tell me what time a device left and rejoined. From a quick scan I don't see anything in the log so it would help to have a time to look at if possible...

from com.zsmartsystems.zigbee.

5iver avatar 5iver commented on September 22, 2024

In the log you attached, can you tell me what time a device left and rejoined.

No, but I think I can reproduce it. Power cycling a bulb will occasionally cause a drop off. Frustrating when trying to get a cluster of 4 on one switch to all get back on the network! One will join and another will drop. Otherwise, I can just turn on logging and wait for a light to turn on (they do that when they drop).

As I said, I don’t think there have been any changes to the Ember handler between 13 and 14 that would cause this

I was meaning further back than 13. I just put in 12 to see if there are less drop offs.

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

from com.zsmartsystems.zigbee.

5iver avatar 5iver commented on September 22, 2024

In any case, as I said, I believe that this issue is related to the rejoin policy. This has NEVER changed.

I hear you... but in my experience, it got a lot worse recently, just not sure exactly when. Maybe there's just some new RF interference I haven't found. Hopefully Silabs gets back to you soon! I'll get some logs together. Which reminds me, I got that upgrade script together. This will give me another chance to test it.

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

from com.zsmartsystems.zigbee.

5iver avatar 5iver commented on September 22, 2024

I can't get any more logs because the bulbs have been behaving for about 2 days now! I fell asleep while testing the script, and Zigbee was offline. The bulbs all panicked and turned on. When I started Zigbee back up, they came online and haven't dropped. I am running the latest version, so either something was fixed (doubtful) or the mesh rebuilt itself and the bulbs are happy again. I had thought of doing this intentionally, but never got around to it! I think this can be closed, unless you think there is something more to it.

from com.zsmartsystems.zigbee.

5iver avatar 5iver commented on September 22, 2024

The stable network only lasted a couple days. I just happened to catch a bulb that dropped, rediscovered it, turned it off, enabled logging, then within 15 minutes it popped on again. If there's anything in the log, it should be in here! Device is 7CE52400000B7EED, 16952.
081418 zigbee drop.zip

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

from com.zsmartsystems.zigbee.

5iver avatar 5iver commented on September 22, 2024

I never power cycled it. It turned itself on when it dropped off the network. After dropping, sometimes they will do single flashes, which I have never seen before. When they do this, I've had good success kicking off a discovery and having a dropped bulb come back online and controllable. I did this, turned it off, then started logging. It then fell off the network again while logging. As sometimes happens, this bulb then came back online by itself, without manual discovery. This is probably what you are seeing at 15:25:55, when it came back online. I'm not sure if the bulbs are turning on when they drop or come back online.

The only time I am used to seeing flashing, is when the bulbs are first paired, and they flash 3 times slowly. The single flashes are really quick. Sometimes a few within a minute. Never seen this with an older version of the binding.

I kind of expected there wouldn't be anything in the log, but this one definitely had a bulb dropping in it. It would have been a minute or two from the end, so 15:24 sounds about right.

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

The announce message can be sent for other reasons than a power cycle. In general, the library doesn't do too much if it receives an announce for a device it already knows - it should make sure that the network address hasn't changed, but that's about it. I couldn't see anything wrong - and given that at least in this log the device does start responding again later, I don't think there's a problem with the software...

I've had one of those weeks and not sorted out the package to send you yet - I'll try and get this done in the coming days...

from com.zsmartsystems.zigbee.

AfromD avatar AfromD commented on September 22, 2024

on change of WandschalterSchlafzimmer_Deckenlicht_SwitchOnoff (001fee00000016be), the items
HUELichtleisteSchrank_Color (0017880101210d6a)
HUESchlafzimmerStehlampe_Color (0017880102548f94)
SchranklichtSchlafzimmer_SwitchOnOff (84182600000c8aa7)
NachttischRechts_Color (00158d00011e871a)
NachttischLinks_Color (00158d0000af412c)
Are supposed to be switched on or off by a rule

I have attached a log, where only NachttischLinks_Color works as it should. All the others look normal in OH, but do not react in real life.
emberlog.txt

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

Unfortunately this log is some sort of openHAB log (I'm not super sure how it is generated) and it is probably from quite an old version of the library as debug messages are not in the format to be processed.

I will await further information before trying to work out what this all means.

from com.zsmartsystems.zigbee.

AfromD avatar AfromD commented on September 22, 2024

This was from the events log in the web front end. The library is the current 1.1.8. I am not sure how to get a sniffer log, but I uploaded the normal log and the xml.

This occurence was different from ones with the older library. The devices did not come back after several restarts of OH. They came back after I reassociated them with the network (reset the Hue lights with the dimmer remote whilst having OH discover new zigbee devices). They did not show up in the inbox, but started working again straight away. It seems OH was never aware of them gone missing. The debug log only shows them not reacting to commands. I stopped debug logging before I restarted OH.

My settings:
Bridge zigbee:coordinator_ember:f737c1d4 "Ember EM35x Coordinator" [
zigbee_port= "/dev/ttyAMA0",
zigbee_baud= 57600,
zigbee_flowcontrol= 2,
zigbee_powermode= 1,
zigbee_txpower= 8,
zigbee_channel= 25,
zigbee_initialise= false,
zigbee_panid= 2232,
zigbee_macaddress= "000D6F000EE3DC01",
zigbee_extendedpanid= "824AB3EDD3867E08",
left out the network key, but it is defined.

zigbee-network--zigbee_coordinator_ember_f737c1d4.xml.txt
openhab.log

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

This was from the events log in the web front end.

It's a strange format - it would be nice to just have a standard log...

I am not sure how to get a sniffer log

You would need a sniffer :) Really without this it will likely be difficult to know what is happening - if they are leaving the network, then the logs generally won't show what is really happening.

My settings

What do you have the child timeout configuration set to? This is quite important.

from com.zsmartsystems.zigbee.

AfromD avatar AfromD commented on September 22, 2024

log: I attached a standard openhab.log from the logs directory to the post above.
sniffer: I do have a TI dongle from china with a programmer, which firmware do I need to flash on it?
settings: You are right, the parameter has not made it into my thing definition yet, so I guess I am using the default, Paper UI says 1 day.

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

I do have a TI dongle from china with a programmer, which firmware do I need to flash on it?

Sorry - I'm not really familiar with this - I use the Ember tools.

settings: You are right, the parameter has not made it into my thing definition yet, so I guess I am using the default, Paper UI says 1 day.

The default in the Ember NCP is 5 minutes if you don't set it. PaperUI may say 1 day as that's how I prefer it to be configured, but if you are using text definitions, then I think it's likely 5 minutes and I suggest that you change this.

from com.zsmartsystems.zigbee.

AfromD avatar AfromD commented on September 22, 2024

I also have a spare HUSBZB-1 dongle.

I have put zigbee_childtimeout= 86400 in my thing definition now.

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

I also have a spare HUSBZB-1 dongle.

Cool - this I can help you with.

See this repository for documentation and software -:

https://github.com/zsmartsystems/com.zsmartsystems.zigbee.sniffer

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

@openhab-5iver since you opened this, can you comment if this is still an issue? I think there have been a lot of changes in the past 6+ months, so I would prefer to close this if you agree? If not, let's get a status of the current situation...

from com.zsmartsystems.zigbee.

5iver avatar 5iver commented on September 22, 2024

I replaced 6 bulbs with zwave dimmers and switches. 5 of them were outside on the patio, but they were within 5ft of bulbs inside the house. I don't know for sure, but it's possible that none of them had a direct route to the coordinator. There was an update around the same time, so I don't know if removing these bulbs was a factor or not, but there were still some issues after the update. I still have one bulb outside, but it's been turned off for a few months, so I just turned it on and it paired up, so I'll see how it behaves (have a zwave dimmer on a shelf 😄). It is the furthest away from the coordinator and has 3 bulbs and an outlet about 25ft away.

However, the current situation is MUCH improved with the updates! I've had only 3 bulbs become unresponsive in the last month. At the worst, none of the 25 bulbs (at the time) would last more than a day. You've made significant progress... thank you!

from com.zsmartsystems.zigbee.

cdjackson avatar cdjackson commented on September 22, 2024

Thanks Scott - I'm sure you'll let me know if there are further problems 😄, but it's good to hear things are pretty stable at the moment.

from com.zsmartsystems.zigbee.

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.