hydroqc2mqtt

hydroqc2mqtt

Docker 应用程序 from ZappyZap's Repository

概述

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

运行时参数

网络
bridge
外壳
sh
特权
false
额外参数
--restart=unless-stopped

模板配置

MQTT UsernameVariable

Optional

目标
MQTT_USERNAME
MQTT PasswordVariable

Optional

目标
MQTT_PASSWORD
MQTT HostVariable
目标
MQTT_HOST
MQTT PortVariable
目标
MQTT_PORT
默认值
1883
价值
1883
Contract 0 NameVariable

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

目标
HQ2M_CONTRACTS_0_NAME
Contract 0 UsernameVariable

Username for your HQ account

目标
HQ2M_CONTRACTS_0_USERNAME
Contract 0 PasswordVariable

Your HQ account password

目标
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’

目标
HQ2M_CONTRACTS_0_CUSTOMER
Contract 0 Account NumberVariable

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

目标
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’

目标
HQ2M_CONTRACTS_0_CONTRACT
Contract 0 Homeassistant websocket URLVariable

URL to your Home-Assistant installation websocket API

目标
HQ2M_CONTRACTS_0_HOME_ASSISTANT_WEBSOCKET_URL
Contract 0 Homeassistant TokenVariable

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

目标
HQ2M_CONTRACTS_0_HOME_ASSISTANT_TOKEN
Contract 0 Hourly sync consumption FlagVariable

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

目标
HQ2M_CONTRACTS_0_SYNC_HOURLY_CONSUMPTION_ENABLED
默认值
true
价值
true
Contract 0 RateVariable

Your rate

目标
HQ2M_CONTRACTS_0_RATE
默认值
D
Contract 0 Rate OptionVariable

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

目标
HQ2M_CONTRACTS_0_RATE_OPTION
默认值
CPC
Contract 0 Preheat durationVariable

Duration of the pre-heat period in minute

目标
HQ2M_CONTRACTS_0_PREHEAT_DURATION_MINUTES
默认值
180
Contract 0 Log LevelVariable
目标
HQ2M_CONTRACTS_0_LOG_LEVEL
默认值
INFO
价值
INFO
Contract 0 HTTP Log LevelVariable
目标
HQ2M_CONTRACTS_0_HTTP_LOG_LEVEL
默认值
WARNING
价值
WARNING

详细信息

存储库
registry.gitlab.com/hydroqc/hydroqc2mqtt:latest
最后更新2026-05-31
初见2022-09-29

在Unraid 上运行 Hydroqc2mqtt 。

Hydroqc2mqtt 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。