ptvoinfo / zigbee-configurable-firmware

PTVO firmware for CC2530, CC2531, and CC2652 Zigbee chips
https://ptvo.info/zigbee-configurable-firmware-features/
MIT License
211 stars 22 forks source link

Add support for timer #174

Closed fensoft closed 1 year ago

fensoft commented 1 year ago

Like a timer button, when "on message" is sent, the output will be set to off x sec later. If another "on message" is sent, timer is reset.

ptvoinfo commented 1 year ago

@fensoft Do you mean the "On" message when the timer is still active?

fensoft commented 1 year ago

Yes.

If time is 60s:

Press on-> wait 60s->Auto off Press on->wait 30s->press on->wait 60s->auto off

ice2009 commented 1 year ago

Hello it possible make timer how ask user on up? for the switch and gpio ?

ptvoinfo commented 1 year ago

@ice2009 Sorry, but I didn't understand your question.

ice2009 commented 1 year ago

i See you add timer to pulse switch . Switch turn off automaticly. It possible change seconds to miliseconds?

ptvoinfo commented 1 year ago

@ice2009 No, this timer can measure seconds only. You can implement short timers using the "trigger" command (https://ptvo.info/zigbee-configurable-firmware-features/gpio/).