I’ve been exploring the potential of integrating my web-based thermostat controller into the Hubitat ecosystem to enable voice control via Alexa or Google Home. Here’s my journey so far:
Background:
As part of a pilot program with my power company, I’ve been using their web interface to control my A/C. While this setup works, it’s limited to their proprietary system and lacks integration with my home automation setup. My goal is to bridge this gap using Hubitat.
Current Setup:
I’ve already developed a script using Selenium WebDriver to interact with the power company’s website. This allows me to control the thermostat from my desktop. My next step is to bring this functionality into Hubitat.
Challenges and Thoughts:
- Raspberry Pi Integration: I’m considering running my existing script on a Raspberry Pi and creating a socket connection between the Pi and Hubitat. This would allow me to send commands from Hubitat to the Pi and back.
- Hubitat Development: I’m a bit unsure about where to start within Hubitat. Should I create a custom device, an app, or a driver? I’m open to any suggestions and would appreciate guidance on best practices.
Questions for the Community:
- What is the most efficient way to integrate a web-based controller into Hubitat?
- Are there existing drivers or apps that could simplify this process?
- How can I ensure reliable communication between the Raspberry Pi and Hubitat?
Looking Forward:
I’m excited to dive deeper into Hubitat’s capabilities and would love to hear from anyone who has tackled a similar project. Whether it’s sharing tips, pointing me toward resources, or offering technical advice, your insights would be invaluable!
Thanks in advance for your help and support!