开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

New Version of Crestron-Hubitat Integration Driver


 

For those using my Crestron-Hubitat integration driver that allows you to integrate hundreds of different Zigbee, Z-Wave, and off-the-shelf IoT devices with a Crestron system I wanted to let you know that I've uploaded a new version of the Crestron-Hubitat integration code to my GitHub ().? The new version adds support for:

1) Double-Tap and Press-Hold events for switches and dimmers. Note - not all switches and dimmers support these events.? It has been tested with devices from Zooz.

2) The multi-sensor module now supports all the sensors in the Aeotec MultiSensor 6.

Enjoy

Jay


 

Thanks for this Jay,
?
I am about to start using the hubitat.? I can see that your excellent integration exposes devices in the hubitat for crestron to see and use.?? I am wondering if the reverse happens to.? Can you expose something that the crestron processeor is controlling and see and use it in the hubitat?
?
Thanks


 

@gbnet.?
For digital, you can create virtual switches in Hubitat, which Cretston can then toggle. Might be able to do similar for analog with virtual dimmer for 0-100% analog, but haven't done it (I can try if you really need the answer).?
?
Of course Jay will know better.?


 

开云体育

Exactly.? The code wasn't designed for this.? However, I think you could tie a physical device on the Crestron system to the state of a Hubitat virtual device.? Then by changing the state of the virtual device on the Hubitat system it would trigger actions on the physical device connected to the Crestron system.?

This methodology is sort of used to trigger actions on an Alexa device using a virtual contact sensor on the Hubitat.? I use this to trigger voice announcements in my home based on events on the Crestron system.

Hope this helps

Jay

On 3/27/2025 6:14 AM, ZS via groups.io wrote:

@gbnet.?
For digital, you can create virtual switches in Hubitat, which Cretston can then toggle. Might be able to do similar for analog with virtual dimmer for 0-100% analog, but haven't done it (I can try if you really need the answer).?
?
Of course Jay will know better.?


 

开云体育

Thank you. ? Yes that makes perfect sense. ?

I had thought that I would probably be able to do it via virtual switches and dimmers etc on the Hubitat. ?

Appreciate the suggestions and confirmation. ?

I’ll be working on it over the weekend?

On 27 Mar 2025, at 11:25?pm, jbasen via groups.io <jay.m.basen@...> wrote:

?

Exactly.? The code wasn't designed for this.? However, I think you could tie a physical device on the Crestron system to the state of a Hubitat virtual device.? Then by changing the state of the virtual device on the Hubitat system it would trigger actions on the physical device connected to the Crestron system.?

This methodology is sort of used to trigger actions on an Alexa device using a virtual contact sensor on the Hubitat.? I use this to trigger voice announcements in my home based on events on the Crestron system.

Hope this helps

Jay

On 3/27/2025 6:14 AM, ZS via groups.io wrote:
@gbnet.?
For digital, you can create virtual switches in Hubitat, which Cretston can then toggle. Might be able to do similar for analog with virtual dimmer for 0-100% analog, but haven't done it (I can try if you really need the answer).?
?
Of course Jay will know better.?


 

