Giter VIP home page Giter VIP logo

waterfurnace's Introduction

waterfurnace

Documentation Status Updates

Python interface for waterfurnace geothermal systems.

This provides basic sensor readings for waterfurnace geothermal systems by using the websocket interface that exists for the symphony website. This is not a documented or stable interface, so don't use this for critical systems. However, it is useful to record historical usage of your waterfurnace system.

Usage

from waterfurnace.waterfurnace import WaterFurnace
wf = WaterFurnace(user, pass)
wf.login()
data = wf.read()

The waterfurnace symphony service websocket monitors it's usage, so you need to do a data reading at least every 30 seconds otherwise the websocket is closed on the server side for resource constraints. The symphony website does a poll on the websocket every 5 seconds.

Known Issues / limitations

  • The python websocket code goes into a blocked state after long periods of usage (always takes days to get to this state). I've yet to discover why. Help welcome.
  • If you have multiple waterfurnace units on one account, this will only use the first.

License

  • Free software: Apache Software License 2.0

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

waterfurnace's People

Contributors

sdague avatar mdallaire avatar

Stargazers

Ed avatar Mark Pavlidis avatar Johnathon Sanders avatar Chris Wulff avatar Paul Tyng avatar  avatar Ryan Peck avatar  avatar Lisa Rushworth avatar John Hogenmiller avatar Nick Horvath avatar

Watchers

 avatar James Cloos avatar  avatar Ryan Peck avatar Derek Muensterman avatar  avatar  avatar

waterfurnace's Issues

waterfurnace.waterfurnace.WFWebsocketClosedError

  • waterfurnace version: 7.0
  • Python version: 3.6
  • Operating System: Docker image : homeassistant/home-assistant

Description

I have a freshly installed geothermal pump with Aurora weblink linked to Symphony that I am trying to use with Home-Assistant. The Symphony website works correctly outside of Home-Assistant.

What I Did

After configuring the component I get the following:



`Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/waterfurnace/waterfurnace.py", line 164, in read
    datadecoded = json.loads(data)
  File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2018-11-07 10:46:27 ERROR (Thread-2) [homeassistant.components.waterfurnace] Failed to read data, attempting to recover
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/waterfurnace/waterfurnace.py", line 164, in read
    datadecoded = json.loads(data)
  File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/app/homeassistant/components/waterfurnace.py", line 149, in run
    self.data = self.client.read()
  File "/usr/local/lib/python3.6/site-packages/waterfurnace/waterfurnace.py", line 174, in read
    raise WFWebsocketClosedError()
waterfurnace.waterfurnace.WFWebsocketClosedError

home-assistant/core#18306

Add sensors

  • waterfurnace version: 1.1.0
  • Python version: 3.7
  • Operating System: Windows 10

Description

I was trying to retrieve the Leaving Water Temperature (LWT) and the loop flow rate data that
is available on some Water Furnace units. The current waterfurnace code does not support
these sensors.

What I Did

Looked at the code and did not see the LeavingWaterTemp and WaterFlowRate sensors
being queried.  

Any more development?

  • waterfurnace version:Series 7
  • Python version: 3.7
  • Operating System: Docker HA

Description

Just curious - Is there likely to be any future development on this and the integration to home assistantwith respect to any of the following?

  1. Supporting multiple units under a single symphony account
  2. Supporting multiple stats on a single unit. It looks like it currently just pulls the main stat
  3. Adding any write-back to be able to change temp

Appreciate all the work that has gone into this project already!

M

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.