-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Voice Command #172
Comments
I rarely use my phone to interact with pihome. Day to day usage is almost entirely through google assistant...here is my method Link to pihome google voice setup |
@scottagecheeseandcrackers almost forgot about that post, does same apply to Amazon Echo? can all the setup be done on Raspberry pi without external dependency ? |
Yep...it should. My voice control runs on my pihome raspberry pi - very low CPU usage. I don't have an Amazon echo, but it looks like you would just need to add the following plugin to node-red to get it to work - node-red-contrib-alexa-remote2 |
Added basic BOOST control using Belkin WeMo emulation. Amazon echo need to be on the same network as PiHome. Install using 'sh install_echo.sh'. Tell Echo 'discover devices' then if it finds the zone names, you can tell Echo 'zone name on' or 'zone name off' |
@twa127 ps: i wish you can see excitement on my face |
:-) yep only 'pip install requests' and I've put that in the 'install_echo.sh' |
By the way I've set it up as a service called 'pihome_amazon_echo.service' which gets configured by install |
Amazon Echo Boost Basic Control #172
@twa127 on my default img,
i had to install here is the service status `Installing collected packages: idna, urllib3, certifi, chardet, requests Mar 23 17:46:44 pihome python[1378]: import requests anything missing or i m doing something wrong? |
Hi, to create the unit file manually sudo nano /lib/systemd/system/pihome_amazon_echo.service enter the following text and save [Unit] [Service] [Install]
|
@twa127 my bad, |
hi, I did not add any skills. The Pi and Echo need to be on the same network. You can run in debug mode by stopping the service with 'systemctl stop pihome_amazon_echo.service' then run from the 'amazon_echo' directory issue the command 'python echo_pihome.py' |
my echo and pi are on same network only difference is pi is wired and echo is wifi but same rounter same ip range, here is output
|
as far as i know there is no firewall on my rpi, and not iptables either (the usual suspect) |
looks okay to me - what happens when you tell echo 'find my devices' |
echo can not find any device, "i couldn't find smart home device" |
strange |
we could do with someone else to give it a try, it ran okay on both my RPi and Beaglebone |
little help from raspberry pi forum link DEBUG:root:Responding to search for First Floor |
Hi what port scanner are you using and I’ll post a screenshot of what mine looks like
…Sent from my iPhone
On 24 Mar 2020, at 00:26, PiHomeHVAC ***@***.***> wrote:
did bit more digging and my echo is looking for response on port 5353 or 1900, even if i change port in python script echo still unable to find pihome.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
How about trying pi connect to WiFi
…Sent from my iPhone
On 24 Mar 2020, at 00:26, PiHomeHVAC ***@***.***> wrote:
did bit more digging and my echo is looking for response on port 5353 or 1900, even if i change port in python script echo still unable to find pihome.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@pihome-shc i had same issue as your in first: end up with multiple entries in /lib/systemd/system/pihome_amazon_echo.service (should have read all the thread before proceeding but i guess i was very excited) but after sudo apt-get install python-pip and removing extra entries i can start service but amazon echo cannot find any device. i will investigate this further may be its my router, pihome id doing what is meant to do, |
@twa127 any specific device i have to add? |
I just said ‘find my devices’ but tried deleting and then using the app as you described and that worked okay as well
…Sent from my iPhone
On 24 Mar 2020, at 11:39, dvdcut ***@***.***> wrote:
@twa127 any specific device i have to add?
on Amazon Alexa app tap on top right ->Add Device->Other->Discover Devices
is this right ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
i thought it is my broadband router, i tried different router but no progress, @pihome-shc what port scanner you are using? |
@twa127 thank you for asking, i m fine, |
@dvdcut, welcome back |
|
spelling mistake at line 14 should read sudo apt-get install python-pip never got picked-up before because pip was already installed, I'll commit change |
@twa127 after still had issues with install_echo.sh, but after changing from Windows (CR LF) to Unix (LF) it worked, fine, |
ah edited it notepad, I'll commit the copy from the Pi |
i have added instructions on PiHome website. http://www.pihome.eu/2020/04/25/pihome-with-amazon-echo-voice-control/ is there anything else needs to be done with this? |
Looks good to me, mine been running okay for a couple of weeks now. If we are moving to Python 3 I will look at moving it up as there are newer versions of fauxmo for Python 3 |
do we want to add google in this mix now without external dependencies as @scottagecheeseandcrackers did this write-up on Link pihome google voice setup |
@dvdcut is there any library available to support this? i dont have google home only one android phone |
@dvdcut - I was unaware of homebridge so I've been running a mqtt setup for a while now via openhab. My wife did not seem happy with voice control and oddly refuses to use the pihome site. I mounted a spare android phone to the wall, with a simply mqtt display to act as a physical boost button 😅 |
Just reading this - https://github.com/oznu/homebridge-gsh
|
@scottagecheeseandcrackers that looks very good gui, one of my PiHome customer said the same thing about his wife (refuse to use web interface on mobile) he needs something similar i think |
@pihome-shc - unfortuantely unlike you guys I haven't a clue how to code. Instead I chose to use openhab - to set a simple gui. If it's any help here is the link that I followed to set it the gui... |
@twa127
/etc/fauxmo/ dont have any jason file. |
Sorry my error, I've committed an update, if you want to try it I've attached |
@twa127 after running install script, it can discover devices and start the boost, but one very odd message, i tried hot water and if hot water is over the boost set temperature it reads this device isnt responding. |
Did you update your copy of boostSet.php |
Yes, from github, i will give it another try for sake of troubleshooting |
okay, its a bit strange as should be no different from last version, uses the same api just small change in the return data and the api simply uses boost_view now gives {"success":true,"state":false,"state_str":"off"} old version gave {"success":true,"state":false} |
just tried lowering the boost temp to be below actual temp and it all worked okay |
my bad, i had old devices in Alexa app, and i think echo was getting confused. after removing all devices and discovery all working as expected. |
ah! good news ;-) |
Merge pull request #378 from twa127/master
Recently bought Amazon Echo for kids to give me option to interact with voice control for some learning, so far kids happy asking questions but it got me thinking to what it takes to implement voice commands for PiHome. any one have any experience in voice command with Google Home and Amazon Echo?
The text was updated successfully, but these errors were encountered: