# \[SOLVED\] Openhab-Skill: Cannot get item-list

**URL:** https://community.openconversational.ai/t/solved-openhab-skill-cannot-get-item-list/7725
**Category:** Archive - Former Random Mycroft Category
**Created:** [December 18, 2019, 9:49am UTC](https://community.openconversational.ai/t/solved-openhab-skill-cannot-get-item-list/7725 "2019-12-18T09:49:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![t\_ho](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/t/bc79bd/32.png) [@t\_ho](https://community.openconversational.ai/u/t_ho)
#### Post date: [December 18, 2019, 9:49am UTC](https://community.openconversational.ai/t/solved-openhab-skill-cannot-get-item-list/7725/1 "2019-12-18T09:49:01Z")

</div>

Hi everyone! Thanks for contributing this code!

Unfortunately I ran into an issue with the openhab-skill.  
These messages are shown:

```
| ERROR | 18354 | skill-openhab | Some issues with the command execution!

Sorry cannot get the items list. 

```

After I could not find the skill in the marketplace, I set it up via github, following the instruction given there.

I tried to configure my OH IP and ports in my local config file (/home/…/.mycroft…) and this works with the initial startup and I can control my items using mycroft.

But after restarting mycroft these settings are overwritten with “127.0.0.1” and “8080”.

I also edited the configuration-files in /opt/mycroft/skills/openhab-skill (settings.json and settingsmetadat.yaml), but these values get overwritten to.

Than I tried the configuration-editor as in this description:  
[https://community.openconversational.ai/t/solved-openhab-skill-not-working-after-upgrade/7285/10](https://community.openconversational.ai/t/solved-openhab-skill-not-working-after-upgrade/7285/10)

The `"mycroft-config edit user`"-command show correct values, but still the skill’s config files in opt don’t.

I tried different scenarios (eg with / without local config file…), but no success.

I also saw this post

[https://community.openconversational.ai/t/openhab-skill-enhancement-to-use-skill-settings-fails/7383/2](https://community.openconversational.ai/t/openhab-skill-enhancement-to-use-skill-settings-fails/7383/2)

but I am nut sure if I could follow the thought. @FloatingBoater - could you explain more detailed how the **init**.py should look?

Any hints are welcome!  
Thanks!

---

<div class="post-metadata">

### Author: ![gez-mycroft](https://community.openconversational.ai/user_avatar/community.openconversational.ai/gez-mycroft/32/1937_2.png) [@gez-mycroft](https://community.openconversational.ai/u/gez-mycroft)
#### Post date: [December 18, 2019, 10:30am UTC](https://community.openconversational.ai/t/solved-openhab-skill-cannot-get-item-list/7725/2 "2019-12-18T10:30:58Z")

</div>

Hi t\_ho, if you’re using the master branch of that Skill there should also be a settings block at [https://home.mycroft.ai/skills](https://home.mycroft.ai/skills)

The Skill checks for the Skill settings first, and if not found checks for the settings in mycroft.conf. Have you tried this method already?

---

<div class="post-metadata">

### Author: ![t\_ho](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/t/bc79bd/32.png) [@t\_ho](https://community.openconversational.ai/u/t_ho)
#### Post date: [December 18, 2019, 11:29am UTC](https://community.openconversational.ai/t/solved-openhab-skill-cannot-get-item-list/7725/3 "2019-12-18T11:29:39Z")

</div>

Thank you very much, [gez-mycroft](https://community.openconversational.ai/u/gez-mycroft)!

I wasn’t aware of this configuration method, as I am used to configure things from the command line (with expected fiddling : )

But  
-\> logging in (my account) -\> navigating to skills -\> open hab -\> configuring IP and port  
makes these changes persistent.

Cheers,  
t\_ho
