I want to create a virtual device that sends an off message and on message to a connected socket.
Haven't written a Hubitat driver. This is something I need to control some X10 devices, and seemed like a good way to start learning.
I think I've read the "official" Hubitat documentation, but an example would really be helpful. Like where/when to do the connect and close, etc.
Thanks!