Looking for a Raw Socket driver example

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.


This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.