Hi,
Im New in Home Assistant. Running on raspberry pi 4 hassio. I love it! Great work!
My question is: how can i integrate tcp/ip connection to connect to tcp server and send commands and recieve responses? Is there aby guide or examples? Just some clues…?
Let’s say I have some device with LAN API and I would like to control it with home assistant.
Thanks in advance.
Matyas
brahmafear
(Brahmafear)
December 30, 2019, 6:11pm
2
REST sensor might work here. You haven’t provided a lot of details…
You’ve just described half of the integrations…what you’re asking doesn’t make a lot of sense.
nickrout
(Nick Rout)
December 30, 2019, 9:13pm
4
If there is a lan api, take a look at the rest integration.
Hi
Let’s say I have video switcher like:
The Atlona AT-OME-MS42 is a 4x2 matrix switcher with HDMI, USB-C, and DisplayPort inputs, plus HDMI and HDBaseT outputs. The OME-MS42 is ideal for software video conferencing, and includes USB 2.0 and USB-C interfaces for host PCs, plus peripheral...
And I would like to integrate it to HA, and I would like to control it over IP.
With this protocol:
https://atlona.com/downloads/drivers/Crestron_AT-OME-MS42.zip
That is just example device. I would like to create client-server connection and implement simple communication protocol.
Make sense now?
Thanks a lot.
Matyas
nickrout
(Nick Rout)
December 31, 2019, 6:58am
6
Try looking through this thread.
someone knows how or if its even possible to configure home assistant to send a TCP packet with a payload to an ip/port? i can’t even find something about it.