PowerController.powerState vs. Switch.powerState

Hi,

I have a small problem with the Alexa Metadata:

Can’t discover the device with Alexa (metadata selected with UI):

gEquipment with metadata "Alexa: Switch"
iPoint with metadata "Alexa: Switch.powerState"

Can discover the device with Alexa:
(metadata overwritten in the code tab - “PowerController.powerState” can’t be selected in UI)

gEquipment with metadata "Alexa: Switch"
iPoint with metadata "Alexa: PowerController.powerState"

Using openhab3 ( openHAB 3.2.0 Build #2595) and myopenhab cloud connector.
(Just migrated from my own skill to myopenhab because of this problem today).

Any Idea?

The latest openHAB 3.2.0 snapshot includes the updated UI integration for the new metadata syntax changes that are currently in beta testing and soon to be released to the live skill.

You can either use the current Alexa metadata syntax to configure your item using the code tab or you can join the beta test and will have first hand preview of the upcoming changes.

1 Like

@jeshab Thank you!

My Alexa is not seeing my OH3 test thing.
I am running openHAB 3.2.0.M4

GA does see my device and OH3 can see my devices attached by my Echo.

Looks like I should follow this post for any news on this topic.

You should be fine with that release. The updated UI integration was merged after. However, it is now included in today’s 3.2.0.M5 release.

Thank you, my problem I have is nothing is working as far as Alexa is concerned, GA can control my thing, Alexa does not even know anything about it, running the Alexa device discovery yields nothing.

::::::::::::::
things/abigail.things
::::::::::::::

Bridge mqtt:broker:broker [ host=“192.168.1.200”, secure=false] {

Thing topic Abigail  "Abigail" {
   Channels:
       Type switch : switch "Abigail" [ stateTopic="abigail-wemos-d1-mini/in" , commandTopic="abigail-wemos-d1-mini/in", on="1", off="0", retained=true, postCommand=true ]
}

}
::::::::::::::
items/abidgail.items
::::::::::::::

Switch Abigail [ “Lighting” ] {
channel=“mqtt:topic:broker:Abigail:switch”,
autoupdate=“true”,
alexa=“PowerController.powerState” [category=“SWITCH”],
ga=“Light”
}

I have signed up for the Beta program, because it will be fun to see if it solves my problem.

Nothing ventured nothing gained.