nassir-malik / IOT-Pi3-Alexa-Automation

Use Raspberry Pi 3 as home automation device with Alexa
108 stars 107 forks source link

RPi 3 problems w/ New Code #14

Open Steakanemon29 opened 5 years ago

Steakanemon29 commented 5 years ago

So last year in dec I firstly installed this script and it worked just fine. But now i had to reinstall everything and now the code output looks a little different and alexa(gen 2. which worked before) does not find any new device.

I'll bold the new part.

Code Output:

pi@raspberrypi:~/Alexa/IOT-Pi3-Alexa-Automation-master $ sudo python3 RPi_name_port_gpio.py DEBUG:root:Listening for UPnP broadcasts DEBUG:root:got local address of 192.168.1.105 DEBUG:root:UPnP broadcast listener: new device registered DEBUG:root:FauxMo device 'kitchen' ready on 192.168.1.105:52000 DEBUG:root:UPnP broadcast listener: new device registered DEBUG:root:FauxMo device 'living room' ready on 192.168.1.105:51000 DEBUG:root:Entering fauxmo polling loop DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room ################################## handle_reques ####################### b'GET /setup.xml HTTP/1.1\r\nHost: 192.168.1.105:52000\r\nAccept: /\r\n\r\n' ################################## handle_reques ####################### DEBUG:root:Responding to setup.xml for kitchen ################################## handle_reques ####################### b'GET /setup.xml HTTP/1.1\r\nHost: 192.168.1.105:51000\r\nAccept: /\r\n\r\n' ################################## handle_reques ####################### DEBUG:root:Responding to setup.xml for living room ################################## handle_reques ####################### b'GET /setup.xml HTTP/1.1\r\nHost: 192.168.1.105:52000\r\nAccept: /\r\n\r\n' ################################## handle_reques ####################### DEBUG:root:Responding to setup.xml for kitchen ################################## handle_reques ####################### b'GET /setup.xml HTTP/1.1\r\nHost: 192.168.1.105:51000\r\nAccept: /\r\n\r\n' ################################## handle_reques ####################### DEBUG:root:Responding to setup.xml for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room

nassir-malik commented 5 years ago

Are you using the latest code form GithHub? I tested it with Gen 2and 3.

-Thanks

Nassir

On Sat, Feb 2, 2019 at 9:59 AM Steakanemon29 notifications@github.com wrote:

So last year in dec I firstly installed this script and it worked just fine. But now i had to reinstall everything and now the code output looks a little different and alexa(gen 2. which worked before) does not find any new device.

I'll bold the new part.

Code Output:

pi@raspberrypi:~/Alexa/IOT-Pi3-Alexa-Automation-master $ sudo python3 RPi_name_port_gpio.py DEBUG:root:Listening for UPnP broadcasts DEBUG:root:got local address of 192.168.1.105 DEBUG:root:UPnP broadcast listener: new device registered DEBUG:root:FauxMo device 'kitchen' ready on 192.168.1.105:52000 DEBUG:root:UPnP broadcast listener: new device registered DEBUG:root:FauxMo device 'living room' ready on 192.168.1.105:51000 DEBUG:root:Entering fauxmo polling loop DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room

################################## handle_reques ####################### b'GET /setup.xml HTTP/1.1\r\nHost: 192.168.1.105:52000 http://192.168.1.105:52000\r\nAccept: /\r\n\r\n' ################################## handle_reques ####################### DEBUG:root:Responding to setup.xml for kitchen ################################## handle_reques ####################### b'GET /setup.xml HTTP/1.1\r\nHost: 192.168.1.105:51000 http://192.168.1.105:51000\r\nAccept: /\r\n\r\n' ################################## handle_reques ####################### DEBUG:root:Responding to setup.xml for living room ################################## handle_reques ####################### b'GET /setup.xml HTTP/1.1\r\nHost: 192.168.1.105:52000 http://192.168.1.105:52000\r\nAccept: /\r\n\r\n' ################################## handle_reques ####################### DEBUG:root:Responding to setup.xml for kitchen ################################## handle_reques ####################### b'GET /setup.xml HTTP/1.1\r\nHost: 192.168.1.105:51000 http://192.168.1.105:51000\r\nAccept: /\r\n\r\n' ################################## handle_reques ####################### DEBUG:root:Responding to setup.xml for living room DEBUG:root:Responding to search for kitchen DEBUG:root:Responding to search for living room

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nassir-malik/IOT-Pi3-Alexa-Automation/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/AL1FGXE8eQoHobcNbZm0xMbZAMUKKMGuks5vJbXwgaJpZM4afpqU .

pholdahl commented 5 years ago

Hello!

First of all, thank you nassir for making this, at first glance, easy to install RPi Alexa automation. And also thanks for your very well put together tutorial(s).

I followed your tutorial on this, fresh install, all updated raspbian and newest codes from github, and I get the exact same bug.

Have you, or anyone else found a solution or a workaround to this issue?

GadgetAngel commented 4 years ago

see #20, for a solution