@laoadam Your garage door safety sensors may not be aligned quite right. It could be off just enough that vibration from the door itself when opening and closing is knocking one of the sensor modules out of alignment. The same could be true if one of the wires to it is loose. Check both sensor modules to make sure they are aligned right and not loose. One should be a transmitter that shoots a beam to the other module which is the receiver. If the transmitter beam is not aligned exactly right with the receiver, it won't work. As I mentioned too, check that there are no loose or broken wires. If wires go to screw terminals, make sure those are secured properly and that none of the wire casing is getting pinched in with the wire as that may cause a partial connection that could be lost with vibration of the door.
With all that being said, this is a forum for a DIY home automation hardware platform called MySensors. Were you planning at some point to implement this for your garage door?
@Dirk_H
I use LiFe batteries in my battery sensors. they are a bit oversized, but they work just fine.
And because of the lower operating voltage I don´t need any type of voltage regulation
maybe starting to have a long timeout before turning lights off could be an idea: if you detect no movement within 15-20 minutes it is very likely nobody is there), or you can give everybody a BT tag to attack to keychain (if you do 1 or 2 BT scan and don't see any of the BT tags, turn lights off)
@Motorhomer I’m none pert but I think replacing the resistor will work. You’ll just need to adjust the values, either manually or by following the calibration calculations in the INA219 library.
You’ll be limited to 75/350= about 20% of the resolution, but depending on your use case that might not be a problem. If it is, maybe you can get a 5x smaller resistor?