When I try to run smartmeter-datacollector from the terminal (linux ubuntu machine), I get this error. The software is installed as a debian package
WARNING:root:No config file found. Using default config.
DEBUG:asyncio:Using selector: EpollSelector
INFO:smartmeter:Successfully set up L+G E450 smart meter on '/dev/ttyUSB0'.
ERROR:sink:[Errno 111] Connection refused
INFO:root:App shutting down now.
ERROR:sink:[code:4] Could not disconnect
INFO:sink:Disconnected from MQTT broker.
Traceback (most recent call last):
File "/usr/bin/smartmeter-datacollector", line 14, in <module>
app.main()
File "/usr/lib/python3/dist-packages/smartmeter_datacollector/app.py", line 68, in main
asyncio.run(build_and_start(app_config), debug=debug_mode)
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/usr/lib/python3/dist-packages/smartmeter_datacollector/app.py", line 27, in build_and_start
await asyncio.gather(
File "/usr/lib/python3/dist-packages/smartmeter_datacollector/smartmeter/lge450.py", line 100, in start
await self._serial.start_and_listen()
File "/usr/lib/python3/dist-packages/smartmeter_datacollector/smartmeter/serial_reader.py", line 44, in start_and_listen
data: bytes = await self._serial.read_until_async(self._termination, None)
File "/usr/local/lib/python3.8/dist-packages/aioserial/aioserial.py", line 106, in read_until_async
return await self.loop.run_in_executor(
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.8/dist-packages/serial/serialutil.py", line 663, in read_until
c = self.read(1)
File "/usr/local/lib/python3.8/dist-packages/serial/serialposix.py", line 595, in read
raise SerialException(
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
When I try to run smartmeter-datacollector from the terminal (linux ubuntu machine), I get this error. The software is installed as a debian package