-
Notifications
You must be signed in to change notification settings - Fork 22
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
Expose detection parameters for SNZB-03P #215
base: dev
Are you sure you want to change the base?
Conversation
This older(?) PIR occupancy device has some of the same parameters as the newer SNZB-06P. You can manually set them through the zigbee device management menu, but it would be nicer if there was a button in the main UI. The 03P model is a PIR sensor, but it still uses the ultrasonic tagged parameters to control the device. The PIR parameters all have a value of None.
I don't know how to test these changes. The recent splitting of zha from homeassistant-core has me confused. I own the device in question, but I'm not sure how to get these changes into my homeassistant instance which is running on a homeassisant green. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #215 +/- ##
=======================================
Coverage 96.42% 96.42%
=======================================
Files 61 61
Lines 9390 9390
=======================================
Hits 9054 9054
Misses 336 336 ☔ View full report in Codecov by Sentry. |
@carterbox There are multiple ways. You could set up a custom Another (also hacky) way, although likely less error-prone, would be to go into the
Do note that upgrading Home Assistant will revert that change. Do also note that you can break Home Assistant. Have backups ready. |
Thanks for the help. I was able to edit the files directly once I setup developer access over SSH to the homeassistant host. The SSH add-on does not allow access to the relevent folders the default way. I've tested these changes. The timeout definitely works. The sensitivity probably works. It's a bit hard to tell the difference with PIR sensors. |
This older(?) PIR occupancy device has some of the same parameters as the newer SNZB-06P. You can manually set them through the zigbee device management menu, but it would be nicer if there was a button in the main UI. The 03P model is a PIR sensor, but it still uses the ultrasonic tagged parameters to control the device. The PIR parameters all have a value of None. These parameters are settable if you have the official Sonoff hub/app.