All right, sorry for this confusion. So, after running this command: sudo python3.8 client.py monitor /dev/ttyUSB0
and changing the requested temperature, I got this:
client.py: Starting evohome_rf...
2020-11-15T17:09:50.203354 # evofw3 0.4.4
2020-11-15T17:09:55.658374 || | THm:193204 | I | setpoint | 010866 || {'other_idx': '01', 'setpoint': 21.5}
client.py: Finished evohome_rf, results:
Schema[gateway] = {"main_controller": null, "orphans": ["12:193204"]}
Params[gateway] = {"devices": {"12:193204": {}}}
Status[gateway] = {"devices": {"12:193204": {"temperature": null, "setpoint": 22.0, "battery_state": null}}}
client.py: Finished evohome_rf.
This gives me the controller ID.
I ran this: sudo python3.8 client.py execute /dev/ttyUSB0 --device-id 12:193204 -o deep_probe.log
I got the following error:
client.py: Starting evohome_rf...
17:12:41.925 Discovery scripts specified, so disabling probes
Traceback (most recent call last):
File "client.py", line 213, in <module>
cli()
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "client.py", line 104, in execute
debug_wrapper(**obj, **kwargs)
File "client.py", line 141, in debug_wrapper
asyncio.run(main(serial_port, **config))
File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "client.py", line 164, in main
await task
File "/home/pi/evohome_rf-bleeding_edge/evohome_rf/__init__.py", line 227, in start
await asyncio.gather(*self._tasks)
File "/home/pi/evohome_rf-bleeding_edge/evohome_rf/discovery.py", line 78, in get_device
device = gwy._get_device(dev_addr, ctl_addr=dev_addr)
File "/home/pi/evohome_rf-bleeding_edge/evohome_rf/__init__.py", line 263, in _get_device
self.evo = ctl._evo
AttributeError: 'Thermostat' object has no attribute '_evo'