Hello,
Since this week I own a Intel Nuc for Home Asssistant.
And I can’t get P1 to Work!
After some years using (micasaverde) GetVera, I decided to leave the Vera and started with Home Assistant. First I have tested it on a Rpi3.
And I realy love it!
Since this week I am migrating devices to my Home Assistent. It is installed on a (Docker) Intel Nuc.
But right now I can’t get the P1 to show up in Home Assistant.
What I did ?
Read this forum
And this is what I got right now:
In my configuration:
sensor:
-platform: dsmr
host: /dev/ttyUSB0
dsmr_version: 2.2
I have checked that the P1 is connected:
ls /dev/tty
/dev/ttyACM0 (Z-wave stick)
/dev/ttyUSB0 (USB)
So I know I have the P1 connected to P1.
When I use the Dsmr console as mentioned before I see the output from P1
So I have a connection! Why does Home Assistant display anything?
I have checked in portainer that my USB is forwarded.
At least I think so. This is my first experience with Docker
I try to get my why trought this in Portainer.
I realy would like to know how to debug my problem?
In my log I found this:
CitaatLog Details (ERROR)
Mon Sep 30 2019 20:14:53 GMT+0200 (Midden-Europese zomertijd)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/dsmr/sensor.py”, line 138, in connect_and_reconnect
transport, protocol = await hass.loop.create_task(reader_factory())
File “/usr/local/lib/python3.7/asyncio/base_events.py”, line 905, in create_connection
type=socket.SOCK_STREAM, proto=proto, flags=flags, loop=self)
File “/usr/local/lib/python3.7/asyncio/base_events.py”, line 1275, in _ensure_resolved
proto=proto, flags=flags)
File “/usr/local/lib/python3.7/asyncio/base_events.py”, line 784, in getaddrinfo
None, getaddr_func, host, port, family, type, proto, flags)
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/socket.py”, line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -8] Unrecognized service
What am I missing and what is the best way to find out what’s going on?