Using Alexa without openHAB cloud

Thanks @job and @DSTM.

Now is clear. :smiley:

one bit I missed telling you…

Before saying “alexa discover devices”, you need to go to configuration -> services > IO -> Hue Emulation in PaperUI and set it to ‘Pairing Enabled’, otherwise Alexa can’t see your tagged devices.

Thanks :wink:

I use Paper UI for all of my Thing/Item setup and configuration. Do you know how I can use the Hue Emulation binding (or specifically how I can tag my items) when I don’t have any .items files to tag?

Use the REST api:

Thank you! This did the trick :slight_smile:

@rlkoshak You are consistently the best contributor to this community. I had a take on this topic I hope will help illuminate why I agree with this threads desire to keep to hue emulation versus myopenhab skill:

Alexa = billions of $'s or resources used and a legal penalty drive due diligence to protect you from bad actors i.e. keep the attack plane small.

Myopenhab.org = voluntary support and minimal $'s available to protect you from bad actors. Attack plane is “potentially” huge.

Paranoia about your data going somewhere aside (those folks should assess what tech would be left to them without it being paid for by their data being collected) - myopenhab.org has access to real world physical impact to the end user and that should not be taken lightly. For me I discontinued use (still have an account) after my garage door opened and alarm arm button had a call to “off”. I had no way to know what IP sourced that from myopenhab as the logging is opaque to me. Response in this community was “someone hacked your lan/wan” not myopenhab. Myopenhab is a nice to have but considering its opaque to my seeing the logs - cant use it. I wont use it as a vm in the cloud on my own for the same reasons - $'s to ensure safe and time to maintain it being safe.

1 Like

Hey together!
I have similar concerns, so my question is:
Is it possible to create my own cloud version via means of port forwarding or something comparable. I build the Alexa Skill from scratch so I am able to change the url the skill is talking to. I’m just not sure if it is that easy or if there are any traps on the way.
For sure then I am in charge to secure it, but via basic Auth, a firewall allowing only traffic from Amazon IP and maybe some kind of brute force protection it should be good to go.
Furthermore it is less likely that a single instance is hacked with high effort compared to the effort-outcome relation for hacking my openHAB.org.

Hope someone has tried it or can give some advice about the concerns related. :slight_smile:

Best regards
Patrick

Source and Readme for openhabcloud

Basically about 2/3rds down are instructions on spinning your own myopenhab.org instance on amazon. You of course will need to think about security, dns registration etc but your custom alexa skill would point to it as well as the ios/android apps. Your openhab cloud connector would need to be configured to point to your custom instance
Openhab Cloud Connector binding info
YMMV

Hi,
I can confirm that Hue Binding works with Alexa without openHAB Cloud on openHAB 3.4.4 if you use som extra steps as nginx settings and change uniqueid manually:

Thanks to d0t from this thread:

We also provide step-by-step tutorial on our web pages from our scenario example with screens:
https://opentux.eu/blog/pihome/voice-control-smart-house

Majkee

1 Like