AirCon icon indicating copy to clipboard operation
AirCon copied to clipboard

Cannot start docker on Synology NAS

Open xyz4tech opened this issue 3 years ago • 0 comments

Hello,

with my configuration, I keep getting the following error right after starting the docker container. The air conditioner is recognized correctly and written to the config folder. Any suggestions to fix the issue? Many thanks.

The docker Container ist configured with no customization (default values from template) except for mounting the volumes "/opt/hisense" and "/data/". "Host" is selected as network.

Source: https://registry.hub.docker.com/r/deiger/aircon/

Options.json: { "app": [ { "username": "", "password": "", "code": "fglair-eu" } ], "log_level": "INFO", "mqtt_host": null, "mqtt_user": null, "mqtt_pass": null, "port": 8888 }

Log:

2023-01-03T21:19:33.854745958Z stdout AttributeError: 'NoneType' object has no attribute 'loop'
2023-01-03T21:19:33.854683719Z stdout mqtt_client.loop()
2023-01-03T21:19:33.854509429Z stdout File "/app/aircon/main.py", line 159, in mqtt_loop
2023-01-03T21:19:33.854414102Z stdout query_status_worker(devices), notifier.start(session))
2023-01-03T21:19:33.854145060Z stdout File "/app/aircon/main.py", line 253, in run
2023-01-03T21:19:33.853995832Z stdout return future.result()
2023-01-03T21:19:33.853666864Z stdout File "/usr/local/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
2023-01-03T21:19:33.853605575Z stdout return loop.run_until_complete(main)
2023-01-03T21:19:33.853513636Z stdout File "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run
2023-01-03T21:19:33.853205543Z stdout asyncio.run(run(parsed_args))
2023-01-03T21:19:33.852889250Z stdout File "/app/aircon/main.py", line 304, in 
2023-01-03T21:19:33.852829649Z stdout exec(code, run_globals)
2023-01-03T21:19:33.852761335Z stdout File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
2023-01-03T21:19:33.852696384Z stdout "main", mod_spec)
2023-01-03T21:19:33.852543407Z stdout File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
2023-01-03T21:19:33.851492013Z stdout Traceback (most recent call last):

xyz4tech avatar Jan 03 '23 21:01 xyz4tech