Completely new install.. Getting errors

Posted on
Mon Dec 18, 2023 5:38 pm
FlyingDiver offline
User avatar
Posts: 7238
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Completely new install.. Getting errors

I don't think so. It's documented here: https://developers.home-assistant.io/docs/api/websocket

And there's no mention of enabling it. Though this page does mention enabling the REST API if you're not using the standard frontend: https://developers.home-assistant.io/docs/api/rest

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Dec 18, 2023 7:06 pm
kidney offline
Posts: 240
Joined: Jul 15, 2007

Re: Completely new install.. Getting errors

OK just made some test with an app Called Websocket Client for Mac and when I try to connect I get this as a response....

Code: Select all
{"type":"auth_required","ha_version":"2023.12.3"}..

I would think that means that the HA is there and asking for an auth token, but since I don't know more about ws structure I could try the auth procedure,

Posted on
Mon Dec 18, 2023 7:12 pm
FlyingDiver offline
User avatar
Posts: 7238
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Completely new install.. Getting errors

Well, the reply would be
Code: Select all
{"type": "auth", "access_token": "TOKEN HERE"}


I'm at a loss as to how the Websocket Client app works and the plugin does not.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Dec 18, 2023 7:13 pm
FlyingDiver offline
User avatar
Posts: 7238
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Completely new install.. Getting errors

You are running that test on the same system the Indigo server (and the plugin) are running on?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Dec 18, 2023 7:14 pm
kidney offline
Posts: 240
Joined: Jul 15, 2007

Re: Completely new install.. Getting errors

Of course…. ;)

Posted on
Tue Dec 19, 2023 7:25 am
FlyingDiver offline
User avatar
Posts: 7238
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Completely new install.. Getting errors

You got a link to that Websocket client you used?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Dec 19, 2023 7:26 am
FlyingDiver offline
User avatar
Posts: 7238
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Completely new install.. Getting errors

Also, can you post a screen shot of the connection info used in that client?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Dec 19, 2023 4:30 pm
kidney offline
Posts: 240
Joined: Jul 15, 2007

Re: Completely new install.. Getting errors


Posted on
Tue Dec 19, 2023 4:33 pm
FlyingDiver offline
User avatar
Posts: 7238
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Completely new install.. Getting errors

I tried that one, didn't work at all for me.

I found a different one that did work.

Still have no idea why it doesn't work on your system.

What's the exact URL you're using with that websocket client?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Dec 19, 2023 7:15 pm
kidney offline
Posts: 240
Joined: Jul 15, 2007

Re: Completely new install.. Getting errors

Last edited by kidney on Tue Dec 19, 2023 7:25 pm, edited 1 time in total.

Posted on
Wed Dec 20, 2023 10:33 am
FlyingDiver offline
User avatar
Posts: 7238
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Completely new install.. Getting errors

Try https://github.com/FlyingDiver/Indigo-H ... g/2023.3.1

The websocket library included in the plugin was corrupted.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Dec 20, 2023 2:36 pm
kidney offline
Posts: 240
Joined: Jul 15, 2007

Re: Completely new install.. Getting errors

Now everything works...... Glad I wasn't the problem hihi!

Posted on
Wed Dec 20, 2023 3:29 pm
FlyingDiver offline
User avatar
Posts: 7238
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Completely new install.. Getting errors

That was sure a weird one. I have no idea how those files got wiped out.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Who is online

Users browsing this forum: No registered users and 1 guest