I want to be able to control my projector over Serial. I have the PDF from JVC on what the codes are to control the Projector. I’m just not sure where to start in HA. I don’t see a generic Serial component and I don’t see a JVC component. Is “Command Line Switch platform” my best option?
Is my command something like “command_on: /dev/ttyUSB0 “some connection and command string””
I was struggling the same in order to make my HA to connect to my old burglar alarm system. After having managed to set up RS232 interface in my RPi3 first, with following configuration and python code I managed to send a command to my box via RS232 and get the reply back to HA to see those as sensor values on my UI.
Thanks. the jvc-remote might get me some basic simple commands. I would love to see a serial component to make this easy. Maybe I’ll try to submit a feature request. thanks
I’m beginning to think I need to take some python classes. Do you know how to send a serial command via the terminal. IE /dev/tty0 21,89,01,50,57,31,0a
That the hex codes needed to send for power on. I just don’t know how to formulate a complete string I can use in HA command line component.
Unluckily not; If I would then I would have taken that path myself. As the learning curve in using python was lower for me than figuring out how to use it via terminal I simply decided to take that path.
I moved projector control to Pi, so made this python service to communicate with projector via serial and HA via MQTT.
This is absolute minimum, so its implemented as on/off switch.
My projector is Pioneers rebranded version of JVC DLA-HD2.