I’m looking for help to build a custom integration for a smart thermostat system into Home Assistant. This thermostat uses an API for device communication, including retrieving status and sending temperature settings. From my understanding, it uses a JWT token for authorisation, likely acquired during login, but I need assistance to move forward especially anyone familiar with similar projects like the Hive integration by @Rendili
Here’s what I need help with:
- Authentication
- Automating the login process to dynamically fetch and handle tokens required for API communication.
- Properly managing token expiration and re-authentication within the integration.
- Home Assistant Integration Structure
- Guidance on setting up the integration framework, including configuration entries, polling updates, and service calls.
- Handling the API responses and converting them into Home Assistant entities for monitoring and control.
- HACS:
- Ensuring the integration follows Home Assistant’s guidelines and standards for clean and efficient implementation.
This is an interesting thermostat as it has the ability to add other sensors by way of Z-wave . It pairs to sensors such as energy clamps and co monitor so may be room for more features in future
I’d appreciate guidance or collaboration from anyone with experience creating custom integrations, especially if you’ve worked on thermostat systems or similar projects. Any advice, examples, or starting points would be incredibly helpful.
Thanks in advance!