Hello Thomas and MDAR,
whatever I try to get the VMB1USB interface to work with Home Assistant on a Raspberry Pi 3 it does not work.
I have tried to change the entry of the configuration.yaml file several times, see below:
velbus:
** port: ‘/dev/ttyUSB00’**
to
velbus:
** port: /dev/ttyUSB00**
but also to
velbus:
** port: ‘/dev/ttyACM0’**
and also this one
velbus:
** port: /dev/ttyACM0**
It does NOT work
Here is my latest output of /config/home-assistant.log
2017-10-16 20:45:51 ERROR (SyncWorker_4) [velbus] Could not open serial port, no messages are read or written to the bus
2017-10-16 20:45:51 ERROR (MainThread) [homeassistant.setup] Error during setup of component velbus
Traceback (most recent call last):
** File “/usr/lib/python3.6/site-packages/serial/serialposix.py”, line 244, in open**
** self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)**
FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB00’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
** File “/usr/lib/python3.6/site-packages/velbus/connections/init.py”, line 60, in init**
** rtscts=self.RTSCTS)**
** File “/usr/lib/python3.6/site-packages/serial/serialutil.py”, line 182, in init**
** self.open()**
** File “/usr/lib/python3.6/site-packages/serial/serialposix.py”, line 247, in open**
** raise SerialException(msg.errno, “could not open port {}: {}”.format(self._port, msg))**
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB00: [Errno 2] No such file or directory: '/dev/ttyUSB00’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
** File “/usr/lib/python3.6/site-packages/homeassistant/setup.py”, line 194, in _async_setup_component**
** component.setup, hass, processed_config)**
** File “/usr/lib/python3.6/asyncio/futures.py”, line 331, in iter**
** yield self # This tells Task to wait for completion.**
** File “/usr/lib/python3.6/asyncio/tasks.py”, line 244, in _wakeup**
** future.result()**
** File “/usr/lib/python3.6/asyncio/futures.py”, line 244, in result**
** raise self._exception**
** File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 55, in run**
** result = self.fn(self.args, self.kwargs)
** File “/usr/lib/python3.6/site-packages/homeassistant/components/velbus.py”, line 33, in setup*
** connection = velbus.VelbusUSBConnection(port)**
** File “/usr/lib/python3.6/site-packages/velbus/connections/init.py”, line 64, in init**
** raise VelbusException(“Could not open serial port”)**
velbus.connections.VelbusException: 'Could not open serial port’
2017-10-16 20:45:55 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-10-16 20:45:57 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
2017-10-16 20:46:21 WARNING (SyncWorker_13) [netdisco.ssdp] Error fetching description at http://192.168.1.65:40000/device_description
Can you please help me to get this to work?
Thnak you,
GiGi