Alexa Metadata


I’m new to Openhab and just switched from FHEM.
I added a Homematic Blind and it works fine with the UI, adding Alexa as metadata only works reverse.

I tried to update the Metadata code but it’s not being stored. The code is always empty after pressing save.

value: Blind
config: {}
actionMapping: Close=100, OPen=0, Lower=(+19),Raise=-10)
stateMapping: Close=1:100,Open=0

would be happy about help.


Maybe hit enter and then save if you are doing it from the UI.

That did no help.
How can i configure the metadata without UI?

I don’t use Alexa but here is the documentation:

The actionMapping you showed has Open as OPen don’t know if that does anything?

I can’t add any changes. The jsondb metafile is touched since the timestamp is chaging. But its not beeing stored.

Have you rebooted and tried again?
Sometimes my OH does strange things but a reboot fixes it.
Worth a try.

I am defining all my items in .items files, but you cannot mix both (UI and items files AFAIK).
Maybe my syntax helps:

Rollershutter              Z_RollerSh            "Rollladen [%s %%]"                                  <blinds>          (G_Num,gDiningBlinds)                            ["OpenState"]                     {channel="zwave:device:zwaveUSBCtrl:node7:blinds_control", alexa="RangeController.rangeValue" [category="EXTERIOR_BLIND", supportedRange="0:100:1", unitOfMeasure="Percent", actionMappings="Close=100,Open=0,Lower=(+10),Raise=(-10)", stateMappings="Closed=100,Open=0:99"]}

By the way: You have a typo in your definition:

[quote="mchill, post:1, topic:123227"]

should be Open=0

I added everything as a single line and now the storing works.

Unfortunatly the changed mapping has still no effect and allexa is still reacting reverse.