You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
# THIS YAML CAN CHANGE IN THE FUTURE
timeout: 30
# If frequency is not set the "daemon" will collect the data only one time and stop
# 6 hours
frequency: 8640
accounts:
- username: "MY_EMAIL_ADDRESS"
password: "MY_PASSWORD"
contracts:
- id: "333333333"
- id: "444444444"
docker logs output:
(...)
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:27,211 - INFO - pyhydroquebec - Selecting customer 5555555555
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:27,212 - DEBUG - pyhydroquebec - HTTP query https://cl-services.idp.hydroquebec.com/cl/prive/api/v3_0/partenaires/infoBase to get
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:27,460 - DEBUG - pyhydroquebec - HTTP query https://cl-ec-spring.hydroquebec.com/portail/prive/maj-session/ to get
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:28,115 - DEBUG - pyhydroquebec - HTTP query https://cl-ec-spring.hydroquebec.com/portail/fr/group/clientele/gerer-mon-compte/ to get
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:29,227 - DEBUG - pyhydroquebec - HTTP query https://cl-ec-spring.hydroquebec.com/portail/fr/group/clientele/portrait-de-consommation to get
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:29,639 - INFO - pyhydroquebec - Customer 5555555555 selected
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:29,639 - DEBUG - pyhydroquebec - HTTP query https://cl-ec-spring.hydroquebec.com/portail/fr/group/clientele/gerer-mon-compte/ to get
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:30,607 - INFO - pyhydroquebec.customer.5555555555 - Customer has no contract
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:30,608 - DEBUG - pyhydroquebec - HTTP query https://cl-ec-spring.hydroquebec.com/portail/fr/group/clientele/portrait-de-consommation to get
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:30,923 - WARNING - mqtt-hydroquebec - Contract 333333333 not found
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:30,923 - WARNING - mqtt-hydroquebec - Contract 444444444 not found
pyhydroquebec_1_a96773151419 | 2019-12-29 01:17:30,926 - INFO - mqtt-hydroquebec - Waiting for 8640 seconds before the next check
Expected behavior
The deamon would run and publish data on mqtt.
PyHydroQuebec and Python version
Please write here which version of Python and PyHydroQuebec you are using.
pyhydroquebec==3.0.0
python version: python:3.7-alpine
Architecture: ARM (Raspberry Pi 3 Model B Rev 1.2)
Hydroquebec rate
Select your rate:
D (For the second account)
DP
DM
DT (For the main account)
Hydroquebec multi-contract
Do you have more than one contract with HydroQuebec ?
Yes (2)
No
Corner Cases
Are you in one of this situations:
Change of address
Change of rate
Add a new contract
Remove an old contract
No
Other:
The text was updated successfully, but these errors were encountered:
Describe the bug
The Deamon won't find my contract ids. See the log output.
To Reproduce
Steps to reproduce the behavior:
Fetch the code from github:
git clone git@github.com:titilambert/pyhydroquebec.git
Run it:
docker-compose -f docker-compose.yaml up pyhydroquebec
Simplified version of
docker-compose.yaml
file:pyhydroquebec-variables.env
file:pyhydroquebec_config.yaml
file:docker logs output:
Expected behavior
The deamon would run and publish data on mqtt.
PyHydroQuebec and Python version
Please write here which version of Python and PyHydroQuebec you are using.
pyhydroquebec==3.0.0
python version: python:3.7-alpine
Architecture: ARM (Raspberry Pi 3 Model B Rev 1.2)
Hydroquebec rate
Select your rate:
Hydroquebec multi-contract
Do you have more than one contract with HydroQuebec ?
Corner Cases
Are you in one of this situations:
The text was updated successfully, but these errors were encountered: