You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing a zigbee device (ESP32S3 host + ESP32H2 zcp) with I/O control functionality.
I started from esp_zigbee_host example on S3.
The H2 is running the ncp example without midification.
I think this example represents how to handle a button:
When GPIO_INPUT_IO_TOGGLE_SWITCH pin is toggled a zb command is sent.
My question is: how to implement the backward situation
So when a light on/off command is received how to handle it with the S3 host program, I just want to toggle an output.
I've found this example: HA_on_off_light
In this example the handle registered by the esp_zb_core_action_handler_register
but this function is not available in S3 host device example and the signature is missing from esp_zigbee_core
HA_on_off_light example:
Maybe the issue is this HA_on_off_light is for H2 but I don't know.
Thanks for supporting me!
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Adding action handler register for esp_zigbee_host example
Adding action handler register for esp_zigbee_host example (TZ-1518)
Jan 30, 2025
Hi All,
I'm developing a zigbee device (ESP32S3 host + ESP32H2 zcp) with I/O control functionality.
I started from esp_zigbee_host example on S3.
The H2 is running the ncp example without midification.
I think this example represents how to handle a button:
When GPIO_INPUT_IO_TOGGLE_SWITCH pin is toggled a zb command is sent.
My question is: how to implement the backward situation
So when a light on/off command is received how to handle it with the S3 host program, I just want to toggle an output.
I've found this example: HA_on_off_light
In this example the handle registered by the esp_zb_core_action_handler_register
but this function is not available in S3 host device example and the signature is missing from esp_zigbee_core
HA_on_off_light example:
![Image](https://private-user-images.githubusercontent.com/168843740/408129157-59bc35c9-2011-491e-91db-35a0a1851093.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNDEzNTMsIm5iZiI6MTczOTE0MTA1MywicGF0aCI6Ii8xNjg4NDM3NDAvNDA4MTI5MTU3LTU5YmMzNWM5LTIwMTEtNDkxZS05MWRiLTM1YTBhMTg1MTA5My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQyMjQ0MTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mN2ZmNjYzNzhiNTZhNTliMjJlNWY1ZjA5ODUwYTQ0MGQyNzUxOGMzZjEzMTc5MWEwYmIyMWY5OTQzNGM5ZGE2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.qYaRkclTb7TQ9S9BqmoV0YV8aM_WdU-g3r3-dxLlUKw)
Maybe the issue is this HA_on_off_light is for H2 but I don't know.
Thanks for supporting me!
The text was updated successfully, but these errors were encountered: