Jump to content

Homebdrige integration


farcouet
Go to solution Solved by farcouet,

Recommended Posts

Posted

Hello,

I searched for Homebridge and have not found anything on the forum before so hopefully it's new topic.

I had the ISY994 from which I migrated. I had the ISY integrated with Homebridge plugin https://github.com/pradeepmouli/homebridge-isy-js and everything was working. After the migration I changed the port on the homebridge plugin (because for a unknown reason the option is greyed out in the Eisy configuration) and I am still not able to get this to work with the Eisy. The number of accessories is 41 but this is probably cached from when it was working with ISY.

I think that the URL is not valid / working anymore in EISY. Anyone has integrated with Homebdrige with the EISY? 

Cheers,

Fred

[2/16/2023, 7:57:04 AM] [isy-nodejs] Error initializing ISY: {}
[2/16/2023, 7:57:04 AM] [isy-nodejs] Connecting to: ws://192.168.12.31:8443/rest/subscribe
[2/16/2023, 7:57:04 AM] [ISY] Accessories to configure: 41
[2/16/2023, 7:57:04 AM] [ISY] ISY has 0 devices and 0 scenes
[2/16/2023, 7:57:04 AM] [ISY] Filtered device list has: 0 devices
[2/16/2023, 7:57:04 AM] [ISY] ISY API Initialized
[2/16/2023, 7:57:04 AM] [ISY] Homebridge API Version 2.7
[2/16/2023, 7:57:04 AM] [ISY] Homebridge Server Version 1.6.0
[2/16/2023, 7:57:04 AM] [ISY] ISY Host Address 192.168.12.31:8443
[2/16/2023, 7:57:04 AM] [ISY] ISY Model undefined
[2/16/2023, 7:57:04 AM] [ISY] ISY Firmware Version undefined
[2/16/2023, 7:57:04 AM] [ISY] Total Accessories: 41
[2/16/2023, 7:57:04 AM] [ISY] Total Accessories Identified: 0
[2/16/2023, 7:57:04 AM] [ISY] Accessories to Register: 0
[2/16/2023, 7:57:04 AM] [ISY] Orphan Accessories: 41
[2/16/2023, 7:57:05 AM] [ISY] platform config saved to : /var/lib/homebridge/effectiveConfig.json

 

Posted (edited)

What happens if you go to https://192.168.12.31:8443/rest/subscriptions (you should get prompted for credentials, it's your admin console credentials it's asking for) (note, on purpose that's not the same url as the ws:// url above, its only simmiliar)

That might tell us if you have the IP address correct, but I might not tell us much if you use subnets for IoT etc... then you're probably into your networking rules, especially of the IP of the ISY and eisy are different.

Edited by MrBill
Posted
2 hours ago, farcouet said:

[2/16/2023, 7:57:04 AM] [isy-nodejs] Connecting to: ws://192.168.12.31:8443/rest/subscribe

This is just a guess, but my eisy responds when the URL to look like this:

wss://<ip address>:8443/rest/subscribe

Posted (edited)
2 hours ago, Bumbershoot said:

This is just a guess, but my eisy responds when the URL to look like this:

wss://<ip address>:8443/rest/subscribe

Yes I have the proper IP address and port so that is good. I tried first with https and  get an error like this. Initially I was prompted to authenticate. Seems like something is missing. 

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<RestResponse succeeded="false">
<status>426</status>
</RestResponse>

 

And if I try with ws instead of https:

The webpage at ws://192.168.12.31:8443/rest/subscribe might be temporarily down or it may have moved permanently to a new web address.

ERR_UNKNOWN_URL_SCHEME
Edited by farcouet
  • 2 weeks later...
Posted

I had this problem with the Polisy as well.  As far as I know, it can't be fixed.  Other integrations have the same issue (one I use for my stream deck as an example).

I dumped HS and went to Home Assistant.  That works fine because it allows you to specify a port.   (Plus as it turns out, it is a TON better anyway, so that turned out to be win).

Posted
16 hours ago, smileyw said:

I had this problem with the Polisy as well.  As far as I know, it can't be fixed.  Other integrations have the same issue (one I use for my stream deck as an example).

I dumped HS and went to Home Assistant.  That works fine because it allows you to specify a port.   (Plus as it turns out, it is a TON better anyway, so that turned out to be win).

Hello,

I have been able to specify the specific port so it connects. It's more like if the REST API is not working anymore. I did not planned to go with Home Assistant because I have multiple other integration done with Home Bridge and it works very well. Is Home Asssitant using the same rest api? Because even if I try manually I get an error so I am thinking there might be something missing on mine (when I got it there was some issue updating the packages as I was getting a message every time to upgrade packages even if I left the ESIY up few hours).

I am trying to get some support from Universal devices but I don't know how to get a response. I opened a ticket almost 3 weeks ago and to get a reply it takes a week. I also emailed and my last reply is 10 days ago. So how do people contact support normally?

Cheers,

Fred

Posted
2 hours ago, farcouet said:

