midstar / heatmiser_wifi_ha Goto Github PK
View Code? Open in Web Editor NEWHeatmiser Wifi Home Assistant Component
License: MIT License
Heatmiser Wifi Home Assistant Component
License: MIT License
I am trying to connect to my Heatmiser, I am sure my configured are right, but I think they might have changed the API and things aren't working anymore. Anyone can point me on the right track? I have also enabled Legacy APi on their app in case anyone needs that info.
CONFIG
climate:
- platform: heatmiser_wifi
host: 192.168.0.3
port: 4242 - I have also tried the default port, but it does not work
friendly_name: Heatmiser
LOG
2022-02-07 08:18:08 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration heatmiser_wifi which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-02-07 08:18:35 WARNING (MainThread) [homeassistant.components.climate] Setup of climate platform heatmiser_wifi is taking over 10 seconds.
2022-02-07 08:18:35 ERROR (MainThread) [homeassistant.components.climate] heatmiser_wifi: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 431, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 709, in async_device_update
await task
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/heatmiser_wifi/climate.py", line 169, in update
self._heatmiser_info = self._heatmiser.get_info()
File "/usr/local/lib/python3.9/site-packages/heatmiser_wifi/heatmiser_wifi.py", line 183, in get_info
dcb = self.get_dcb()
File "/usr/local/lib/python3.9/site-packages/heatmiser_wifi/heatmiser_wifi.py", line 155, in get_dcb
(dcb_start, dcb_data) = self._receive_dcb()
File "/usr/local/lib/python3.9/site-packages/heatmiser_wifi/heatmiser_wifi.py", line 126, in _receive_dcb
raise Exception("CRC16 mismatch in received data from Thermostat")
Exception: CRC16 mismatch in received data from Thermostat
I've updated this to add some functionality and to support the PRT-HW model.
Do you want me to submit a PR and merge, or as this project is deprecated shall I take over responsibiity for maintenance (not that I expect much)?
I also need to submit a PR to your underlying library https://github.com/midstar/heatmiser_wifi to support the new features. I see this is not deprecated.
Suggestion: You continue to maintain https://github.com/midstar/heatmiser_wifi and I take over https://github.com/midstar/heatmiser_wifi_ha
Let me know what you think / prefer
I see in the underlying library that the timeout for connection is set to 5 seconds. This is fine for one of my thermostats, but the other one seems to respond more slowly. Could that timeout be added as an optional parameter to the library and up into the HA configuration, perhaps?
Hi Midstar. After installing your Heatmiser WiFi integration from HACS it doesn’t show in HA integrations. It worked fine on my old system but after reinstall to new pi this week it doesn’t show. I’ve cleared cache and full restart but nothing. Please help this was such a great integration before.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.