Author: HCA Central Version: 2 Added to Library: 03-Nov-23 HCAVersion needed: 17.0.46 Keywords: Hubitat Requirements: After adding to your design create/update the global variable HE_HubAddress to contain the IP Address of the Hubitat Hub.
Package Description: What's new?
17-Oct-23
- Added Request Hub Version program. Requires a Hubitat HCA App dated 17-Oct-23 or later, and HTTP Server package dated the same
Program Description: This program sends a message to the Hubitat via the same path that HCA uses to report state updates.
This is received by the Hubitat State Connector device whose driver sends the message on to the HCA App.
The HCA App sends a message to HCA that is received by the HTTP Server package and saved in a global variable HE_HubVersion
Global Variable Use:
Name | Description |
---|---|
HE_HubAddress | IP Address of Hubitat Hub |
HE_HubVersion | Firmware version of the Hubitat Hub |
Program Description: Sends state updated to Hubitat via port 39501. For this to work, in your Hubitat design must be a device of type "HCA State Connector" that has its "Device Network Id" set to the IP address - expressed in hex - of the HCA Server computer, This is set during the creation of the Hubitat virtual device by the HCA App. That device must be created by the HCA App so it is a child device of that App. It can't be created manually!
Parameters:
Name | Type | Description | Default |
---|---|---|---|
Object | Object | Object whose state changed | |
Percent | Value | New percent of that object |
Global Variable Use:
Name | Description |
---|---|
HE_HubAddress | IP Address of Hubitat Hub |