Re: [mh] Help for Alexa Integration - Episode #2 : Xiaomi vacuum (mirobo)
Gianni Veloce via misterhouse-users <[email protected]> Mon, 14 Mar 2022 21:11:06 +0000 (UTC)
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Hi again MH-lovers!
Sadly did not get too many responses to my question below...So may I suppose that what i asked is unachievable within Misterhouse?
Or maybe ask you a more general question:Does anyone of you have integrated somehow Alexa to Misterhouse to be able to send "MH" voice commands ? (i mean those defined with voice_cmd)
TIA
GV
On Saturday, March 12, 2022, 08:26:53 PM GMT+2, Gianni Veloce via misterhouse-users <[email protected]> wrote:
Hi MH-lovers!
Having solved the issues with my Alexa (grace to your great support) I have managed finally to voice control all my lights (a mixture of X10 and Insteon, I know it is old-fashion but heading soon for tasmotized Sonoffs:))
Happy after that initial success I tried to integrate to Alexa my Xiaomi Roborock S6 vacuum.For those that may not know there is a script for linux that works pretty well with various Xiaomi models and you can find it herehttps://github.com/haim0n/python-mirobo
But the issue with Alexa is that afaik AlexaBridge is allowing only ON and OFF commands, so when I put in my items.mhta line with all the command options for the Xiaomi vacuumALEXABRIDGE_ADD, AlexaItems, !_vacuum, Vacuum, run_voice_cmd, start, stop, find, home, pauseAlexa responds only to the two first (start and stop that are linked to on and off).
So i ask you experts is there any way to make Alexa respond to all 5 commands?
TIAGV
P.S. here is my mirobo.pl$v_vac1 = new Voice_Cmd '[start,stop,find,home,pause] vacuum';if ($state = said $v_vac1) { speak "$state vacuum"; `mirobo $state`;}
________________________________________________________
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