Closed maxmib closed 1 year ago
Sorry, but you cannot do it in the firmware. Usually, motion sensors have a possibility to configure the occupancy timeout inside using a resistor or jumpers.
Sorry, but you cannot do it in the firmware. Usually, motion sensors have a possibility to configure the occupancy timeout inside using a resistor or jumpers.
Thanks,my motion sensor's occupancy timeout can't be configured in physical, maybe I can configure this in zigbee2mqtt or homeassistant.
And another question about input switch in psm mode, in power-saving mode limitation, it says only one switch should be set on a port,so how about external wake-up input ,should it be treated as a switch and can't share a port with other switch ? for example ,I set input1 as external wake-up or gpio input type using p12 and input2 as a switch using p15, is this setting ok ?When I export hex file with this setting, the ptvo firmware configuration (firmware 2022-10-22) will warn me this setting is not ok with psm mode.
And in this description ,"GPIO input, the switch mode – the firmware detects ON and OFF states’ changes by a signal rising or falling edge. The CC2530 has a hardware limitation of this implementation. You can add only one switch on pin ranges P00..P07, P10..P13, P14..P17, P20..P23. Therefore, you can have up to four switches in your configuration. If you define a switch on a pin, you cannot use other pins in the corresponding range for other sensors because it may cause problems with detecting signal edges.", does "the corresponding range" means other pins in P00..P07 if I use P01 as switch ?
My motion sensor sends the off state immediately after triggered in ptvo firmware ,but in fact it detects again in 5 seonds after triggered , so is there a way to increase the occupancy timeout in ptvo firmware? Thanks.