Re: [mh] Help for Alexa Integration - Hue Emulation
Giles Godart-Brown <[email protected]> Sun, 6 Mar 2022 21:00:05 +0000
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Gianni I am also running on a Raspberry PI , I don't believe there is a firewall, I certainly haven't set anything up. I have a mixture of alexas 4th gen, 3rd gen dot and 2nd gen dot. I usually turn all off bar one when discovering and use the 2nd gen or 4th gen, it doesn't seem to make any difference which. I'm sure someone else on the list will be able to interpret your logs, its a bit beyond me. Giles On 06/03/2022 19:49, Gianni Veloce via misterhouse-users wrote: > Hi Dan and Gilles > > thanks a lot for your responses and willingness to help > > Still no joy (discovery fails consistently..) > > But in the meantime i have activated the debug for Alexa (I was stupid > as my mh,private.ini had another debug command somewhere below saying > debug=0 LoL) so I am attaching herein the print_log output after the > failed discovery. > Maybe someone may understand more on this case by looking into it. > Hopefully :) > > Regarding the potential firewall block as a reason i think RPIs dont > have a firewall activated by default, > Not a Unix expert so I have used a couple of commands that in my > understanding mean that RPI is listening to ports 1900 and 50000. Right? > root@misterhouse:~# sudo netstat -lptu|grep 1900 > udp 0 0 0.0.0.0:1900 0.0.0.0:* > 1574/perl > root@misterhouse:~# sudo netstat -lptu|grep 50000 > udp 0 0 0.0.0.0:50000 0.0.0.0:* > 1574/perl > > BTW What Alexa model / version are you guys using ? > Perhaps my Dot 3rd Gen is behaving in a different way? > > Hope someone can help me to solve this, as my MH/Unix skills dont help > me too much and really want to use my Dot for mh voice control. > > Cheers > GV > > ---------------------------------------------------------------------------------------------------------- > > On Sun, Mar 6, 2022 at 04:17, Gianni Veloce via misterhouse-users > <[email protected]> wrote: > > hi Misterhouse lovers!! > > I hope someone can help me again > For the last days I am trying to integrate my new Alexa Echo > Dor/Gen3 to MH, but in vain :(. > Devices discovery does not work neither from the Alexa Dot nor > from the Amazon-Alexa web interface (no devices found) > Searched the internet exhaustively and not many articles found for > mh a=while some more found for OpenHub but did not help me so far > as see quite old. > > i am using mh version 5.0 with perl 5.28.1 on a brand new > Raspberry Pi 4. > Both RPI and Alexa Dot are in te same network and Alexa works in > genaral responidng to std voice commands etx > > On my Rpi I have setup the mh.private.ini as described in the > guide here for the "Chunked Method" > Amazon Echo and Google Home local integration using MH native Hue > Emulation · hollie/misterhouse Wiki · GitHub > and I have also setup a couple of my lights as Alexa items in the > mht file and I see that the mhp generated includes them.. > As my mh is running on local port 8080 (user non-root) i used the > iptables redirect > iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT > --to-port 8080 > which seems to work as running > http://mhIpAddress/description.xml > <http://mhIpAddress/description.xml> > brings me the Hue XML file > > Also in mh.log I see that the notifier/listener are activated > mh.log: - creating alexaSsdpNotification on udp 50000 > mh.log: - creating alexaSsdpListen on udp 1900 > > One strange thing is that although i have set debug in the .ini with > debug = alexa:5 > I dont see any debug messages at all in the print.log....and > wonder why... > > Hope I gave a good overview of my case so can someone help? > > Can you confirm that Alexa integration works currently with MH or > is perhaps somehow broken? > And if possible provide some examples for INI and MHT entries? > Of course any other tips/advices are very welcome! > > TIA > GV > > > > ________________________________________________________ > To unsubscribe from this list, go to:https://lists.sourceforge.net/lists/listinfo/misterhouse-users > ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users