Hi to everyone,
I was already building a “smart home” using arduino sensors for data reading and other stuff which i found a lot of information by searching. Also i use python and a couple of PC’s and laptops .
Then i discovered the HA, so everything is much easier and good looking especially with the lovelace UI.
But what i can’t get, is how (and if is possible) to make my custom made python program that is running and sends the commands or reads the state of the other PC/laptops, “talk” with HA.
As an example, with the python program i send commands (using sockets | server-client build) to a laptop connected to my TV so i can change channels, open Netflix etc.
What i would like is to integrate HA to this setup. Create a button and then send this command to my main python program so the laptop acts according to the command (showing it as info is the easy part i assume).
Is the possibility there? I know i can use some python scripts in HA but from all the search i ve made my question is still unclear.
As you have imagined i am fairly new to all this and i haven’t been able to successfully find anything to point me in either direction.
Sorry for the dumb question, and i know it might be trivial for some of you but your insight will be in a great value as i will have to re-draw my plan without wasting time for no reason.
Thank you in advance,