Hi there,
So I started playing with the nanoCUL USB I bought on ebay.
My plan is to control the BDR91 wireless relay with it and integrate it in HA.
My HA setup runs in a docker env inside a VM. I managed to map the /dev/ttyUSB0 and install evohome_rf (not integrated yet).
I have no idea if I need to flash the nanoCUL device and with which firmware.
I’m trying to collect debug logs with evohome_rf but I got this error:
bash-5.0# python client.py monitor /dev/ttyUSB0
config {'schema': {}, 'allowlist': {}, 'blocklist': {}, 'use_schema': True, 'disable_discovery': True, 'disable_sending': False, 'evofw_flag': None, 'enforce_blocklist': True, 'enforce_allowlist': False, 'max_zones': 12, 'packet_log': 'packet.log', 'reduce_processing': 0, 'debug_mode': 0, 'serial_port': '/dev/ttyUSB0', 'execute_cmd': None, 'poll_devices': [], 'probe_devices': []}
Starting evohome_rf...
07:57:30.585 Starting evohome_rf, **config = {'schema': {}, 'allowlist': {}, 'blocklist': {}, 'use_schema': True, 'disable_discovery': True, 'disable_sending': False, 'evofw_flag': None, 'enforce_blocklist': True, 'enforce_allowlist': False, 'max_zones': 12, 'packet_log': 'packet.log', 'reduce_processing': 0, 'debug_mode': 0, 'execute_cmd': None, 'poll_devices': [], 'probe_devices': []}
Traceback (most recent call last):
File "client.py", line 173, 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 85, in monitor
debug_wrapper(**obj, **kwargs)
File "client.py", line 121, in debug_wrapper
asyncio.run(main(serial_port, **config))
File "/usr/local/lib/python3.8/asyncio/runners.py", line 43, 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 136, in main
gwy = Gateway(serial_port, loop=loop, **config)
File "/config/evohome_rf/evohome_rf/__init__.py", line 131, in __init__
load_schema(self, self._schema) if self.config["use_schema"] else {}
File "/config/evohome_rf/evohome_rf/schema.py", line 232, in load_schema
schema = SYSTEM_SCHEMA(schema)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: required key not provided @ data['controller']
Any idea what could be wrong?