jshank / bwalink

Automate your Balboa Spa! A docker container with socat and ccutrer/balboa_worldwide_app that supports a remote serial to IP device or host running ser2net, socat or ESPEasy serial server
30 stars 6 forks source link

Docker config for Elfin device #21

Open jjarboe01 opened 2 months ago

jjarboe01 commented 2 months ago

This isn't an issue, but didn't know how to reach out to you to ask this. Your project is incredible and saved me hundreds on buying proprietary junk! I'm looking at using the same device to connect to my Jandy pool controller. sfeakes has a project that uses a physical USB to RS485 dongle to connect to the pool controller, but I want to use the Docker container to create another Home Assistant add-on. How did you get the container to look at the ethernet device for the serial interface?

jshank commented 2 months ago

Sounds like an awesome project. Linux really gets all of the credit for abstracting connectivity. In my docker-entrypoint.sh, instead of /dev/ttyS0, you use tcp://${BRIDGE_IP}:${BRIDGE_PORT}/, the OS handles the rest