Closed Jongmassey closed 3 years ago
Using this older commit seems to work though
git show
commit 24a96561ab192b26e710df487cb3e45e10af88c1 (HEAD -> master, origin/master, origin/HEAD)
Author: David Bonnes <zxdavb@bonnes.me>
Date: Tue Apr 7 09:57:05 2020 +0100
Yeah, sorry - the thing is under active development - everyone else is using it with Home Assistant, so wouldn't have see this. I have already fixed this, but not pushed it yet. You can do this workaround:
python client.py -c config.json ...
Where the config.json file is like:
{
"config": {
"use_schema": true,
"enforce_allowlist": false,
"enforce_blocklist": true,
"serial_port": "/dev/ttyUSB0",
"disable_discovery": false,
"disable_sending": false,
"packet_log": null
},
"schema": {
"controller": "01:145038"
},
"allowlist": {
"01:145038": {"name": "CTL:Controller"},
"04:056053": {"name": "TRV:FrontRoom1"},
},
"blocklist": {
"01:032820": {},
"12:207082": {"name": null },
"30:082155": {"name": "VMS:PosInputVent"},
}
}
The minimum you need is:
{
"config": {
"use_schema": true,
"disable_discovery": false,
},
"schema": {
"controller": "01:145038"
}
}
and you should read this
Many thanks, I plan on using it with HA eventually I was just doing some bench testing first.
One thing I'm slightly unclear on is:
The controller is optional, but is recommended
I don't have a honeywell controller, I plan on using HA with the nanocul dongle as a controller. From the error message it seems that controller is a required configuration value - is that correct? If so, do I need to obtain the ID from the nanocul to populate this value?
I plan on getting some TRVs but as it stands I only have the older relay unit (HC60NG) and wireless room thermostat (CMT927). I see their friendly names in the logs - how do I map these to IDs?
2020-10-22T10:30:33.920 MSG: || 043 | I | | | | THM:247796 | mixvalve_config | 016 | 01C80... || {'zone_idx': '01', 'max_flow_temp': 55, 'pump_rum_time': 15, 'actuator_run_time': 150, 'min_flow_temp': 15, 'unknown_0': 1}
2020-10-22T10:30:34.917 MSG: || 043 | I | | | | THM:247796 | mixvalve_config | 016 | 01C80... || {'zone_idx': '01', 'max_flow_temp': 55, 'pump_rum_time': 15, 'actuator_run_time': 150, 'min_flow_temp': 15, 'unknown_0': 1}
2020-10-22T10:30:35.916 MSG: || 043 | I | | | | THM:247796 | mixvalve_config | 016 | 01C80... || {'zone_idx': '01', 'max_flow_temp': 55, 'pump_rum_time': 15, 'actuator_run_time': 150, 'min_flow_temp': 15, 'unknown_0': 1}
2020-10-22T10:30:36.906 MSG: || 043 | I | | | | THM:247796 | datetime | 009 | 00380... || {'datetime': '2020-10-22 10:30:01'}
2020-10-22T10:33:55.903 MSG: || 043 | I | | | | THM:247796 | relay_demand | 002 | 000C || {'zone_idx': '00', 'relay_demand': 0.06}
2020-10-22T10:33:56.892 MSG: || 043 | I | | | | THM:247796 | relay_demand | 002 | 000C || {'zone_idx': '00', 'relay_demand': 0.06}
2020-10-22T10:33:57.899 MSG: || 043 | I | | | | THM:247796 | relay_demand | 002 | 000C || {'zone_idx': '00', 'relay_demand': 0.06}
2020-10-22T10:36:16.874 MSG: || 082 | I | | | | THM:234839 | relay_demand | 002 | 0000 || {'zone_idx': '00', 'relay_demand': 0.0}
2020-10-22T10:36:17.864 MSG: || 082 | I | | | | THM:234839 | relay_demand | 002 | 0000 || {'zone_idx': '00', 'relay_demand': 0.0}
2020-10-22T10:36:18.872 MSG: || 081 | I | | | | THM:234839 | relay_demand | 002 | 0000 || {'zone_idx': '00', 'relay_demand': 0.0}
2020-10-22T10:36:34.000 MSG: || 077 | I | | BDR:247252 | | >broadcast | actuator_enabled | 003 | 0000FF || {'actuator_enabled': False}
2020-10-22T10:40:33.920 MSG: || 043 | I | | | | THM:247796 | mixvalve_config | 016 | 01C80... || {'zone_idx': '01', 'max_flow_temp': 55, 'pump_rum_time': 15, 'actuator_run_time': 150, 'min_flow_temp': 15, 'unknown_0': 1}
2020-10-22T10:40:34.910 MSG: || 043 | I | | | | THM:247796 | mixvalve_config | 016 | 01C80... || {'zone_idx': '01', 'max_flow_temp': 55, 'pump_rum_time': 15, 'actuator_run_time': 150, 'min_flow_temp': 15, 'unknown_0': 1}
2020-10-22T10:40:35.912 MSG: || 043 | I | | | | THM:247796 | mixvalve_config | 016 | 01C80... || {'zone_idx': '01', 'max_flow_temp': 55, 'pump_rum_time': 15, 'actuator_run_time': 150, 'min_flow_temp': 15, 'unknown_0': 1}
2020-10-22T10:40:36.904 MSG: || 043 | I | | | | THM:247796 | datetime | 009 | 00380... || {'datetime': '2020-10-22 10:40:01'}
Your logs show that you are using very old code - please pull the latest version of the master branch - you will notice some of the columns disappear.
The requirement for a controller is an anachronism - the system can easily work without it, I just need to remove the relevant bug. Your controller will be found by using:
python client.py -rrr monitor ...
Unfortunately, the controller-free option is not yet available (i.e. running the heating system without a controller, as opposed to running my code without a controller) - you will need to continue using the CMT927 for now. Using a non-evohome controller is also a WIP - give me a week or so. Go to the HA forum for ongoing info.
Be aware: in some ways, the older HC60NG is superior to a BDR91A.
No longer releant
Windows 10, Python 3.8, NanoCUL with latest evofw3
running the install as per README.md
and then the client
produces the follow error output