Coder Social home page Coder Social logo

Rollershutter supported? about openhab-alexa HOT 4 CLOSED

openhab avatar openhab commented on August 15, 2024
Rollershutter supported?

from openhab-alexa.

Comments (4)

mboremski avatar mboremski commented on August 15, 2024 2

Finally found the solution...
In germany since 1996 (spelling reform) we write "Rolllade" with three L.
My labels only had two L -> "Rollade"
Since Alexa uses new germany spelling rules for "speech to text" my labels did not match 💢

Corrected it:

Rollershutter Shutter_MaBo_Kueche	"Rolllade Küche"		["Switchable"]	{...}
Rollershutter Shutter_MaBo_AZ 		"Rolllade Arbeitszimmer"	["Switchable"]	{...}

Now it works perfect.

from openhab-alexa.

htreu avatar htreu commented on August 15, 2024 1

Hi @mboremski, in my setup I have extra items for alexa which are modelled like this:
Rollershutter Shutter_Alexa_Kitchen "Rollladen Küche" [ "Switchable" ]. In the skill the Rollershutter items will be translated to dimmable things which also accept percent values. So you are able to tell Alexa "Setze Rolladen Küche auf 100%". You need an additional rule to make this work in case your Rollershutters (like mine) do not accept position values in openHAB:

rule Rollershutter_Kueche
when
    Item Shutter_Alexa_Kitchen received command
then
    if (receivedCommand < 50) { // alexa versteht "0%" als 9....
      sendCommand(Shutter_GF_Kitchen, UP)
    } else {
      sendCommand(Shutter_GF_Kitchen, DOWN)
    }
end

from openhab-alexa.

digitaldan avatar digitaldan commented on August 15, 2024

I'm afraid I'm a bit confused, and this is probably a language issue, but you have named your device "Rolladen Arbeitszimmer" , which I believe translates to "study rollershutters", but then you ask to "lift" the "rollershutter in the study".

Alexa thinks the device is called ""Rolladen Arbeitszimmer", it does not know what those words mean, so you can't break them apart in commands, she's not that smart. You need to ask her to turn on or off "Rolladen Arbeitszimmer". Also I don't even know if Alexa knows what "lift" means, she would need to translate that to a ON/OFF command since you device is tagged as "Switchable", but according to the error message, she can't even find your device.

from openhab-alexa.

mboremski avatar mboremski commented on August 15, 2024

Found out something new...
I got two devices like this:

Rollershutter Shutter_MaBo_Kueche	"Rollade Küche"			["Switchable"]	{...}
Rollershutter Shutter_MaBo_AZ 		"Rollade Arbeitszimmer"	 	["Switchable"]	{...}

The commando "Alexa, setze Rollade Küche auf 50%" is working.
The commando "Alexa, setze Rollade Arbeitszimmerauf 50%" is not working.

If I rename like that:

Rollershutter Shutter_MaBo_AZ 		"Arbeitszimmer"	 		["Switchable"]	{...}

(so, removed "Rollade") the following commando works fine:
"Alexa, setze Arbeitszimmer auf 50%"

Are there any limitations on the length of a label?

from openhab-alexa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.