hydroqc2mqtt

hydroqc2mqtt

Application Docker from ZappyZap's Repository

Vue d'ensemble

This project was created to provide a way to access Hydro-Québec account and winter credit data in Home-Assistant. This module use the hydroqc library to fetch all pertinent account information and winter credit signals to be sent to MQTT. It also provide Home-Assistant discovery topics to create all the relevant sensors in Home-Assistant. It also includes a separate logic that sends the hourly consumption statistics to Home-Assitant via websocket

Arguments d'exécution

Réseau
bridge
Coquille
sh
Privilégié
false
Paramètres supplémentaires
--restart=unless-stopped

Configuration du modèle

MQTT UsernameVariable

Optional

Cible
MQTT_USERNAME
MQTT PasswordVariable

Optional

Cible
MQTT_PASSWORD
MQTT HostVariable
Cible
MQTT_HOST
MQTT PortVariable
Cible
MQTT_PORT
Défaut
1883
Valeur
1883
Contract 0 NameVariable

Name of the contract, will appear in Home Assistant and in the hydroqc topics.

Cible
HQ2M_CONTRACTS_0_NAME
Contract 0 UsernameVariable

Username for your HQ account

Cible
HQ2M_CONTRACTS_0_USERNAME
Contract 0 PasswordVariable

Your HQ account password

Cible
HQ2M_CONTRACTS_0_PASSWORD
Contract 0 Customer numberVariable

Customer number (Numéro de client) from your invoice. 10 digits, you may need to add a leading 0 to the value Ex: ‘987 654 321’ will be ‘0987654321’

Cible
HQ2M_CONTRACTS_0_CUSTOMER
Contract 0 Account NumberVariable

Account Number (Numéro de compte) from your invoice

Cible
HQ2M_CONTRACTS_0_ACCOUNT
Contract 0 Contract numberVariable

Contract Number (Numéro de contrat) from your invoice. 10 digits, you may need to add a leading 0 to the value. Ex: ‘123 456 789’ will be ‘0123456789’

Cible
HQ2M_CONTRACTS_0_CONTRACT
Contract 0 Homeassistant websocket URLVariable

URL to your Home-Assistant installation websocket API

Cible
HQ2M_CONTRACTS_0_HOME_ASSISTANT_WEBSOCKET_URL
Contract 0 Homeassistant TokenVariable

Long-lived Home-Assistant access token to be used to access the API

Cible
HQ2M_CONTRACTS_0_HOME_ASSISTANT_TOKEN
Contract 0 Hourly sync consumption FlagVariable

Enable importing hourly consumption from Hydro-Quebec (last 24h)

Cible
HQ2M_CONTRACTS_0_SYNC_HOURLY_CONSUMPTION_ENABLED
Défaut
true
Valeur
true
Contract 0 RateVariable

Your rate

Cible
HQ2M_CONTRACTS_0_RATE
Défaut
D
Contract 0 Rate OptionVariable

Rate option for the contract must be 'NONE' if you do not have one.

Cible
HQ2M_CONTRACTS_0_RATE_OPTION
Défaut
CPC
Contract 0 Preheat durationVariable

Duration of the pre-heat period in minute

Cible
HQ2M_CONTRACTS_0_PREHEAT_DURATION_MINUTES
Défaut
180
Contract 0 Log LevelVariable
Cible
HQ2M_CONTRACTS_0_LOG_LEVEL
Défaut
INFO
Valeur
INFO
Contract 0 HTTP Log LevelVariable
Cible
HQ2M_CONTRACTS_0_HTTP_LOG_LEVEL
Défaut
WARNING
Valeur
WARNING

Catégories

Détails

Référentiel
registry.gitlab.com/hydroqc/hydroqc2mqtt:latest
Dernière mise à jour2026-05-31
Première vue2022-09-29

Exécutez Hydroqc2mqtt sur Unraid.

Hydroqc2mqtt est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.