I’m running HA on a battery powered raspberry pi and need to get the battery to last longer. Any ideas?
What I’ve done:
reduce weather update interval to 12 hours.
reduce device_tracker gps logger interval_seconds to 86400 (I think that means it will look for new devices once/day.
What I can’t figure out how to do:
reduce update interval for my ios devices that are being tracked.
reduce the update interval for data from gps logger.
Have my home assistant hibernate/wake up on a specified schedule
Anything else that would reduce power consumption
Please point me in the right direction for documentation, teach me how to do any of those things, or share other ideas to reduce my power consumption. Thanks!
I would also like to know why you are trying this, and what length of time your batteries last at the moment.
I don’t feel that the sort of changes you are talking about will actually make much difference to the battery life - the Pi is doing too much already as a Linux computer - but I don’t have any data about it so would also be interested to see how much difference it does make.
I don’t see how setting the gps_logger interval to once a day is going to be of any use for presence detection. How are you using it?
I’m running on a battery because I’m using the pi in my car. With a 10,000mah anker battery I can run the pi for about 30 hours right now. Right now I am just using it to control my locks, windows, and starter.
I think my best options right now are to under lock the cpu and to put a small solar panel on my dash.