Skip to content

(Deprecated look at the README) - HASS addon code for pyhydroquebec integration

License

Notifications You must be signed in to change notification settings

arsenicks/pyhydroquebec-hass-addons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi, I've neglected this repository for too long and I should have updated this before.


This project is now unsupported because the pyhydroquebec python library I used has been renamed and reworked from scratch.


Don't feel bad, it's now really better and this project has been merged into the gitlab project. So there's an addon you can use in HA too.

New project website: https://hydroqc.ca/fr/

Gitlab project: https://gitlab.com/hydroqc

Hass-addon repository: https://gitlab.com/hydroqc/hydroqc-hass-addons

There's even a Discord if you have questions or want to contribute: https://discord.gg/2NrWKC7sfF

I'll close this issue and the other than update the readme with the information above.

Thanks, have a great day!


pyhydroquebec-hass-addons

HASS addon code for pyhydroquebec integration.

Supported Arch: Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 Architecture

Work in progress, please report any issue.

Install

Option 1: click this button: Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

Option 2: Go in the supervisor page -> Add-on Store -> click on the vertical "..." on the top right of the page, add this repository: https://github.com/arsenicks/pyhydroquebec-hass-addons.git

Once completed, go into the pyhydroquebec addon and click install.

Setup/Configuration

First, create a file named "pyhq-config.yaml" in your hass config directory. You can use the pyhq-config.yaml included in this directory as example.

Then add all the required configurations item in the Config tab of the add on. There's currently two places where you have to enter your HQ user/pass and contract number(config files and inside the config tab of the addon), this should be fixed soon.

TODO

  • Find a way to use only ENV vars and get rid of the config file
  • Improve entrypoint.sh to test if required vars are set
  • Try to add some logic, if HQ user/pass are set but not contract number, try to print contract in log and stop
  • Rebuild image using hass add-on tooling(https://github.com/home-assistant/builder) and better understand the whole image thing in hass add-on
  • Cleanup of name, repos url and other stuff.

Let me know your feeling, suggestions, ideas.

About

(Deprecated look at the README) - HASS addon code for pyhydroquebec integration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages