My Smarthings motion sensor (battery powered) in the kitchen was the busiest in my house -no surprise- and replacing the battery every 5-6 months was becoming a nuisance so I replaced it with a Zooz ZSE18 USB powered. I took the battery out and just plugged the cord. The motion sensor itself works well, I have no complains, fast and sensitive enough. The problem is that every few days i get a notification on my phone that the sensor battery is 1%. Clearly the sensor is fine and getting power from the USB plug but somehow ST doesn’t know that. Anybody had this problem??
Tagging @TheSmartestHouse
If you connected the sensor on battery, the hub will treat it as a battery device, so please exclude it and follow the instructions here to include it again as a USB device. Let us know if that helped!
Thanks for your prompt reply. I excluded the sensor and re-included it without the battery, only USB cable but still shows only 1% battery left. See pic…
Maybe I need to factory reset the sensor (?)
Are you using the custom device handler with it? If not, adding the handler and re-including it again may help here.
Updated the device handler from 1.05 to 1.06, ex/re-included it but still only 1% battery. Maybe it will stop sending me notifications if I just leave a battery inside, assuming it will draw power from the USB cable and not drain the battery.
Ok. Tried again but this time using the ST classic app and now it is showing as USB powered on the classic app and 0% battery on the new ST app. I wonder if I will still get notifications from the new app only (I used to get notifications of low battery from both apps)… we’ll see. See attached pics.
This looks like a new app quirk then. Let us know if you’re still getting notifications now!
Put the following on line 148 and then open the device in the classic mobile app and save the settings:
sendEvent(getEventMap("battery", 100, "%"))
The classic app might always show the battery at 100%, but at least you’ll stop getting low battery warnings…
That line 148 edit worked! I think you meant the new app not the classic one. Hopefully that will stop the notifications. Thank you.
See pic
I meant the classic app. The new app always shows the battery level, but my handler usually shows a USB icon in the classic app and it most likely won’t after making that change.
Ok I see. The USB icon is still there in the classic app. The new app now shows 100% battery.
Does it disappear after saving a 2nd time?
I saved again and re-published. Still shows the USB icon.
I am having the exact same issue as OP. I am running 4 of these sensors throughout my house, 3 are working correctly, but one of them is not and shows 1% battery while USB powered. Given this post is from April 2020 and your last update on the Device Handler is May 2020, I thought I should reach out. What exactly do I need to change to get this fixed, so I do not receive the Low Battery notification on the front page? I’m not sure if this is relevant, but the device will not power on by battery itself (part must be damaged). If a make a change to the Device Handler code, do I need to exclude the device and re-add it? I am not very experienced with this stuff. Thank you so much for your time–you don’t realize how much more convenient your Device Handler has made my life.
I published 2 versions in May 2020 and one of them fixed this issue so I recommend removing the device that isn’t working and factory reset it before joining it again.
2+ years later and the Zooz USB sensor still working flawlessly! excellent hardware. My original Smartthings sensors, plugs and water detectors also still going strong. Can’t say the same of lesser known brands I’ve purchased on Amazon to give them a try. Definitely on smart devices -likemost things in life- you get what you pay for, I guess.