OPNsense Forum

English Forums => General Discussion => Topic started by: dergroddi on September 09, 2022, 07:02:53 PM

Title: Openhab & Alexa - Item discovery not working
Post by: dergroddi on September 09, 2022, 07:02:53 PM
Hi,

i have three networks in my installation:
- WAN, 192.168.178.x, connected to my Fritzbox Router on Lan1 of opnsense
- LAN, 192.168.10.x
- IOT, 10.10.10.x, both connected on Lan2 of opnsense

My openHAB3 server is in the LAN network, my Alexa devices are in the IOT network.

Now I want some items from my openHAB3 server to be discovered by Alexa (the items all have the correct metadata) but Alexa doesn't find anything.

Any ideas how to go about this problem? I tried to look in the live logs but i could not find blocked traffic between the networks.

Thanks for advice
Title: Re: Openhab & Alexa - Item discovery not working
Post by: axsdenied on September 09, 2022, 07:13:13 PM
Haven't used Openhab so take this with a grain of salt:

Digging into your scenario via this link here:
https://www.openhab.org/docs/ecosystem/alexa/#requirements

It doesn't even look like they do local discovery.  It looks like your OpenHab environment would talk directly with the Alexa service and enumerate devices in the cloud.

If true, this could be 1 reason you're not seeing blocks.  The other ofcourse being you don't have logging turned on for the rule that is potentially blocking anything internally ;)
Title: Re: Openhab & Alexa - Item discovery not working
Post by: dergroddi on September 09, 2022, 07:43:00 PM
You are right, the connection happens over the cloud.

My openHAB server is connected to their cloud interface (myopenhab.org) and this is working fine. Also, I have to enable to Skill in the Alexa App, which correctly connects to my account on myopenhab.org.