Git Product home page Git Product logo

heatmiser-wifi's Introduction

Supports reading and setting the temperature on a thermostat and giving it a custom name. The files here are a mash up of the built in heatmiser component and the wifi code I found at https://github.com/midstar/heatmiser_wifi so they get the real credit.

To install put these files in config/custom_components/climate/ and in your config yaml put

climate:

  • platform: heatmiserWIFI name: Thermostat # Optional. Gives the thermostat a custom name instead of the default 'Heatmiser WIFI' ipaddress: 192.168.0.12 # ip address of your thermostat port: 8068 # port of thermostat. 8068 is the default pin: !secret thermostat_pin # access pin for thermostat. Default is 0000 sensor: floor_temp # Optional. reads the temperature from the thermostats' floor sensor instead of the default air sensor 'air_temp'

This is a work in progress so use at your own risk. After testing I'll clean up the files and submit a pull request to get them into Home Assistant properly.

heatmiser-wifi's People

Contributors

dave-dodson avatar

Stargazers

 avatar Nicholas Carter avatar

Watchers

James Cloos avatar  avatar  avatar Stuart avatar

Forkers

nicholas-c nmpnmp

heatmiser-wifi's Issues

Couple of errors with Home assistant 0.89.2

Hey! First off thanks so much for open sourcing this... Very helpful, I hope you're willing to help (I can paypal a beer)

my config file is as follows...

climate:
  - platform: heatmiserWIFI
    name: Thermostat temperature
    ipaddress: 192.168.0.100
    port: 8068
    pin: 1234
    sensor: air_temp

After copying the files wget to custom_components folder...

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/loader.py", line 166, in _load_file
    module = importlib.import_module(path)
  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 673, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/home/homeassistant/.homeassistant/custom_components/heatmiserWIFI/climate.py", line 11, in <module>
    from homeassistant.components.climate import (
ImportError: cannot import name 'SUPPORT_TARGET_TEMPERATURE'
2019-03-21 23:25:52 ERROR (MainThread) [homeassistant.loader] Unable to find platform heatmiserWIFI.

So in heatmiserWIFI.py I imported SUPPORT_TARGET_TEMPERATURE from from homeassistant.components.climate.const instead...

All okay so far...

But I just get this now everytime when restarting, no other errors...

2019-03-21 23:28:43 WARNING (MainThread) [homeassistant.components.climate] Setup of platform heatmiserWIFI is taking over 10 seconds.
2019-03-21 23:29:33 ERROR (MainThread) [homeassistant.components.climate] Setup of platform heatmiserWIFI is taking longer than 60 seconds. Startup will proceed without waiting any longer.
2019-03-21 23:29:33 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 61.2 seconds.

Any ideas at all?

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.