smartboxchannel / EFEKTA_eON29wz

Indoor climate sensor EFEKTA_eON29wz with e-ink display
MIT License
1 stars 0 forks source link

Question: msg reception and gpio interrupt #1

Open hilsonp opened 1 year ago

hilsonp commented 1 year ago

Hello Andrew.

Congratulations for your awesome devices ! For a long time I would like to create a battery powered node based on a CC2530.

My wish is to have those node be seen as zigbee devices reporting values but also being able to receive orders and react to gpio interrupts.

For example, I would like to force the e-paper display refresh. Another example would be to change the state of a relay (for a few seconds) when I change a state in home assistant. Or do something when I press a button (gpio interruption). All this while remaining powered by battery (so no polling).

Your examples show code that will expose data over zigbee while being power efficient (and run on batteries for monthes).

I went through all your zigbee projects but could not find example of:

Would you have any suggestion/pointer/reference to help me ?

Thank you very much in advance.

smartboxchannel commented 1 year ago

Hi,

https://github.com/smartboxchannel/EFEKTA_eON213z/tree/main/PROJECT%20SOURCE/EINK213TH_SIMPLE_TEST

пт, 11 нояб. 2022 г. в 02:47, Pierre Hilson @.***>:

Hello Andrew.

Congratulations for your awesome devices ! For a long time I would like to create a battery powered node based on a CC2530.

My wish is to have those node be seen as zigbee devices reporting values but also being able to receive orders and react to gpio interrupts.

For example, I would like to force the e-paper display refresh. Another example would be to change the state of a relay when I change a state in home assistant. Or do something when I press a button (interruption). All this while remaining powered by battery (so no polling).

Your examples show code that will expose data over zigbee while being power efficient (and run on batteries for monthes).

I went through all your zigbee projects but could not find example of:

  • wake up based on gpio interrupt
  • quickly react based on received message over zigbee

Would you have any suggestion/pointer/reference to help me ?

Thank you very much in advance.

— Reply to this email directly, view it on GitHub https://github.com/smartboxchannel/EFEKTA_eON29wz/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTEF7Q5TC2XLYPVPEM2CHLWHWCSZANCNFSM6AAAAAAR5CX424 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

hilsonp commented 1 year ago

Thank you. I missed the fact that it was dealing with received messages.