GithubHelp home page GithubHelp logo

midstar / heatmiser_wifi_ha Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 3.0 6 KB

Heatmiser Wifi Home Assistant Component

License: MIT License

Python 100.00%
homeassisant python heatmiser wifi hacs thermostat climate

heatmiser_wifi_ha's People

Contributors

midstar avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

heatmiser_wifi_ha's Issues

CRC16 mismatch in received data from Thermostat

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

Updated version

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

Customise timeout

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?

Integration not showing

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.