-
Notifications
You must be signed in to change notification settings - Fork 109
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
Alexa can't find my blinds #74
Comments
Well, with no answer in three months, it seemed ok to close it at the time. It was solved for nstone33 by using Python 3 instead of 2.7, though.
If I were you, I'd try sniffing the traffic, it did help me in the past: n8henrie/fauxmo#72 |
I wasn't suggesting that it shouldn't have been closed, just that because there was no resolution I thought it would be ok to report essentially the same problem.
I gave this a go, but it doesn't seem that I'm having the same problem. (RPI is 192.168.2.11 and Echo Dot is 192.168.2.12)
... and then:
Digging in a little further it looks from the operateshutters.log that the Echo is in fact reaching the RPI:
I dug around in fauxmo.py and replaced the commented out print call on line 246 with a self.LogDebug so that the response to the setup.xml request would be dumped:
This response 'looks fine' to me, looking at the code it seems like we're expecting the echo to send a follow up request which contains "SOAPACTION: "urn:Belkin:service:basicevent:1#SetBinaryState"" or similar... but this never appears, which suggests that the echo doesn't like something from the setup.xml response. Can someone dump this response from a successful discovery so I can compare? |
Hi i have the same issue:
But my Alexa tells me that there are no devices |
Same issue, It was working until I had to do a fresh install on the raspberry. HASS works, MQTT works, Webinterface works but Alexa is not discovering the devices. Checking the log I can also see the service is responding the initial response, but there is no follow up. Set up:
Thanks |
Maybe this? n8henrie/fauxmo#72 |
I have the same issue everything works except for Alexa discovering the device. This is the only thing I get in the logs. ~ $ sudo tail shtail -f /var/log/operateShutters.log |
I had a couple of higher-priority problems to address but I'm intending to get back to this soon. I was able to make a bit more progress than I made here. I downloaded the latest version of fauxmo and everything works fine for it. The code which manages this bit of the negotiation has diverged significantly from what Pi-Somfy is currently using. I think it's a reasonable hypothesis that:
Next time I have cycles for this I'm going to bisect the entire negotiation process between my echo and the test harness for the latest version of fauxmo and do the same for pi-somfy. There were only small deltas when I did this before so I suspect/hope that the fix will be minor. Of course, if someone else got there first that would be awesome :) |
A bit off topic but does someone know how I can prevent the web interface from starting up? In systemctl shutters.service is already disabled, also moved away the -a part from the shutters.service file.. |
@Idries did you get anywhere with updating to the newer version of fauxmo? |
hey toegether, |
Hi,
I have the same (or very similar) problem as reported in issue 46. That bug seems to have been closed without resolution but the instructions in this comment indicated that it would be helpful to attempt to replicate the issue with the same hardware using the dev mode of fauxmo.
I installed the stand alone package of fauxmo on the same Pi and stopped the Pi-Somfy, then I copied the example config.json and ran fauxmo. Using this setup I was able to have my Echo discover all the fake devices in the example config.json. It worked first time but it also dumped a trace.
That seems to have been benign tho because I am able to tell Alexa to turn on/off the discovered devices (which results in more spew as it tries to hit the fake URLs in the config.json).
I'm hoping that this will be useful in pinning the issue down?
For context here's some more info:
HARDWARE
Raspberry Pi 3A <--- Fresh install with just Pi-Somfy (and now fauxmo as well)
Echo Dot 3rd Gen
These devices are both on the same SSID/VLAN
I've also included a section of my operateshutters.log which I think illustrates the same problem as the original bug (I have not gone through the steps to add additional logging, but happy to do so if needed).
Other Observations
LMK if I can fiddle around with anything else? I have cloned master of fauxmo, but 2 seconds of diffing between that and the fauxmo.py code in Pi-somfy made it clear that I can't just drop in the new one and expect it to work :)
The text was updated successfully, but these errors were encountered: