Official Alexa Smart Home Skill for openHAB 2

Just an FYI, I resubmitted the skill on Monday and also pinged our contact within Amazon to see if they could do anything to get us higher up in the review queue .

5 Likes

Really looking forward to this!

Hi Dan, any update from amazon?
I look for amazon new skill arrival on italian site every 4h but they just publish trash skills.
I can’t wait anymore :wink:

3 Likes

Hi Dan, that sounds great, when it’s expected to be available on Spanish (ES)? Is there any way to contribute with tech knowledge to make it happen?

All the best!

Hi,

Does anyone know whats the syntax for humidity. Strangely I can read my humidity value from DHT22 via openhab but when asking Alexa to provide humidity reading in Living room it says that "Living room doesnt support that"

This is my item for humidity:

Number Humidity_GF_Living "Living Room [%.1f %%]"        <humidity>   (Humidity, GF_Living) [ "CurrentHumidity" ] { mqtt="<[broker:/sonoff/switch5/humidity:state:default]"} 	

Everything seems to be working fine when asking Alexa about temperature reading in Living room it will report correctly.

The current item for temperature is as follows:

Number Temperature_GF_Living "Living Room Temp [%.1f °C]"   <temperature>   (Temperature, GF_Living) [ "CurrentTemperature" ] { mqtt="<[broker:/sonoff/switch5/temperature:state:default]"}

Alexa doesn’t support humidity right now. It’s not a problem of the skill, it is Alexa itself who is not capable to read humidity. If you have the Alexa control binding installed you can create a switch which triggers alexa to tell the humidity and a routine to trigger the switch to let Alexa say “humidity in living room is 43 percent.”.

Hi Dan,
We are still waiting for the Alexa skill release from amazon.it
Have you any problem with it?
Can we help you?
Regards
Lorenzo

Hi, we were rejected with no cause. I have resubmitted it and am trying to get additional support from our Amazon contact. Very frustrating.

6 Likes

Hi,

is there any detailed documentation on how to get a developer version on amazon for testing? I tried to follow the description in the readme but the web interface seems to have changed a lot since the last time i did something there (around 2 years ago) and also some things from the readme do not seem to match the new interface.

I want to do some alexa skill development but its hard to get into it… Any pointers would be nice.

I already have openhab skill deployed as lambda but i can not find the part for “Under “Event Sources” add a “smart home skill” event source, for Application Id, add the Application Id from the Alexa developer portal” in the config. Also the reference links from amazon do not work anymore or are old and do not reflect the new interface.

Any help is appreciated.

Cheers Sam

Edit:
Nevermind, i was on the wrong tier. No Smarthome in EU Frankfurt… Now i just need to setup auth…

Thanks Dan, Let us know if we can help you.
Can we push amazon to get the skill approved?
Regards
Lorenzo

2 Likes

Works like a treat to deploy it as your own ‘development skill’

Would there be any “how to” for those of us that are not so PC literate? I have managed to follow other Amazon developer options to deploy skills such as Google for Amazon skill, but it can get very confusing for those not having a Phd in programming :astonished:

Thanx Chris.

Not sure there is a guide for it as it involves a couple of things; and unfortunately takes a fair amount of knowledge to deploy yourself.

(1) Deploying Alexa skill into AWS.

  • You need to have an AWS account
  • Clone the Alexa openhab skill and edit two files: .env and config.js
  • .env contains your AWS credentials
  • config.js needs to be configured for your endpoint. In my case I have a username & password pointed to my home network, via a reverse proxy.
  • Then you need to deploy the code (using ‘node-lambda deploy’) as a AWS Lambda service. Your Alexa skill will point to this.

(2) Go to the Alexa Developer Console (developer.amazon.com)

  • Create a Smart Home Skill
  • Which has to be pointed at the AWS Lambda skill you just deployed.
1 Like

I am currently experience that the alexa skill is offline. Previously I used the Hue Emulation

Does the skill conflict with Hue Emulation? What happens if you have both? Does you sometime need to reset all devices in the alexa app and do rediscovery? Where are the json database file stored for the tagging, it might be an issue old items not getting deleted.

I will then make a note in the documentation about theses issues:
https://www.openhab.org/docs/ecosystem/alexa/

See, Alexa skill

I use both together without any problems.

@Saracen Whats the benefit of using both?

i use the alexa binding for Text to speech and have been using the emulation so far for controlling my liights, but I am trying to switch over to the skill instead…

Probably none now. I started using the Hue emulation for lights and things and never moved them over to the Alexa skills binding. I suppose the Hue emulation is (or was) slightly more robust .

True story. Until I started to experience the " value out of range " feedback

After two days reading how to about Alexa skill and “readme” from Digitaldan page (https://github.com/openhab/openhab-alexa) I was able to publish the lambda function on aws and configure alexa smrt home skill with it (in italian for my own, still in developer mode).
But now I’m stuk with the skill’s “account linking”.
Can I ask you for help me please tabout how to with this settings?
Thank you
Authorization URI:
Access Token URI
Client ID
Client Secret
Client Authentication Scheme
Scope
In the atthached immage you can see what I tried, but doesn’t work. After login to myopenhab, the Alexa skill is not added to the Applications.
Thank you

Hey,

just wanted to let you guys know, that i’m currently working on adopting the alexa skill to v3 payload so that we can use all the other Controllers the SmartHome API offers like Media Controller, Smart TVs and stuff like that. Is anyone already working on that?

I already have some code lines and wrote some tests but its still far from finished.

Is there any way to use the auth mechanism of my.openhab.org? My provider already changed to ipv6 and port forwarding does not work, so i cant test with my local openhab installation… I will write a lot of tests in the beginning so its not really needed from the start but it would be pretty cool to use that for testing.

Cheers

Sam

1 Like