Mycroft connection to openHAB not working

I’ve decided to try out Mycroft and the installation seemed to be very straight forward. My openHAB runs on a k3s cluster and Mycroft runs on a Raspberry Pi 4 at the moment (long term plan is to migrate Selene backend to k3s as well).

I have openhab skill installed on mycroft. I have a mirror of the public repository to a private repository - that’s why the skill ends in .bill.
(mycroft cli log)

 06:56:10.024 | DEBUG    |  4614 | mycroft.skills.intent_service:_normalize_all_utterances:73 | Utterances: [('install openhab',)]
 06:56:10.027 | DEBUG    |  4614 | mycroft.skills.intent_services.padatious_service:_match_level:179 | Padatious Matching confidence > 0.95
 06:56:10.076 | INFO     |  4614 | msm.mycroft_skills_manager | Best match (0.61): openhab-mycroft.bill by
 06:56:10.076 | ERROR    |  4614 | SkillInstallerSkill | MSM failed: AlreadyInstalled(openhab-mycroft.bill)

When I refresh openhab items it appears to successfully connect to the instance with a 200 return code, but an empty response.

06:58:53.465 | INFO     |  4620 | __main__:handle_utterance:76 | Utterance: ['refresh openhab items']
 06:58:53.477 | DEBUG    |  4614 | mycroft.skills.intent_service:_normalize_all_utterances:73 | Utterances: [('refresh openhab items',)]
 06:58:53.884 | DEBUG    |  4614 | mycroft.skills.intent_services.padatious_service:_match_level:179 | Padatious Matching confidence > 0.95
 06:58:53.921 | DEBUG    |  4614 | urllib3.connectionpool | Starting new HTTP connection (1): 192.168.2.140:30081
 06:58:53.949 | DEBUG    |  4614 | urllib3.connectionpool | http://192.168.2.140:30081 "GET /rest/items?recursive=false HTTP/1.1" 200 None

192.168.2.140 is the openhab server and port 30081 is the ingress port for the cluster. I can GET a response using postman:
(postman GET):

http://192.168.2.140:30081/rest/items?recursive=false HTTP/1.1

(postman RESPONSE):

[
    {
        "link": "http://192.168.2.140:30081/rest/items/uSF_light_20_Factor",
        "state": "0.0",
        "stateDescription": {
            "step": 1.0,
            "pattern": "%.1f",
            "readOnly": true,
            "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "uSF_light_20_Factor",
        "label": "Factor:",
        "tags": [],
        "groupNames": []
    },
    {
        "link": "http://192.168.2.140:30081/rest/items/dSF_light_05_Watts",
        "state": "0",
        "stateDescription": {
            "step": 1.0,
            "pattern": "%.1f W",
            "readOnly": true,
            "options": []
        },
        "editable": false,
        "type": "Number",
        "name": "dSF_light_05_Watts",
        "label": "Power:",
        "tags": [],
...

Obviously with a 200 response as well… I can also curl the GET request from the Raspi 4 successfully.

I’ve set the host and port on both the https://home.mycroft.ai/skills interface and the config file - and each one separately. But I’m not getting a 404 error.

I can’t figure out what isn’t connecting - - I’m guessing it is something very obvious that I just can’t put my finger on… Any help appreciated.

User error… Here is the original post to github (same as the post above) and the closing post 18 minutes later when I realized that you need to set the tags for the item and they have to match the skill definitions. :slight_smile: