Sorry for the long topic. I have Mycroft running on RP3, and Home Assistant running on another RP3. I had both working together just fine… until I set up some port forwarding on my router and set up duckdns for external access to my home assistant. It looks like my router allows for NAT loopback (from my pc i ping the duckdns address and it returns my external ip address).
I have xxx.duckdns.org (xxx being the name I created on duckdns) as my host. I selected use ssl, and enable conversation component. I have the long lived access tokens I created in Home-Assitant copy and pasted in. I still get Mycroft saying he doesn’t understand my command to turn off the light, that he previously understood before duckdns.
If mycroft says something like “I don’t understand”, it probably means your homeassistant skill is not installed or loaded properly. if it was just your duckdns that was misconfigured, it would say something like "I can’t reach homeassistant on https://xxx.duckdns.org:8123".
Like baconator said, you might find some usefull hints if the skill failed to load in the logs.
Thanks guys, just following up on this. I did get it working…
I ended up reinstalling pycroft, then installed the python package fuzzywuzzy. I then installed home assistant. After that, I configured the settings for the skill and it did not work. A reboot of mycroft and it is talking to homeassistant now.
Hi @wxmanfuzzywuzzy should be automatically installed by home-assistant skill as it is inside requirements.txt if You ever have to reinstall Mycroft, try to install HA skill first and if fuzzywuzzy is still missing, ping me with a logs, please. I would like to check it.
The first time I installed home assistant skill it failed. I checked errors and it couldn’t find the python library fuzzwuzzy. I manually installed it with pip. So when I did the reinstall the other day, I just automatically pip’ed fuzzywuzzy. If I reinstall again I will definitely try without pip and let you know how i make out. I am probably going to make another smart speaker in the near future.