Need help with Mycroft integration

I’ve went through the steps, I added mycroft’s IP at the configuration.yaml, created the long-lived access token, in Mycrof.ai I added the ip-address of the Raspberry pi4b where HASS is running and added the token…searched the web for this error…but can’t seem to find it.

All I get is (in Mycroft):

Access to home assistant server at http://ipofhass:8123/api/states failed.
*ipofhass replaced with actual ip-address

Does anyone know what that means? Did anyone get a successful connection…?

I rebuilt mine past night and it worked fine apart from in the “hostname or IP” box I put https://my server.co.uk:8123
So when it tried to connect it connected to https://https://my server.co.uk:8123:8123

Hmm…am I missing something here? Is Mycroft called from outside the network? (and is that why you would want https…?)

?
Wait are you trying to ask mycroft to turn on your lights/socket/etc
Or
Are you adding it to Home Assistant so you can do announcements

I would like to do both…

*just noticed my router gave my Pi a new ip-address…sorry, will try again (am unsure tho why I would want/need a https connection for internal use, or is the announcement-part needing an outside IP?)

So I was taking about https for home assistant, as I have my with a certificate, more secure.

If mycroft is saying it’s “unable to access http://192.168.1.100:8123/API/states” or similar then Mycroft can’t see that device.
Check you can get to it from a laptop or phone with the same details you entered into your Mycroft skill.

If you reply I try and post a screen shot of my Mycroft skill setting, if that would help.

1 Like

Thnx for your help James!!

I got the basics working, now that I have made sure to give Home Assistant a static IP. I just used the internal address.

Awesome news !