In case someone need to perform factory reset. Here are the steps.
remove all power (battery and dc)
press the button on the back of the board.
plug the dc power and count to 4 to 5 seconds (not more).
release the button. At this point, the module is in pairing mode.
I tested each sensor before I shipped them at this point with my hub. I removed the sensor after testing. The sensor will be automatically in pairing mode removal. This process may not went through cleanly during my test. Therefore, if your sensor does not paired on your first try, please perform the factory reset.
@iharyadi any plans for a matching custom Zigbee device handler (a.k.a. quirk) for the ZHA integration via the ZHA Device Handlers library for Home Assistant (a.k.a. zha-quirk) to ship in repo as standard?
Hi @Hedda, I would love to develop ZHA quirk for the Arrival Sensor. I am aware one of community member is working on creating a quirk for it. As soon as I heard about the progress, I will update everyone here.
I personally looked at the ST Arrival sensor quirk. I used it to learn how the quirk is implemented to support ST Arrival sensor. The quirk use zha device tracker mechanism for device presence state. My Arrival Sensor has a little bit different twist. I would like the have different timeout when the Arrival Sensor is on DC or Battery power. My Arrival Sensor may have to implement its own tracking mechanism to support that. The reason I would love the time out is dynamic depending on the state of the power is that I can configure much shorter timeout when the arrival sensor detect the car is powered up. This will make detection of “not present” faster.
I am not very proficient in python. With my other works, it may take some time for me to get this done. Just in case @Hedda or Anyone who are proficient with writing ZHA quirk and willing to help, I will be open to provide you with one Arrival Sensor for free to develop the quirk. Just PM me. We will work out the logistic.
Loving your sensors but have been having a few problems. The battery percentage never changes and in one of my cars that the cig lighter turns off when the key is off the battery is only lasting just over a week and then the sensor dies with the battery still at 100%. I was just watching this sensor and it is sending updates every few seconds and shows the power state as off.
@mebaddog2002, Thank you for bring this issue up to me. I will be happy to help you with it.
The battery is measured based on the battery voltage. This method calculating the % capacity is just an estimation. I bring this up since there is possibility that you may have a bad battery. A battery that goes bad typically will drop in voltage really quickly. Therefore, it is possible that the percentage will looked like it is stuck at 100%.
Do you have any other battery to test with? I think we should start from that.
In addition, if you can enable Z2M logging to verbose for a few ours and filter the log just for this specific sensor based on its mac address. We are looking messages whether the sensor is frequently drop and rejoin the Z2M. If this happen very often, It will drain the battery. The process of rejoining consume huge amount of power. Let try to eliminate the issue. I am sorry I do not remember the exact line of the log message. It is really obvious message that Z2M print when a sensor joined back.
I want to make sure that I do not waste your time by sending you replacement if the Arrival Sensor is actually not the issue.
However, if we determine that the sensor somehow goes bad, I will send you a replacement. However, I do ask for your favor to return the bad one. This is very rare and valuable occurrence. When I want to be able to study which part of the sensor is degrade. I may be able to make improvement for future builds. It will help me and the user in our community.
Okay will try to get the logs this weekend. I have the battery problem on multiple sensors. 1 is stuck at 40%. It was not fully charged when included because of testing. I had the battery in a vehicle recently die and the sensor still showed 100% all the way until the battery in the sensor died. The battery in the sensor didn’t even make it 2 weeks. Jump started the vehicle the sensor rejoined the network immediately and showed 100%. When I start the car that the sensor dies because the cig lighter turns off as soon as I start the car the sensor connects and shows 100%.
Sorry its taken so long to get back to you work has had me gone. Here is a link to the batteries I bought. Going to try this week to switch batteries in 2 of them to see if the problem follows the battery or stays with the board. I doubt its a board problem. After trying to watch it the 2 vehicles that shut off the cig lighter the batteries die in about a week. 1 of the vehicles stays in the garage and even with the cold snap of -4 the garage stayed above 60. And I never see the battery percent change. I’m trying to get logs for you but for some reason it is only keeping a few lines then deleting the older ones. I’m only able to see 2 to 5 lines from each sensor. Any idea on how to increase how much it stores before deleting the older log entries?
Hi, seems there’s not been much activity since spring on this otherwise excellent project.
One question comes to mind. If we’re putting this in a car, what is the use-case for the extra battery? I mean, if it can run a week on a LiPo cell, why not run it straight off the 12V battery in the vehicle (with a fuse and a 5V buck converter in between). Let me know if I’m overlooking the obvious