Exploring Smart Home Battery Life and MQTT Integration

Hello everyone, I’ve been diving into the world of smart home technology lately and wanted to share some of my experiences and questions with the community.

First, I’ve been exploring battery life in uninterruptible power supply (UPS) units. I have several APC Smart-UPS units that are brand new and unused. I’m curious about how long their batteries will last without being charged or discharged. I know batteries degrade over time, but since these units have never been used, I’m wondering if their shelf life is significantly longer. Has anyone else experienced this with APC UPS units? I’d love to hear your insights or any best practices for maintaining battery health in unused devices.

On another note, I’ve been working on setting up MQTT 2.4 with OpenHAB to integrate some ESP8266 + DHT22 sensors for temperature and humidity monitoring. I’ve followed the setup guide and created the necessary .things file, but I’m encountering some errors in the logs. Specifically, there’s a NullPointerException when the discovery service tries to process the sensor data. I’ve double-checked my configuration, and everything seems correct, but the issue persists. I’m not sure if it’s a compatibility issue with MQTT 2.4 or if there’s a missing step in my setup. If anyone has successfully integrated similar sensors, I’d greatly appreciate any troubleshooting tips or alternative approaches.

Lastly, I’ve been experimenting with the Govee Smart Plug to automate my home’s lighting based on humidity levels using a Govee Hygro/Thermometer. The goal is to have the plug turn on when the humidity reaches a certain threshold. I’ve set up the automation, but it doesn’t trigger as expected. I suspect there might be a communication issue between the devices, possibly related to network settings or device firmware. I’m currently investigating further, but any advice on troubleshooting this setup would be invaluable.

Overall, I’m really enjoying the journey of building a smarter home, but these challenges keep me on my toes. I’m excited to connect with others who share this passion and learn from their experiences. Thanks in advance for any help or insights you can provide!