# Openhab with Alexa and Openwebnet (Bticino Myhome)

**URL:** <https://community.openhab.org/t/openhab-with-alexa-and-openwebnet-bticino-myhome/87093>\
**Category:** Items & Sitemaps\
**Tags:** openwebnet, alexa-openhab, bticino-myhome\
**Created:** [December 7, 2019, 8:25am UTC](https://community.openhab.org/t/openhab-with-alexa-and-openwebnet-bticino-myhome/87093 "2019-12-07T08:25:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Costa](https://community.openhab.org/user_avatar/community.openhab.org/costa/32/51488_2.png) [@Costa](https://community.openhab.org/u/Costa)\
**Post date:** [December 7, 2019, 8:25am UTC](https://community.openhab.org/t/openhab-with-alexa-and-openwebnet-bticino-myhome/87093/1 "2019-12-07T08:25:59Z")

</div>

Hi to everybody and first of all congratulation for the wonderful job done with both Openhab and the Openwebnet binding!  
Its almost a year i’m controlling my BTicino Myhome using Openhab 2.4 installed on a Qnap NAS TVS 683 and everithing is working perfectly.  
Few days ago i decided to buy a Alexa to add to the system but, after all configuration, i was able to control just lights. No way to have rollershutter working.  
Alexa always replay with “device isn’t responding, please check its network connection and power supply” to all command for rollershutters; lights, as i sayd, are working perfectly.  
I also added the “autoupdated=false” in the .items file using this string: Rollershutter AutomationWHERE12\_RollerShutter “Tapparella Ufficio” {alexa=“Switchable”, autoupdate=“false”}  
But nothing to do.  
My rollershutters doesn’t have state, therefore just up and down command. I also forced in the Item PaperUI page the Autoupdate but nothing changed.  
I went trought all internet and forum but i was not able to solve the problem.  
Someone can help a “old” fortran programmer lost into these new softwares languages?? 😉

Thanks a lot for any help  
Costa

---

<div class="post-metadata">

**Author:** ![jeshab](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/ccd318/32.png) [@jeshab](https://community.openhab.org/u/jeshab)\
**Post date:** [December 9, 2019, 2:07am UTC](https://community.openhab.org/t/openhab-with-alexa-and-openwebnet-bticino-myhome/87093/2 "2019-12-09T02:07:50Z")

</div>

> [@Costa](#):
>
> Someone can help a “old” fortran programmer lost into these new softwares languages??

From the information you provided, it should work. The `autoupdate="false"` metadata config would indeed tell the skill to not retrieve the item state.

Have you triggered an Alexa discovery after you updated your configuration? It seems that you updated the same item config via the items file and also the Paper UI. I have seen issues with this in the past with some conflicts. You may have to rename your item and stick to one way or the other. What does this [REST API call](https://myopenhab.org/rest/items/AutomationWHERE12_RollerShutter?metadata=alexa,autoupdate) return? Last, what is the actual command utterance you are requesting?

---

<div class="post-metadata">

**Author:** ![Costa](https://community.openhab.org/user_avatar/community.openhab.org/costa/32/51488_2.png) [@Costa](https://community.openhab.org/u/Costa)\
**Post date:** [December 12, 2019, 6:17pm UTC](https://community.openhab.org/t/openhab-with-alexa-and-openwebnet-bticino-myhome/87093/3 "2019-12-12T18:17:09Z")

</div>

Hi Jeremy, thanks for your support.

The rullershutter item is configured in this way:  
Rollershutter AutomationWHERE45\_RollerShutter “Tapparella Cucina” {alexa=“Switchable” [autoupdate=“false”]} but Alexa always replay “device isn’t responding, please check its network connection and power supply” and yes, everytime i update the itemlist, i delete the alexa item and ask for a new discovery.  
I agree with you about some conflic using paperUI and Item file, thats the reason i’m using now just the item file.  
regarding the API, it’s returning this:  
{“link”:“[https://myopenhab.org/rest/items/AutomationWHERE45\_RollerShutter",“state”:“NULL”,“metadata”:{“alexa”:{“value”:“Switchable”,“config”:{“autoupdate”:“false”}}},“editable”:true,“type”:“Rollershutter”,“name”:“AutomationWHERE45\_RollerShutter”,“label”:"Tapparella](https://myopenhab.org/rest/items/AutomationWHERE45_RollerShutter%22,%22state%22:%22NULL%22,%22metadata%22:%7B%22alexa%22:%7B%22value%22:%22Switchable%22,%22config%22:%7B%22autoupdate%22:%22false%22%7D%7D%7D,%22editable%22:true,%22type%22:%22Rollershutter%22,%22name%22:%22AutomationWHERE45_RollerShutter%22,%22label%22:%22Tapparella) Cucina”,“tags”:,“groupNames”:}

what i’m doing wrong??

Thanks  
Costa

---

<div class="post-metadata">

**Author:** ![jeshab](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/ccd318/32.png) [@jeshab](https://community.openhab.org/u/jeshab)\
**Post date:** [December 12, 2019, 6:31pm UTC](https://community.openhab.org/t/openhab-with-alexa-and-openwebnet-bticino-myhome/87093/4 "2019-12-12T18:31:18Z")

</div>

> [@Costa](#):
>
> what i’m doing wrong??

There are too many moving parts here. First, why did you move the `autoupdate=false` in the Alexa metadata parameters? Secondly, stick to your initial item definition that I confirmed to be good. Thirdly, your initial response, which I noticed you edited, had `autoupdate=true` in the API response; that’s the problem and most likely because you updated the same item config via the items file and also the Paper UI causing some conflicts. Can you use a brand new name for that item and stick to either or config method. Last, for any change you make on the OH side, you need to make sure to trigger a discovery to propagate the changes on the Alexa side.

Basically, your goal is to have `autoupdate=false` when you query the REST API.

---

<div class="post-metadata">

**Author:** ![Costa](https://community.openhab.org/user_avatar/community.openhab.org/costa/32/51488_2.png) [@Costa](https://community.openhab.org/u/Costa)\
**Post date:** [December 12, 2019, 6:47pm UTC](https://community.openhab.org/t/openhab-with-alexa-and-openwebnet-bticino-myhome/87093/5 "2019-12-12T18:47:12Z")

</div>

Hi Jeremy, thanks again for your time.

Because i had done tons of test with the AutomationWHERE12\_RollerShutter, i modified the itemlist using a differet rollershutter that was never used, just to make sure there wasn’t garbage around.  
Therefore i used the AutomationWHERE45\_RollerShutter in the itemlist but i made a mistake because i putted in my previous message the API of the AutomationWHERE12\_RollerShutter just clicking your link.  
After i reconize i changed the API adress to check the AutomationWHERE45\_RollerShutter.

Of couse beacuse there was no AutomationWHERE12\_RollerShutter configured in the itemlist, it coudnt get the “autoupdated=false”.  
Sorry for the confusion to modified the message but i coudnt believed you were online.

Clarified this and back to the first itemlist Rollershutter AutomationWHERE12\_RollerShutter “Tapparella Ufficio” {alexa=“Switchable” [autoupdate=“false”]}

the API response is {“link”:“[https://myopenhab.org/rest/items/AutomationWHERE12\_RollerShutter",“state”:“NULL”,“metadata”:{“alexa”:{“value”:“Switchable”,“config”:{“autoupdate”:“false”}},“autoupdate”:{“value”:“true”}},“editable”:true,“type”:“Rollershutter”,“name”:“AutomationWHERE12\_RollerShutter”,“label”:"Tapparella](https://myopenhab.org/rest/items/AutomationWHERE12_RollerShutter%22,%22state%22:%22NULL%22,%22metadata%22:%7B%22alexa%22:%7B%22value%22:%22Switchable%22,%22config%22:%7B%22autoupdate%22:%22false%22%7D%7D,%22autoupdate%22:%7B%22value%22:%22true%22%7D%7D,%22editable%22:true,%22type%22:%22Rollershutter%22,%22name%22:%22AutomationWHERE12_RollerShutter%22,%22label%22:%22Tapparella) Ufficio”,“tags”:,“groupNames”:}

Seems that Alexa doesnt see the autoupdate=false

Thanks and sorry again  
Costa

---

<div class="post-metadata">

**Author:** ![jeshab](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/ccd318/32.png) [@jeshab](https://community.openhab.org/u/jeshab)\
**Post date:** [December 12, 2019, 8:53pm UTC](https://community.openhab.org/t/openhab-with-alexa-and-openwebnet-bticino-myhome/87093/6 "2019-12-12T20:53:56Z")

</div>

> [@Costa](#):
>
> Seems that Alexa doesnt see the autoupdate=false

That’s because you moved the `autoupdate=false` in the Alexa metadata parameters. The correct item definition, which you have in your initial post, is:

```csv
AutomationWHERE12_RollerShutter "Tapparella Ufficio" {alexa="Switchable", autoupdate=false}

```

If you don’t need `autoupdate=false` for anything else on the OH side, then you can just set `itemStateRetrievable=false` in the Alexa metadata parameters. It will have the same effect at the [skill level](https://www.openhab.org/docs/ecosystem/alexa/#item-state).

```csv
AutomationWHERE12_RollerShutter "Tapparella Ufficio" {alexa="Switchable" [itemStateRetrievable=false]}

```
