logo elektroda
logo elektroda
X
logo elektroda

OpenBK CB3S Door/Window Sensor Issues: PB-69W VER1.4, Battery Life, Rear Alarm Button

4139ggn 4989 43
ADVERTISEMENT
  • #31 20458452
    p.kaczmarek2
    Moderator Smart Home
    I don't know about battery yet. Maybe we can just let the battery driver be started by "startDriver Battery" in short startup command. It's always a bit easier than fully fledged scripting. Does battery need any more configuration than just starting the driver? What are the requirements?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #32 20458521
    dheenhasty
    Level 13  
    The high level and low level voltage, and the divider apply on ADC.

    Honestly it should be something apply at template level just like the pin ......
  • #33 20458534
    p.kaczmarek2
    Moderator Smart Home
    Templates can set short startup command. That would be the correct way.

    Btw, regarding scripts, I've been thinking about making a database of example scripts. What kind of devices do you have, @dheenhasty ?
    Helpful post? Buy me a coffee.
  • #34 20458539
    dheenhasty
    Level 13  
    Yes it could be enough. a startDriver Battery; Battery_setup 2000 3000 2.29

    I was thinking about something similaire a script database with sensor/usecase
    I only have generic temp/hum sensor.
  • ADVERTISEMENT
  • #35 20458713
    4139ggn
    Level 5  
    Well, for now it's still working...
    Now I go out for a few days to work. So when I get back I'll start over.
    I have to see why it gives me negative values in consumption and battery leakage. And see what other advances there are.
    I think I found one of the back buttons. But I don't know how to give it the "reset" option, for example. And the alarm button that gives an emergency warning or something like that.
    Thanks, people!
  • #36 20458898
    p.kaczmarek2
    Moderator Smart Home
    What would you like that special button to do?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #37 20460745
    4139ggn
    Level 5  
    I would like to try to leave it as it is from the factory.
    Honestly, I can't think of any other utility for that button. Could we trigger a warning like "disassembled sensor" or something like that?
  • #38 20460758
    p.kaczmarek2
    Moderator Smart Home
    It should be possible via scripting.
    But for factory, the button was enabling AP mode for setup, right?
    Helpful post? Buy me a coffee.
  • #39 20468702
    4139ggn
    Level 5  
    No.
    On the back it has two buttons:
    One that protrudes from the lid and acts as an alarm button if it is removed.
    Inside the cover, it has another button that is the one that resets and puts it in AP mode.
    Would there be a way to see the battery level without MCU?

    I'm still away from home, so I can't test....
  • #40 20472444
    4139ggn
    Level 5  
    Hello good! Ready to start testing again!
    Today, I turned on the door sensor again. Initially, Home Assistant has found it in one go and shows the status.
    That was several hours ago.
    Right now, it appears as closed. And when I open the door, I see that the LED lights up. But it doesn't send any message...
    Also, since it's "asleep", I can't access its IP...
    Would you please guide me?
    Thank you!
  • ADVERTISEMENT
  • #41 20473211
    p.kaczmarek2
    Moderator Smart Home
    You can recover device by removing batteries and waiting several minutes until capacitors are discharged.

    How did you configure the pins? Are you 100% sure that the pin you configured as door sensor is really such a sensor? Because if you configured wrong pin, then it wouldn't be able to wake up..
    Helpful post? Buy me a coffee.
  • #42 20474038
    4139ggn
    Level 5  
    OpenBK CB3S Door/Window Sensor Issues: PB-69W VER1.4, Battery Life, Rear Alarm Button

    Since yesterday, he doesn't know when I open or close the door.
    However, the LED does light up when it is open.
    Regarding the pin configuration, I am 99% sure that it is correct. In tests, it was the only one that worked...
  • #43 20474207
    p.kaczmarek2
    Moderator Smart Home
    Are you sure that you are using latest OBK version?

    Do you have any custom scripts with "PinDeepSleep" or "DeepSleep" commands used?
    Helpful post? Buy me a coffee.
  • #44 20477075
    4139ggn
    Level 5  
    Hello!
    Yesterday I updated to the latest version.
    I set up again and it seemed to work fine. But it stayed in the open state and does not change.
    The first thing I would like to set up would be the battery monitor theme. Since right now, I don't know if it's a battery problem or a configuration problem.
    It gives me two values:
    Voltage: (0.000v)
    Battery: (-200%)

    How could I adjust this to obtain more or less real values and know if it is a battery or configuration problem?
    Then I'll start again with the configuration from 0.

    Thanks for your help!

Topic summary

The discussion revolves around issues faced with OpenBK flashed CB3S door/window sensors, specifically the PB-69W VER 1.4 model. Users report problems with battery life, with batteries lasting only 5-6 hours, and difficulties in re-establishing Wi-Fi connections after the sensors enter deep sleep mode. Solutions proposed include enabling PowerSave features and implementing a DeepSleep mode with wakeup on IO events. Users also discuss the configuration of pins for the door sensor and the functionality of a rear alarm button. There are mentions of firmware updates and the need for proper pin configuration to ensure the sensors operate correctly. The conversation highlights troubleshooting steps, including reflashing firmware and using tools like RealTerm for debugging.
Summary generated by the language model.
ADVERTISEMENT