Difference between revisions of "Raw Socket Interface"

From Hubitat Documentation
Jump to: navigation, search
(Created page with "=Overview= Hubitat allows for opening and maintaining a connection to a tcp socket endpoint from the hub. All code needs to be contained in a driver, there is no option to op...")
 
(Replaced content with "<big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big> <big> This document is available at: http://docs2.hubitat.com/en/develo...")
(Tag: Replaced)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
=Overview=
+
<big>'''We're moving!''' Please visit http://docs2.hubitat.com for the latest documentation.</big>
Hubitat allows for opening and maintaining a connection to a tcp socket endpoint from the hub. All code needs to be contained in a driver, there is no option to open a socket connection from an app. Hubitat provides methods to connect and disconnect to the endpoint, in addition it is required to create a method in the driver that accepts incoming messages (parse) and another method that will be called with any status updates for the endpoint (socketStatus).
 
  
=Methods=
+
<big>
 
+
This document is available at: http://docs2.hubitat.com/en/developer/interfaces/raw-socket-interface
==Hubitat Provided Methods (Since 2.1.2)==
+
</big>

Latest revision as of 19:51, 25 September 2022

We're moving! Please visit http://docs2.hubitat.com for the latest documentation.

This document is available at: http://docs2.hubitat.com/en/developer/interfaces/raw-socket-interface