I am trying to get some support from Universal devices but I don't know how to get a response. I opened a ticket almost 3 weeks ago and to get a reply it takes a week. I also emailed and my last reply is 10 days ago. So how do people contact support normally?

Best way to contact UDI is through the support ticket website - https://www.universal-devices.com/my-tickets

They're really good about handling tickets so if you opened a ticket this way and it took "a week" to get a reply that's not normal. You should be able to log in and review the ticket status. It might be "waiting from customer update" (or other wording). That's the best method to work directly with UDI for support.

The Forums are really more user-to-user help. And since it doesn't seem like many are using the process you are using there might not be much help here. Does Homebridge have any support you could get from their side?

Since the github you linked to hasn't had any updates in several years and references ISY Firmware 5.0.16+ it's very possible that it's not working with the latest eisy IoX firmware. While I think doubtful because most underlying function appears to be the same it's still possible. 

You never replied to @MrBill's comment above. What is the result when you try his URL?

Home Assistant connects to ISY completely different. It's also currently supported and actively updated. You can learn more about it by reading the Home Assistant area of these forums or from the HA side.

Posted
On 3/3/2023 at 10:05 AM, Geddy said:

Best way to contact UDI is through the support ticket website - https://www.universal-devices.com/my-tickets

They're really good about handling tickets so if you opened a ticket this way and it took "a week" to get a reply that's not normal. You should be able to log in and review the ticket status. It might be "waiting from customer update" (or other wording). That's the best method to work directly with UDI for support.

The Forums are really more user-to-user help. And since it doesn't seem like many are using the process you are using there might not be much help here. Does Homebridge have any support you could get from their side?

Since the github you linked to hasn't had any updates in several years and references ISY Firmware 5.0.16+ it's very possible that it's not working with the latest eisy IoX firmware. While I think doubtful because most underlying function appears to be the same it's still possible. 

You never replied to @MrBill's comment above. What is the result when you try his URL?

Home Assistant connects to ISY completely different. It's also currently supported and actively updated. You can learn more about it by reading the Home Assistant area of these forums or from the HA side.

Hello,

For the support I opened the ticket and updated it but still waiting since more than a week after my last update (I have checked to see if there was any update and checking from time to time).

For Homebridge this is true that there is not much update since a while. I was thinking that it will be just a matter of updating the port number (as it changed) and that the API would be the same. So I guess that somewhere when a new firmware was released the REST API might have changed. I am not sure if it's only the URL.

Thanks for the reply and you are right I have sent the URL seen from my logs and not the URL @MrBill sent so my fault. With the result it really seems that the URL changed. So I guess that I will have no choice to look into the Home Assistant. I just really like the Homebridge because there are few integration available but I can also run both. 

Here's the result.

<Subscriptions>
<Sub isExpired="yes" isPortal="no" sid="-1" sock="-1" isReusingSocket="no" isConnecting="no"/>
<Sub isExpired="yes" isPortal="no" sid="-1" sock="-1" isReusingSocket="no" isConnecting="no"/>
<Sub isExpired="yes" isPortal="no" sid="-1" sock="-1" isReusingSocket="no" isConnecting="no"/>
<Sub isExpired="yes" isPortal="no" sid="-1" sock="-1" isReusingSocket="no" isConnecting="no"/>
<Sub isExpired="yes" isPortal="no" sid="-1" sock="-1" isReusingSocket="no" isConnecting="no"/>
<Sub isExpired="yes" isPortal="no" sid="-1" sock="-1" isReusingSocket="no" isConnecting="no"/>
<Sub isExpired="yes" isPortal="no" sid="-1" sock="-1" isReusingSocket="no" isConnecting="no"/>
<Sub isExpired="yes" isPortal="no" sid="-1" sock="-1" isReusingSocket="no" isConnecting="no"/>
<Sub isExpired="yes" isPortal="no" sid="-1" sock="-1" isReusingSocket="no" isConnecting="no"/>
<Sub isExpired="yes" isPortal="no" sid="-1" sock="-1" isReusingSocket="no" isConnecting="no"/>
</Subscriptions>
 
Thanks,
Fred
Posted

I had homebridge working on polisy but I used a different version since one that op posted had a lot of features removed like zwave support. Use port 8080 not 8443. 
 

Home assistant does a way better job for HomeKit with iox. I have been using it for a couple weeks and got rid of homebridge isy.  

Posted
21 hours ago, brians said:

Home assistant does a way better job for HomeKit with iox. I have been using it for a couple weeks and got rid of homebridge isy.  

I second this.  HA is just a better system all the way around.

  • 5 weeks later...
  • Solution
Posted

Hello,

I finally went with Home Assistant. That works perfectly fine and so much better than few years ago! In fact I am migrating everything out of HomeBridge to go with Home Assistant as it can do so much more. I tried it few years ago and it was quite painful but now wow! And it seems to work really well with the EISY so far!

Cheers!

  • Like 2
Guest
This topic is now closed to further replies.

×
×
  • Create New...