I am just jumping into this thread to mention a few things.
If power is a concern the Raspberry Pi is going to be a pretty bad choice for usage with solar panels and batteries. I would use an ESP8266 or ESP32 for the automation side of things. The Raspberry Pi is overpowered, adds complexity...