-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SmartThings Arrival Sensor PGC410EU Battery Reporting #7671
Comments
@liamstears, just FYI, the presence sensors battery reporting are the same unreliable in SmartThings. They just die one day to another. You are better if you set up a notification at some level and just replace at that time. Or to keep track that it is still working, just set up notifications for arrival and leave, then you will always see when it is registered. You can even add the battery level to the notification so you will see what level at they will go dead. Setting battery reporting with report every time when changes can cause rapid depletion. |
Hi and thank you for the reply I think maybe my original post was not clear. What I mean is that the battery level is never reported or shown at all, it always just says "null" or "N/A" It doesn't work at all and that is the problem that I am trying to fix here, I know the reporting can be unreliable but I would at least like something that I can monitor |
Hi @liamstears, I will try to pair one if my Arrival sensors to Z2M. (I haven't done that before and it is still connected to SmartThings.) I will try to have a look what is happening. I am not really an expert with Z2M, but looking at your error messages, my guess is that the devices goes to sleep when you are trying to set reporting. I would try to delete the device and re-pair it again with your modification, just to make sure that it does the configuration and the device is awake when your try to set attribute reporting. |
@liamstears, ok, I might have the newer model. I have mine from a v2 Hub starter kit. But, I found your original issue, when you first tried to pair this arrival sensor. What was missed is the periodic reporting. That reporting has the battery value. (I cannot see any reporting in the SmartThings DH for the 2015 model, it just receives a message in raw and parses the value from that.) Edit: It turned out, I have the same model. The reporting is terrible... I've looked at the DH from SmartThings.
This code suggests that the device doesn't use the standard battery reporting. It uses a manufacturer specific way to report battery, rssi and lqi. To support this, a new cluster should be added to the zigbee-herdsman as it has happened with the manuSpecificSmartThingsArrivalSensor cluster. Unfortunately the example in the SmartThings DH doesn't really show a clear message what the Hub receives from the sensor. I am trying to catch it in the Live Logging what is exactly that message but reporting is absolutely zero. Maybe once a day... |
@liamstears if it's indeed manufacturer specific this will be harder to support, but it's worth to try:
|
In the SmartThings DH there is no sign of configureReport and the battery report comes together with rssi and lqi, what is not something I have ever seen before. Plus the beep works with a manufacturer specific cluster FC05 on endpoint 2 as well.
|
Wow there is a lot of information in here that goes above my head, thanks to all trying to help What I don't get though is I get a linkquality reading but if battery, rssi and lqi are sent together surely I shouldn't get that reading? |
Really appreciate your help and anything you can do to help resolve this problem |
@liamstears, I tried to get it from SmartThings live logging, but I couldn't catch it. Unfortunately I don't have time for it now. I think LQI is translated from some other messages in Z2M. But the device should report LQI, RSSI and battery in a messages. To catch these messages you either need to run zigbee-herdsman logging for at least 24 hours or do sniffing for 24 hours. But you need to collect it and search for the right message afterward. In SmartThings the device seems to report every 23 hours, plus 1 hour after that. (It doesn't makes sense but that is logged in my case...) |
I can quite easily run zigbee-herdsman for 24 hours but is there an easy way to get that to log to a file for easy finding and reading? |
Not as I am aware of. |
I noticed when playing around some longer messages in herdsman than what I normally get, I don't know if anything in here is useful? https://pastebin.com/RZntHzn7 |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
I've asked an engineer at SmartThings, might can give some details on the device, but still hasn't received an answer. |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Although this sensor works perfectly battery reporting does not which makes it difficult to keep on top of battery changes as quite often they just die and end up setting off alarms without warning so having a functioning battery would be amazing
I have tried changing the device myself using the following code however I just received the errors below
Errors:
Please note I have 2 sensors (PS1 and PS2)
The text was updated successfully, but these errors were encountered: