IRC #olimex 2023-09-28

[16:13:48] <Lachezar> ACTION waves hi.
[16:16:50] <Lachezar> Looking for a solution to this: I'd like to DIY a garage door sensor. Garage door has no power nearby, so battery operated. No network equipment nearby, so wireless (LoRa, BLE, SubGhz). Looking for some Hall-Effect sensor that would report open/close to a base station (which has power and Internet). Any suggestions?
[16:34:24] <Lachezar> ... alternatively maybe a PIR sensor, but it looks like it consumes about 0.1mA. Considering a pair of AA batteries would be something like 2*1500mAh, does that mean, that it would (theoretically) live for 30000h (~3years)?
[18:35:13] <KREYREN__> Lachezar, what is the application scenario? gate openning when you get near it?
[18:36:31] <KREYREN__> if so my idea would be to use a small solar panel connected to RISCV microcontroller that is listening for a specific signal strenght from the car, but there is a risk factor of someone capturing that signal and abusing it
[18:37:09] <KREYREN__> in which case it's probably better to figure out how to route a power to it with a backup battery and integrate that as a part of smart house that you can trigger remotely
[18:37:34] <KREYREN__> as by then it's smart enough to know that if you leave that it should be monitoring where your car is to open the gate
[18:38:23] <KREYREN__> To do the runtime probably home server with service configured to do this i saw bunch of OSS projects that are doing that
[21:25:41] <Lachezar> KREYREN__: No, just sensor... Garage is underground, no solar.
[21:26:15] <Lachezar> KREYREN__: also the garage is not used as car garage, but bike garage, no car battery either.
[21:27:15] <Lachezar> I'm looking to get notifications when the garage door is opened/closed, which happens very rarely (~once a day).
[21:27:38] <Lachezar> I can handle the notifications part, I am missing the garage-door-sensor part.
[21:29:40] <mps> reed relay?