-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow specifying serial device path manually #121
Comments
Sorry, I just figured this may be configured by providing the (docs: https://github.com/grimmpp/home-assistant-eltako/tree/main/docs/gateway_usage) |
No luck by using the bare IP and port too:
|
I've studied the pySerial package code. The
So by using this url signature I can successfully configure by using the following Any recommendation on the ser2net setup to get it to work with pySerial? ser2net.yaml:
|
Can you try configure it as PioTek FAM-USB 515. |
behind the |
Did you find out how to specify the serial_port?
Have you tried: |
Using bare IP Address and Port doesn't work (as in #121 (comment)). I think from the pySerial/Eltako-side the configuration would probebly work using
but I am not sure wether the Ser2Net configuration is correct and was hoping for someone to managed to successfully create this setup stack with home-assistant-eltako. As mentioned before, the Ser2Net works perfectly with ZHA and a Conbee II Zigbee Coordinator connected via Ser2Net. |
Can you try out:
or
or
|
No luck... with the other too. I also tried
|
Are you actually sure that the port matches? |
Yes, I checked with |
I made a mini Python script to test if bare pySerial (run on a windows machine) could connect and it works:
Output (stdout) when the Ser2Net container on the RPi is offline and is then turned on while looping:
I don't know how to proceed with further testing. Any idea? |
Could the issue be that https://github.com/kipe/enocean/blob/master/enocean/communicators/serialcommunicator.py uses I see when validating the gateway path you use it
So validating probably works, because I can create the Integration. But the logs show communication failure:
|
10 second connect-disconnect interval: |
According to #121 (comment) and with rerefence to #113 and #124 I have managed to establish a (so far) stable connection using Ser2Net Docker on a Raspberry Pi in conjunction with a PioTek FAM-USB 515. I'll try out with a FGW14-USB now, as I have USB-Serial-Connection stability issues when connecting the FGW14 to a Synolgoy NAS and forwarding the USB Device to a virtual machine (which is running HAOS). |
Is it possible to add the option to manually specify the serial device path? Would this allow serial devices to be connected via ser2net?
Since I've run into USB stability problems in conjunction with running HA on a Synology NAS (VM), I've migrated the zigbee radio to an old Raspberry Pi running a ser2net docker container and set the connection port in ZHA config (see https://community.home-assistant.io/t/connecting-to-a-remote-zigbee-coordinator-with-zha-using-ser2net/561762)
With e.g. ZHA it is possible to do:
The text was updated successfully, but these errors were encountered: