{"action":"created","issue":{"url":"https://api.github.com/repos/danimtb/dasshio/issues/44","repository_url":"https://api.github.com/repos/danimtb/dasshio","labels_url":"https://api.github.com/repos/danimtb/dasshio/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/danimtb/dasshio/issues/44/comments","events_url":"https://api.github.com/repos/danimtb/dasshio/issues/44/events","html_url":"https://github.com/danimtb/dasshio/issues/44","id":346390947,"node_id":"MDU6SXNzdWUzNDYzOTA5NDc=","number":44,"title":"Dasshio script failing when pressing Dash button - IndexError: Layer [ARP] not found","user":{"login":"theastropath","id":13684088,"node_id":"MDQ6VXNlcjEzNjg0MDg4","avatar_url":"https://avatars3.githubusercontent.com/u/13684088?v=4","gravatar_id":"","url":"https://api.github.com/users/theastropath","html_url":"https://github.com/theastropath","followers_url":"https://api.github.com/users/theastropath/followers","following_url":"https://api.github.com/users/theastropath/following{/other_user}","gists_url":"https://api.github.com/users/theastropath/gists{/gist_id}","starred_url":"https://api.github.com/users/theastropath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theastropath/subscriptions","organizations_url":"https://api.github.com/users/theastropath/orgs","repos_url":"https://api.github.com/users/theastropath/repos","events_url":"https://api.github.com/users/theastropath/events{/privacy}","received_events_url":"https://api.github.com/users/theastropath/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-07-31T23:10:38Z","updated_at":"2018-11-25T10:01:30Z","closed_at":null,"author_association":"NONE","body":"I set up Dasshio version 0.3.0 in Hass.io supervisor version 121 on an Ubuntu 16.04 host.  When I configure a button and then press it, I get the results below:\r\n\r\n```\r\n2018-07-31 18:52:35,229 | INFO | Reading config file: /data/options.json\r\n2018-07-31 18:52:35,230 | INFO | Starting sniffing...\r\nTraceback (most recent call last):\r\n  File \"/dasshio.py\", line 27, in arp_display\r\n    mac = pkt[ARP].hwsrc.lower()\r\n  File \"/usr/lib/python3.6/site-packages/scapy/packet.py\", line 966, in __getitem__\r\n    raise IndexError(\"Layer [%s] not found\" % lname)\r\nIndexError: Layer [ARP] not found\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/dasshio.py\", line 149, in <module>\r\n    count=0)\r\n  File \"/usr/lib/python3.6/site-packages/scapy/sendrecv.py\", line 783, in sniff\r\n    if stop_filter and stop_filter(p):\r\n  File \"/dasshio.py\", line 29, in arp_display\r\n    mac = pkt[Ether].src.lower()\r\n  File \"/usr/lib/python3.6/site-packages/scapy/packet.py\", line 966, in __getitem__\r\n    raise IndexError(\"Layer [%s] not found\" % lname)\r\nIndexError: Layer [Ether] not found\r\n```"},"comment":{"url":"https://api.github.com/repos/danimtb/dasshio/issues/comments/441428644","html_url":"https://github.com/danimtb/dasshio/issues/44#issuecomment-441428644","issue_url":"https://api.github.com/repos/danimtb/dasshio/issues/44","id":441428644,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTQyODY0NA==","user":{"login":"smartsoldier","id":12613566,"node_id":"MDQ6VXNlcjEyNjEzNTY2","avatar_url":"https://avatars3.githubusercontent.com/u/12613566?v=4","gravatar_id":"","url":"https://api.github.com/users/smartsoldier","html_url":"https://github.com/smartsoldier","followers_url":"https://api.github.com/users/smartsoldier/followers","following_url":"https://api.github.com/users/smartsoldier/following{/other_user}","gists_url":"https://api.github.com/users/smartsoldier/gists{/gist_id}","starred_url":"https://api.github.com/users/smartsoldier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartsoldier/subscriptions","organizations_url":"https://api.github.com/users/smartsoldier/orgs","repos_url":"https://api.github.com/users/smartsoldier/repos","events_url":"https://api.github.com/users/smartsoldier/events{/privacy}","received_events_url":"https://api.github.com/users/smartsoldier/received_events","type":"User","site_admin":false},"created_at":"2018-11-25T10:01:30Z","updated_at":"2018-11-25T10:01:30Z","author_association":"NONE","body":"I have been experiencing the crashing issue as well so please implement this workaround. Or did you already? I checked the releases page of your github and the other guys fork and they both say Aug was latest but your posts are only 25 days old. Where is your latest code lol am I missing it? "}}
{"actor":{"display_login":"smartsoldier"}}