{"action":"created","issue":{"url":"https://api.github.com/repos/n8henrie/fauxmo/issues/5","repository_url":"https://api.github.com/repos/n8henrie/fauxmo","labels_url":"https://api.github.com/repos/n8henrie/fauxmo/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/n8henrie/fauxmo/issues/5/comments","events_url":"https://api.github.com/repos/n8henrie/fauxmo/issues/5/events","html_url":"https://github.com/n8henrie/fauxmo/issues/5","id":144445092,"number":5,"title":"Discovery not working on raspberry pi","user":{"login":"acidbath","id":2039701,"avatar_url":"https://avatars.githubusercontent.com/u/2039701?v=3","gravatar_id":"","url":"https://api.github.com/users/acidbath","html_url":"https://github.com/acidbath","followers_url":"https://api.github.com/users/acidbath/followers","following_url":"https://api.github.com/users/acidbath/following{/other_user}","gists_url":"https://api.github.com/users/acidbath/gists{/gist_id}","starred_url":"https://api.github.com/users/acidbath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acidbath/subscriptions","organizations_url":"https://api.github.com/users/acidbath/orgs","repos_url":"https://api.github.com/users/acidbath/repos","events_url":"https://api.github.com/users/acidbath/events{/privacy}","received_events_url":"https://api.github.com/users/acidbath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"n8henrie","id":1234956,"avatar_url":"https://avatars.githubusercontent.com/u/1234956?v=3","gravatar_id":"","url":"https://api.github.com/users/n8henrie","html_url":"https://github.com/n8henrie","followers_url":"https://api.github.com/users/n8henrie/followers","following_url":"https://api.github.com/users/n8henrie/following{/other_user}","gists_url":"https://api.github.com/users/n8henrie/gists{/gist_id}","starred_url":"https://api.github.com/users/n8henrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n8henrie/subscriptions","organizations_url":"https://api.github.com/users/n8henrie/orgs","repos_url":"https://api.github.com/users/n8henrie/repos","events_url":"https://api.github.com/users/n8henrie/events{/privacy}","received_events_url":"https://api.github.com/users/n8henrie/received_events","type":"User","site_admin":false},"milestone":null,"comments":33,"created_at":"2016-03-30T02:39:38Z","updated_at":"2016-05-04T08:06:20Z","closed_at":null,"body":"Sorry to bother you with this, but after several reinstalls I am out of ideas.\r\n\r\nI've got a current raspbian jessie installed on my raspberry pi 2 but my amazon echo won't find the virtual wemo devices.\r\nWhen I was tired of new installations I finally gave it a try on a MacBook and it worked out of the box. The same is true for an Intel NUC running an older Ubuntu - all I needed were your 3 quick installation steps and it worked.\r\nThe raspberry pi is online (I've updated the system) and an installed mqtt server (mosquitto) can be reached from all my other machines.\r\n\r\nDo you have any idea what might be wrong?\r\n\r\nThis is the output for a stripped down config.json:\r\n2016-03-30 02:37:42 fauxmo       DEBUG    Listening for UPnP broadcasts\r\n2016-03-30 02:37:42 fauxmo       INFO     Using config: ./config.json\r\n2016-03-30 02:37:42 fauxmo       DEBUG    Using IP address: 192.168.27.52\r\n2016-03-30 02:37:42 fauxmo       DEBUG    Attempting to bind: 192.168.27.52:12345\r\n2016-03-30 02:37:42 fauxmo       DEBUG    UPnP broadcast listener: new device registered\r\n2016-03-30 02:37:42 fauxmo       DEBUG    Device living room light ready on 192.168.27.52:12345\r\n2016-03-30 02:37:42 fauxmo       DEBUG    {'uuid': UUID('e2d2c9d3-176a-410e-aa53-3448f6724c6f'), 'socket': <socket.socket fd=6, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0, laddr=('192.168.27.52', 12345)>, 'port': 12345, 'other_headers': ['X-User-Agent: Fauxmo'], 'action_handler': <fauxmo.handlers.rest.RestApiHandler object at 0x7619b4f0>, 'name': 'living room light', 'server_version': 'Unspecified, UPnP/1.0, Unspecified', 'client_sockets': {}, 'poller': <fauxmo.upnp.Poller object at 0x76290e10>, 'serial': '5ff80a07-b9b1-3f20-b174-1ec5b08d2573', 'listener': <fauxmo.upnp.UpnpBroadcastResponder object at 0x76290d10>, 'ip_address': '192.168.27.52', 'root_url': 'http://{}:{}/setup.xml'}\r\n2016-03-30 02:37:42 fauxmo       DEBUG    Entering main loop (polling)\r\n\r\nThanks a lot!"},"comment":{"url":"https://api.github.com/repos/n8henrie/fauxmo/issues/comments/216775181","html_url":"https://github.com/n8henrie/fauxmo/issues/5#issuecomment-216775181","issue_url":"https://api.github.com/repos/n8henrie/fauxmo/issues/5","id":216775181,"user":{"login":"acidbath","id":2039701,"avatar_url":"https://avatars.githubusercontent.com/u/2039701?v=3","gravatar_id":"","url":"https://api.github.com/users/acidbath","html_url":"https://github.com/acidbath","followers_url":"https://api.github.com/users/acidbath/followers","following_url":"https://api.github.com/users/acidbath/following{/other_user}","gists_url":"https://api.github.com/users/acidbath/gists{/gist_id}","starred_url":"https://api.github.com/users/acidbath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acidbath/subscriptions","organizations_url":"https://api.github.com/users/acidbath/orgs","repos_url":"https://api.github.com/users/acidbath/repos","events_url":"https://api.github.com/users/acidbath/events{/privacy}","received_events_url":"https://api.github.com/users/acidbath/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T08:06:20Z","updated_at":"2016-05-04T08:06:20Z","body":"It's me again - back home for a single day. :-/\r\n\r\nAnyways... I connected the pi to the 5 port switch again and the tcpdump doesn't show any searches coming from the echo.\r\nWhat I do see though are broadcasts from my sonos players:\r\n```\r\n07:49:32.434286 IP 192.168.27.218.56112 > 255.255.255.255.1900: UDP, length 180\r\nE.....@.@.]..........0.l..2.M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: \"ssdp:discover\"\r\nMX: 1\r\nST: urn:schemas-upnp-org:device:ZonePlayer:1\r\n```\r\nI lack the knowledge to understand why some udp packets are transferred and others aren't.\r\n\r\nPlugging the pi back into the \"main\" switch the searches pop up immediately:\r\n```\r\n07:55:42.003917 IP 192.168.27.214.50000 > 239.255.255.250.1900: UDP, length 107\r\nE.....@..............P.l.s. M-SEARCH * HTTP/1.1\r\nHOST: 239.255.255.250:1900\r\nMAN: \"ssdp:discover\"\r\nMX: 15\r\nST: urn:Belkin:device:**\r\n```\r\n\r\nNate, you really have done enough (in fact way too much, considering that my hardware is faulty) - thanks again for that!\r\nWhen packets simply don't reach the pi let alone fauxmo, there's nothing you can do. I just checked the prices for 8 port switches and they're less than 30$ (well, 27€ to be precise, but that's about the same), so I guess I'll upgrade - some additional ports come in handy anyways, though I've won one free port right now. ;-)"}}