-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Motion sensor example for Zigee #10684
Comments
Hi @ilker-aktuna, there is currently no PIR endpoint available in the Zigbee library. |
ok. what is the correct path for creating my own implementation ? |
Here you can find the tempSensor EP source file. If you will have any working example + sources for the EP PIR sensor, feel free to open a pull request with this addition. I will be glad to help on that to make it available for everyone :) |
ok thank you. |
There is no default config for PIR motion sensor in esp-zigbee-sdk. You may need to create your own "default config", which means declaring the clusters it should contain. To be honest it's not that simple to do a new EP type with all the stuff around. Maybe you can keep this feature request open and I will take a look into it and add the implementation in future updates. I am planning to add a Common sensor device type, where you will be able to add any clusters into it easily. So you will be able to create a single/multi sensor device. |
ok. good. |
Hi @ilker-aktuna, you can check the PR I linked. I have added the PIR motion sensor (occupancy) endpoint. |
sorry for hijacking :-)) -> could you add environmental sensors too? CO2, VOC sensor? |
In progress right now :) almost done with the CO2. |
I could get the example from the PR but I also need the updated core library to test this. |
@P-R-O-C-H-Y |
@ilker-aktuna Please follow the Manual installation part of documentation. You can use the branch you downloaded instead of cloning :) https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#windows-manual-installation |
@P-R-O-C-H-Y |
@ilker-aktuna If you go to the Arduino IDE Tools menu -> Board: |
Related area
Zigbee , ZHA
Hardware specification
Support for motion sensor
Is your feature request related to a problem?
I am working on a motion sensor. Is the motion sensor feature available in Zigbee stack ?
if yes, where can I find an example code ?
Describe the solution you'd like
motion sensor zigbee example
Describe alternatives you've considered
No response
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: