flux_led icon indicating copy to clipboard operation
flux_led copied to clipboard

Finding bulbs on local network -- not detecting response

Open mitomac opened this issue 9 years ago • 0 comments

Greetings!

This is great! The program works fine and I can control the led bulbs if I manually specify the bulb IP addresses.

However, the scan function fails with zero bulbs found on network.

./flux_led.py -s 0 bulbs found

Yet the broadcast message and response appear to be occurring correctly according to tcpdump:

tcpdump -n -X port 48899 tcpdump: data link type PKTAP tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on pktap, link-type PKTAP (Packet Tap), capture size 65535 bytes 20:57:23.831035 IP 192.168.86.100.48899 > 255.255.255.255.48899: UDP, length 17 0x0000: ffff ffff ffff c82a 143e c39a 0800 4500 ........>....E. 0x0010: 002d 243f 0000 4011 0000 c0a8 5664 ffff [email protected].. 0x0020: ffff bf03 bf03 0019 1737 4846 2d41 3131 .........7HF-A11 0x0030: 4153 5349 5354 4852 4541 44 ASSISTHREAD 20:57:23.903282 IP 192.168.86.197.48899 > 192.168.86.100.48899: UDP, length 43 0x0000: c82a 143e c39a accf 2384 e13c 0800 4500 ..>....#..<..E. 0x0010: 0047 01b0 0000 ff11 8b7b c0a8 56c5 c0a8 .G.......{..V... 0x0020: 5664 bf03 bf03 0033 715b 3139 322e 3136 Vd.....3q[192.16 0x0030: 382e 3836 2e31 3937 2c41 4343 4632 3338 8.86.197,ACCF238 0x0040: 3445 3133 432c 4846 2d4c 5042 3130 302d 4E13C,HF-LPB100- 0x0050: 5a4a 3230 30 ZJ200 20:57:23.930910 IP 192.168.86.196.48899 > 192.168.86.100.48899: UDP, length 43 0x0000: c82a 143e c39a accf 2392 1fc6 0800 4500 .*.>....#.....E. 0x0010: 0047 0177 0000 ff11 8bb5 c0a8 56c4 c0a8 .G.w........V... 0x0020: 5664 bf03 bf03 0033 6b60 3139 322e 3136 Vd.....3k`192.16 0x0030: 382e 3836 2e31 3936 2c41 4343 4632 3339 8.86.196,ACCF239 0x0040: 3231 4643 362c 4846 2d4c 5042 3130 302d 21FC6,HF-LPB100- 0x0050: 5a4a 3230 30

Any thoughts or ideas? (python 2.7 -- I've tried with same inability to scan on osx and linux both running 2.7).

Cheers,

Mitomac

mitomac avatar Dec 29 '15 02:12 mitomac