taking a look at this again
running demo code (changed to rmc4)
fixed all clz references
?
Hubitat-Request_Feedback_Messages - Error Sending Device Command: System.Net.Sockets.SocketException (0x80004005): No route to host ?at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000b6] in <9c30c834d8664232bafbbf8f27cf0c6c>:0 ? at Crestron.SimplSharp.Net.Connection.DataSocketConnect (System.Net.EndPoint aEndPoint) [0x0007e] in <d69b3d6de16d4691baa6a0ea45b384dd>:0 ? at Crestron.SimplSharp.Net.Connection.Connect (System.Net.IPAddress aIPAddress, System.Int32 aPort) [0x0007a] in <d69b3d6de16d4691baa6a0ea45b384dd>:0 ? at Crestron.SimplSharp.Net.Client.GetConnection (System.Net.IPAddress aHost, System.Int32 aPort) [0x0038a] in <d69b3d6de16d4691baa6a0ea45b384dd>:0 ? at Crestron.SimplSharp.Net.Client.Connect (System.Net.IPAddress aHost, System.Int32 aPort) [0x00070] in <d69b3d6de16d4691baa6a0ea45b384dd>:0 ? at Crestron.SimplSharp.Net.Client.Connect (System.String aHost, System.Int32 aPort) [0x00078] in <d69b3d6de16d4691baa6a0ea45b384dd>:0 ? at Crestron.SimplSharp.Net.Http.HttpClient.GetHttpConnection (System.Boolean aSecure, System.String aHost, System.Int32 aPort) [0x0027c] in <d69b3d6de16d4691baa6a0ea45b384dd>:0 ? at Crestron.SimplSharp.Net.Http.HttpClient.TryDispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x00496] in <d69b3d6de16d4691baa6a0ea45b384dd>:0 ? at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x00180] in <d69b3d6de16d4691baa6a0ea45b384dd>:0 ? at Hubitat_Integration.Hubitat.Request_Post_Feedback_Messages (System.String Processor_IP, System.String Processor_Port) [0x0012c] in <088d3e2c06494211a04342a4f8ebec81>:0??
?
not sure what i am missing??


 

The first error "no route to host" sounds like you may have missed or mistyped the hub's IP address in the Hubitat Comm manager module.


 

开云体育

Thanks for chiming in.?

Also, remember that I included detailed instructions in the original article I wrote on this.? That can be found here:

Thanks again

Jay

On 3/30/2025 11:31 AM, ZS via groups.io wrote:

The first error "no route to host" sounds like you may have missed or mistyped the hub's IP address in the Hubitat Comm manager module.


 

yes, i am following the instructions
if only i had eyes, yes IP of hubitat was wrong...
now i get
RMC4>Hubitat-Send_Device_Command - Error Sending Device Command: Crestron.SimplSharp.Net.Http.HttpException: HTTP/1.1 404 Not Found Connection: close Date: Mon, 31 Mar 2025 13:59:41 GMT Set-Cookie: HUBSESSION=19d585c26d784e86b118c9401a68c87fe0f79c41783445c390bbd3425b4ab7da; Path=/ Content-Type: text/html ? at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x00180] in <d69b3d6de16d4691baa6a0ea45b384dd>:0 ? at Hubitat_Integration.Hubitat.Send_Device_Command (System.String Command_Type, System.String Command, System.String Value1, System.String Value2, System.String Value3, System.String Device_ID, System.Int16 Forced_Refresh) [0x005eb] in <088d3e2c06494211a04342a4f8ebec81>:0? url =
?
copied/paste access token?


 

I’m doing this from my phone without being able to check things. However it looks like you have a hubitat module, ie the switch module, with a device id of 0. You need to get the valid device ids of your devices by following the directions in the article or the readme on my GitHub.?

Jay

On Mon, Mar 31, 2025 at 8:03?AM mark kaye via <markkaye=[email protected]> wrote:
yes, i am following the instructions
if only i had eyes, yes IP of hubitat was wrong...
now i get
RMC4>Hubitat-Send_Device_Command - Error Sending Device Command: Crestron.SimplSharp.Net.Http.HttpException: HTTP/1.1 404 Not Found Connection: close Date: Mon, 31 Mar 2025 13:59:41 GMT Set-Cookie: HUBSESSION=19d585c26d784e86b118c9401a68c87fe0f79c41783445c390bbd3425b4ab7da; Path=/ Content-Type: text/html ? at Crestron.SimplSharp.Net.Http.HttpClient.Dispatch (Crestron.SimplSharp.Net.Http.HttpClientRequest aRequest) [0x00180] in <d69b3d6de16d4691baa6a0ea45b384dd>:0 ? at Hubitat_Integration.Hubitat.Send_Device_Command (System.String Command_Type, System.String Command, System.String Value1, System.String Value2, System.String Value3, System.String Device_ID, System.Int16 Forced_Refresh) [0x005eb] in <088d3e2c06494211a04342a4f8ebec81>:0? url =
?
copied/paste access token?