probonopd / ESP8266HueEmulator

Emulate a Philips Hue bridge running on an ESP8266 using the Arduino IDE.
MIT License
411 stars 93 forks source link

Getting Exception (28) and Exception (3) on boot #59

Closed PheiPheiPhei closed 7 years ago

PheiPheiPhei commented 7 years ago

Hello, I'm getting the following errors over Serial after flashing. I'm using a WEMOS D1 mini with the 1.6.8 IDE and latest ESP8266 core (2.3.0). I edited #define PRINT_BUFFER_LEN 4096 as described.


Starting HTTP at 10.47.173.139:80
Starting SSDP...
SSDP Started

Exception (28):
epc1=0x4000bf80 epc2=0x00000000 epc3=0x00000000 excvaddr=0x0000076c depc=0x00000000

ctx: sys 
sp: 3ffff5a0 end: 3fffffb0 offset: 01a0

>>>stack>>>
3ffff740:  ffffffff 00000000 0000000a 3fffd848  
3ffff750:  4022785a 00030ca8 00002f0a 40233da0  
3ffff760:  0000003c 0000076c 00000000 3ffff7a0  
3ffff770:  3ffff7b0 4010762c 3ffefef0 3fff3fc4  
3ffff780:  3fff22cc 3ffec80a 3ffff860 3fff22ff  
3ffff790:  3ffff7b0 3ffff7a0 0000000c 3fff22d0  
3ffff7a0:  3fff3f84 3fff442c 3fff442c 000004b0  
3ffff7b0:  3fff252c 00000050 00000000 3fff22d0  
3ffff7c0:  3fff3f84 3fff442c 3fff442c 40202f76  
3ffff7d0:  3ffefef0 3fff0135 3fff01f5 3ffe8b8c  
3ffff7e0:  3ffeff55 3ffeff30 0000076c 3fff4494  
3ffff7f0:  7f5e0001 0000faff 3ffefecc 4020f016  
3ffff800:  3fff01f5 3ffeff30 3ffeff55 8bad2f0a  
3ffff810:  00000050 3ffefef0 01ad2f0a 3fff442c  
3ffff820:  00000000 00000080 3ffefecc 40206388  
3ffff830:  3fff0135 3fff01f5 3ffeff30 3ffeff55  
3ffff840:  8bad2f0a 00000050 3ffefef0 3fff22d0  
3ffff850:  3fff3f84 3fff442c 3fff442c 40233dd4  
3ffff860:  50545448 312e312f 30303220 0d4b4f20  
3ffff870:  5458450a 430a0d3a 45484341 4e4f432d  
3ffff880:  4c4f5254 616d203a 67612d78 32313d65  
3ffff890:  0a0d3030 41434f4c 4e4f4954 7468203a  
3ffff8a0:  2f3a7074 3730312f 35383633 2e343038  
3ffff8b0:  312e3038 36333730 31303637 30312e36  
3ffff8c0:  37363337 37393536 3730313a 36373633  
3ffff8d0:  2f393837 37313030 46463838 34314546  
3ffff8e0:  32394632 45530a0d 52455652 7241203a  
3ffff8f0:  6e697564 2e312f6f 50552030 312f504e  
3ffff900:  7520312e 3a706e70 746f6f72 69766564  
3ffff910:  332f6563 33323338 2d363336 38353534  
3ffff920:  6464342d 31392d61 632d3838 65306164  
3ffff930:  39656336 0d383964 6575680a 6972622d  
3ffff940:  69656764 74203a64 69766564 0a0d6563  
3ffff950:  3a4e5355 69757520 38333a64 36333233  
3ffff960:  342d3633 2d383535 61646434 3831392d  
3ffff970:  64632d38 36653061 64396563 0a0d3839  
3ffff980:  ff000a0d 00000000 3ffea731 00000008  
3ffff990:  36633664 3f393832 3fff2384 00000000  
3ffff9a0:  3ffee99c 00000000 4010214f 3fff2384  
3ffff9b0:  00000000 00000000 00000020 40102006  
3ffff9c0:  3ffea5e0 402134bf 3fff2384 3fff21b4  
3ffff9d0:  00000000 4021bbf4 3ffee99c 00000005  
3ffff9e0:  3fffd848 40002364 00000001 00000000  
3ffff9f0:  40002be8 00000078 00000000 00000010  
3ffffa00:  40001f46 3ffee9c8 3fff1f0c 00000004  
3ffffa10:  36323839 00643663 3ffef168 3fff03fc  
3ffffa20:  00000010 3fff0260 00000000 4010053d  
3ffffa30:  00000010 3fff02d8 00000000 3fff03fc  
3ffffa40:  00000010 3ffefe84 00000000 4010053d  
3ffffa50:  00000000 3ffffab0 3ffffac0 3ffea25a  
3ffffa60:  401075d4 3ffea37c 60000600 3ffef7b8  
3ffffa70:  3ffeeb1c 00000007 00000008 00000001  
3ffffa80:  00000000 09826c6d 00000000 3ffffa17  
3ffffa90:  00000008 0000001e 3ffefdb4 401004d8  
3ffffaa0:  3ffffac0 3ffffab0 00000004 4020ec24  
3ffffab0:  3ffe8ae0 09826c6d 3fff2848 3fff25f0  
3ffffac0:  4000b570 00000000 00000001 4020ed21  
3ffffad0:  00000000 00000000 00000000 00000000  
3ffffae0:  00000000 00000000 00000000 00000000  
3ffffaf0:  00000000 00000000 00000000 00000000  
3ffffb00:  00000000 00000000 00000000 00000000  
3ffffb10:  7e6052bc 8accca88 864bbd05 54e527c1  
3ffffb20:  b67c6715 bd12fa53 0fd15519 61b01f20  
3ffffb30:  bc9cb9e5 6432908e 0582159b f7fa07aa  
3ffffb40:  4000b570 00000008 00000038 3ffffc20  
3ffffb50:  00000000 00000000 00000000 00000000  
3ffffb60:  00000000 00000000 00000000 00000000  
3ffffb70:  00000000 00000000 00000000 00000000  
3ffffb80:  00000000 00000000 00000000 00000000  
3ffffb90:  c569a7aa 442a2f4b c6786b8d dd1c2ccd  
3ffffba0:  0f714763 e1d5dfd2 e44e072d f36572a0  
3ffffbb0:  10f18fb8 acdf9bcf a9c1d104 88d74471  
3ffffbc0:  4000b5f9 00000008 00000038 3ffffca0  
3ffffbd0:  00000008 3ffffca0 dd167d81 5cbfce80  
3ffffbe0:  97ed0d24 4bf68432 5333ece4 71a967f2  
3ffffbf0:  7e1a8d46 b19f6f7d 2a0fb844 163170ef  
3ffffc00:  52d46872 32a56e1f 9ead6315 76c6f3f5  
3ffffc10:  113d33a6 45872244 80336e19 ea1d2965  
3ffffc20:  d498e3c9 d71c7fe5 5fb431d0 bd98296e  
3ffffc30:  62b79d24 cc89f83f c46f3406 d8956fcb  
3ffffc40:  be5ecdd6 f9a6288f b9cc3c84 6271291e  
3ffffc50:  4000b62e 45d0be19 8a3a8a76 2490a100  
3ffffc60:  3ffee760 40101b9a 00000001 00000000  
3ffffc70:  00000000 40101967 00000000 3ffee730  
3ffffc80:  00000001 00000000 00000002 40102006  
3ffffc90:  401052c8 3ffedeb8 3ffee730 463a3975  
3ffffca0:  00000005 00000000 00000020 40102006  
3ffffcb0:  3ffea5e5 401052e3 3ffee048 00000000  
3ffffcc0:  40102d19 3ffee048 00000000 00000000  
3ffffcd0:  00007fff 00520f1d 3ffeea5c 40102ea8  
3ffffce0:  3ffeae90 00000000 00000000 00000008  
3ffffcf0:  00000000 00520f1d 401032e6 00000100  
3ffffd00:  7fffffff 3ffeae90 3ffeae90 00000001  
3ffffd10:  00000001 00007fff 3fffc200 00000022  
3ffffd20:  3ffffd30 00520f1d 00000000 4000050c  
3ffffd30:  3fffc278 40103080 3fffc200 00000022  
3ffffd40:  3ffeae9c 3ffee99c 3ffeb54e 3ffeb56a  
3ffffd50:  4020668c 00000030 00000010 ffffffff  
3ffffd60:  402066d2 00000000 402066fe 3ffe97c8  
3ffffd70:  3ffffe8e 00ff0000 0000000a 00000000  
3ffffd80:  0000002a 00000003 3ffffff8 3ffefecc  
3ffffd90:  00000002 0000003f 00000003 00000030  
3ffffda0:  4021417a 3ffedd50 3fff1f0c 3ffedd50  
3ffffdb0:  00000002 00000000 4021401b 00000001  
3ffffdc0:  ffffffff 00000000 3ffea731 00000008  
3ffffdd0:  3fff03fc 00000434 00000434 4010020c  
3ffffde0:  00000000 3ffea2e8 00000001 4010068c  
3ffffdf0:  40227ff9 00000000 3ffee99c 40107530  
3ffffe00:  4022fea6 3fff1f0c 3ffeb56a 4022febd  
3ffffe10:  3fff3fc4 faffffef 8bad2f0a 00000016  
3ffffe20:  00000000 00000022 3ffef190 00000003  
3ffffe30:  00000026 3fff3fc4 3fff3f44 3ffec80a  
3ffffe40:  3fff22cc 3fff3fc4 3ffefecc 40206898  
3ffffe50:  4e2d3130 3735534c 31303065 37346330  
3ffffe60:  34383866 65626431 63326331 36653131  
3ffffe70:  36376532 70003165 67726f2d 69766564  
3ffffe80:  654d6563 52616964 65646e65 00726572  
3ffffe90:  00000000 00000002 3ffeff55 00000031  
3ffffea0:  0000000a 00197bb8 4021ead3 3ffec80a  
3ffffeb0:  3fff22cc 3fff3fc4 3fff3f44 4020f077  
3ffffec0:  00000000 00000000 00000001 40206198  
3ffffed0:  3fff22cc 3fff3fc4 3fff3f84 402323e4  
3ffffee0:  0000076c 00000000 3ffec7f6 3fff1e18  
3ffffef0:  000000e0 3ffea2e8 00000001 40107520  
3fffff00:  40220000 00000000 3ffeb5cf 3fff1e10  
3fffff10:  3ffec7f6 3fff1e18 3fff3fc4 40233b20  
3fffff20:  00000002 3fff22cc 3fff22cc 3ffef190  
3fffff30:  00000000 3fff3fdc 0000001c 3fff22cc  
3fffff40:  3ffec7e8 00000000 3fff3fc4 40232f29  
3fffff50:  19ad2f0a 00000001 4010522e 3ffee7a8  
3fffff60:  3ffedd78 40101bd5 00000000 00000005  
3fffff70:  00000002 40101967 00000002 00000000  
3fffff80:  401019a2 00000002 3fffdab0 3fff235c  
3fffff90:  3fffdc80 00000000 3fff3fc4 402279bf  
3fffffa0:  40000f49 3fffdab0 3fffdab0 40000f49  
<<<stack<<<

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v3fff1b50
~ld
çStarting HTTP at 10.47.173.139:80
Starting SSDP...
SSDP Started

Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x40232e7d depc=0x00000000

ctx: sys 
sp: 3ffff5a0 end: 3fffffb0 offset: 01a0

>>>stack>>>
3ffff740:  ffffffff 00000000 0000000a 3fffd848  
3ffff750:  4022785a 3ffedd78 3fff1f0c 00000001  
3ffff760:  00000040 40232e7d 00000000 3ffff7a0  
3ffff770:  3ffff7b0 4010762c 3ffefef0 3fff3fc4  
3ffff780:  3fff22cc 3ffeaefa 3ffff860 3fff22ff  
3ffff790:  3ffff7b0 3ffff7a0 0000000c 3fff22d0  
3ffff7a0:  00000002 00000001 00000000 000004b0  
3ffff7b0:  3fff252c 00000050 3fff4472 3fff442c  
3ffff7c0:  3fff22cc 3fff442c 3fff442c 40202f76  
3ffff7d0:  3ffefef0 3fff0135 3fff01f5 3ffe8b8c  
3ffff7e0:  3ffeff55 3ffeff30 3fff22cc 40232e7d  
3ffff7f0:  7f5e0001 0000faff 3ffefecc 4020f016  
3ffff800:  3fff01f5 3ffeff30 3ffeff55 8bad2f0a  
3ffff810:  00000050 3ffefef0 01ad2f0a 3ffff850  
3ffff820:  3ffffec4 3fff22d0 3ffefecc 40206388  
3ffff830:  3fff0135 3fff01f5 3ffeff30 3ffeff55  
3ffff840:  8bad2f0a 00000050 3ffefef0 3fff22d0  
3ffff850:  3fff3f84 3fff442c 3fff442c 40233dd4  
3ffff860:  50545448 312e312f 30303220 0d4b4f20  
3ffff870:  5458450a 430a0d3a 45484341 4e4f432d  
3ffff880:  4c4f5254 616d203a 67612d78 32313d65  
3ffff890:  0a0d3030 41434f4c 4e4f4954 7468203a  
3ffff8a0:  2f3a7074 3730312f 35383633 2e343038  
3ffff8b0:  312e3038 36333730 31303637 30312e36  
3ffff8c0:  37363337 37393536 3730313a 36373633  
3ffff8d0:  2f393837 37313030 46463838 34314546  
3ffff8e0:  32394632 45530a0d 52455652 7241203a  
3ffff8f0:  6e697564 2e312f6f 50552030 312f504e  
3ffff900:  7520312e 3a706e70 746f6f72 69766564  
3ffff910:  332f6563 33323338 2d363336 38353534  
3ffff920:  6464342d 31392d61 632d3838 65306164  
3ffff930:  39656336 0d383964 6575680a 6972622d  
3ffff940:  69656764 0d203a64 3a54530a 0a0d6520  
3ffff950:  48434143 4f432d45 4f52544e 6d203a4c  
3ffff960:  612d7861 313d6567 0d303032 434f4c0a  
3ffff970:  4f495441 68203a4e 3a707474 30312f2f  
3ffff980:  2e37342e 2e333731 3a393331 642f3038  
3ffff990:  72637365 69747069 782e6e6f 0a0d6c6d  
3ffff9a0:  56524553 203a5245 75647241 2f6f6e69  
3ffff9b0:  20302e31 504e5055 312e312f 42704920  
3ffff9c0:  67646972 2e302f65 680a0d31 622d6575  
3ffff9d0:  67646972 3a646965 46383120 46343345  
3ffff9e0:  43454646 39443945 4e0a0d38 75203a54  
3ffff9f0:  3a706e70 746f6f72 69766564 0a0d6563  
3ffffa00:  3a4e5355 69757520 38333a64 36333233  
3ffffa10:  342d3633 2d383535 61646434 3831392d  
3ffffa20:  64632d38 36653061 64396563 0a0d3839  
3ffffa30:  00000a0d 3fff02d8 00000000 3fff03fc  
3ffffa40:  00000010 3ffefe84 00000000 4010053d  
3ffffa50:  00000000 3ffffab0 3ffffac0 3ffea25a  
3ffffa60:  401075d4 3ffea37c 60000600 3ffef7b8  
3ffffa70:  3ffeeb1c 00000007 00000008 00000001  
3ffffa80:  00000000 09826c6d 00000000 3ffffa17  
3ffffa90:  00000008 0000001e 3ffefdb4 401004d8  
3ffffaa0:  3ffffac0 3ffffab0 00000004 4020ec24  
3ffffab0:  3ffe8ae0 09826c6d 3fff2848 3fff25f0  
3ffffac0:  4000b570 00000000 00000001 4020ed21  
3ffffad0:  00000000 00000000 00000000 00000000  
3ffffae0:  00000000 00000000 00000000 00000000  
3ffffaf0:  00000000 00000000 00000000 00000000  
3ffffb00:  00000000 00000000 00000000 00000000  
3ffffb10:  fa8df024 a74aba4f 66dc1280 0483bfe8  
3ffffb20:  c5756344 09da8074 a51205ff d3a26c8e  
3ffffb30:  c8324834 b78d8b4f 72d95eb0 384d79f3  
3ffffb40:  4000b570 00000008 00000038 3ffffc20  
3ffffb50:  00000000 00000000 00000000 00000000  
3ffffb60:  00000000 00000000 00000000 00000000  
3ffffb70:  00000000 00000000 00000000 00000000  
3ffffb80:  00000000 00000000 00000000 00000000  
3ffffb90:  5fe80931 1a2e6bc8 3ffaf902 fb876288  
3ffffba0:  5f454023 95da2a33 1cdb27af 23c9c4d1  
3ffffbb0:  fe969119 22ae52cd 1c13b328 c4372129  
3ffffbc0:  4000b5f9 00000008 00000038 3ffffca0  
3ffffbd0:  00000008 3ffffca0 efa6c34e b34003dc  
3ffffbe0:  ed667cac 76b33cf6 9a8c7914 40eb5fac  
3ffffbf0:  0f999a6a 01333aaa 2b675eda a313de37  
3ffffc00:  f542844a cf79fa93 a44f7790 9cfec05e  
3ffffc10:  32c8889d 0391d069 653e7f95 92f9fe8a  
3ffffc20:  f818fd5b 44289430 b599f7f1 22e2f841  
3ffffc30:  0e170434 29cc7119 f8263419 b2429d31  
3ffffc40:  c06473cf ed3b4dbc 31bc1e7f c88cf23e  
3ffffc50:  4000b62e 547930cf 42db55eb 8a2c4ced  
3ffffc60:  4000b6c4 3ffffca0 3ffffe30 ffffffff  
3ffffc70:  4000b72e 3ffffc80 00000008 0cb29019  
3ffffc80:  00000000 00000000 4000a333 3ffffda8  
3ffffc90:  3ffffe30 3ffffd88 00000000 f4cf082a  
3ffffca0:  00000005 00000000 00000020 40102006  
3ffffcb0:  3ffea5e5 401052e3 3ffee020 00000000  
3ffffcc0:  40102d19 3ffee020 00000000 00000000  
3ffffcd0:  00007fff 0076bc96 3ffeea5c 40102ea8  
3ffffce0:  3ffeae90 00000000 00000000 00000008  
3ffffcf0:  00000005 00000000 00000020 40102006  
3ffffd00:  3ffea5e5 401052e3 3ffee048 00000001  
3ffffd10:  40102d19 3ffee048 00000020 40102006  
3ffffd20:  00007fff 0076c55b 3ffeea5c 40102ea8  
3ffffd30:  3ffeae6c 00000000 00000000 00000022  
3ffffd40:  00000000 0076c55b 401032e6 00000100  
3ffffd50:  7fffffff 3ffeae6c 3ffeae6c 00000001  
3ffffd60:  00000001 00007fff 00000001 00000001  
3ffffd70:  3ffffe73 0076c55b 00000000 4000050c  
3ffffd80:  3fffc278 40103080 3fffc200 00000022  
3ffffd90:  3ffeae78 00000024 00000004 00000030  
3ffffda0:  4023f825 00000030 00000010 ffffffff  
3ffffdb0:  4023f898 3ffeaff2 0000003a 00205bc4  
3ffffdc0:  00000000 00007064 3fff1e0c 0000076c  
3ffffdd0:  faffffef 00001000 000000e0 00000000  
3ffffde0:  3fff3fc4 00000000 00000132 00000030  
3ffffdf0:  40227ff9 00000000 3ffee99c 40107530  
3ffffe00:  4022fea6 0000003c 4010214f 4022febd  
3ffffe10:  3fff3fdc 00000000 8bad2f0a 40102006  
3ffffe20:  00000000 402134bf 3ffedeb8 3ffec80a  
3ffffe30:  3fff22cc 3fff3fdc 3fff3f44 3ffeaefa  
3ffffe40:  3fff22cc 3fff3fc4 3ffefecc 40206898  
3ffffe50:  3ffee3d0 4021a28e 3fff1f0c 4000050c  
3ffffe60:  3ffee3f1 3ffedeb8 00000003 40220a57  
3ffffe70:  000000d0 3fff1f0c 3ffece10 3a706e70  
3ffffe80:  4021a118 00000030 00000010 ffffffff  
3ffffe90:  00250001 00001002 3fff0000 00000002  
3ffffea0:  40220000 3fff3fdc 3fffdb80 3ffeaefa  
3ffffeb0:  3fff22cc 3fff3fc4 3fff3f44 4020f077  
3ffffec0:  3ffec7c0 3fffdcc0 3ffea650 40206198  
3ffffed0:  3fff22cc 3fff3fc4 3fff3f84 402323e4  
3ffffee0:  0000076c 00000000 3ffeaee6 3fff1e18  
3ffffef0:  000000e0 00000000 00000000 40107520  
3fffff00:  00000000 00000000 00000000 3fff1e10  
3fffff10:  3ffeaee6 3fff1e18 3fff3fc4 40233b20  
3fffff20:  00000002 3fff22cc 3fff22cc 3ffef190  
3fffff30:  00000000 3fff3fc4 0000001c 3fff22cc  
3fffff40:  3ffeaed8 00000000 3fff3fc4 40232f29  
3fffff50:  04ad2f0a 0000017c 00000000 0000002b  
3fffff60:  00000002 0000001a 4021397f 3ffee020  
3fffff70:  3ffeaeb0 3fffdcc0 3ffea670 3ffea670  
3fffff80:  402138f2 3ffee020 3fffdab0 3fff2324  
3fffff90:  3fffdc80 00000000 3fff3fc4 402279bf  
3fffffa0:  40000f49 3fffdab0 3fffdab0 40000f49  
<<<stack<<<

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v3fff1b50
~ld
bcatalin commented 7 years ago

I confirm this. I have the same crash.

probonopd commented 7 years ago

Strange. Can you go back to older commits, e.g., 417062f and see if the problem existed in those as well?

bcatalin commented 7 years ago

I fixed it. LightService.cpp line 233 need to be identical with line 245 from the same file. Android hue app now is discovering the ESP but I need to press a button which I don't have it

probonopd commented 7 years ago

The sketch should emulate the button pressing on its own, possibly this is broken too?

bcatalin commented 7 years ago

Yes is possible, What message need to be send in order to emulate the button ? Amazon Echo Dot 2 is also waiting for the button to be pressed.

Sending Response to 192.168.1.12:48128 1322029 {"name":"hue emulator","swversion":"81012917","bridgeid":"5CCF7FFFFE28CC67","portalservices":false,"linkbutton":true,"mac":"5C:CF:7F:28:CC:67","dhcp":true,"ipaddress":"192.168.1.23","netmask":"255.255.255.0","gateway":"192.168.1.1","apiversion":"1.3.0","whitelist":{"api":{"name":"clientname#devicename"}},"swupdate":{"text":"","notify":false,"updatestate":0,"url":""}} REJECT: urn:schemas-upnp-org:device:InternetGatewayDevice:1 REJECT: urn:schemas-upnp-org:device:InternetGatewayDevice:1 REJECT: urn:schemas-upnp-org:service:WANIPConnection:1 REJECT: urn:schemas-upnp-org:service:WANIPConnection:1 REJECT: urn:schemas-upnp-org:service:WANPPPConnection:1 REJECT: urn:schemas-upnp-org:service:WANPPPConnection:1 REJECT: upnp:rootdevice MAN: "ssdp:discover" _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.2:1900 REJECT: upnp:rootdevice MAN: "ssdp:discover" _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.2:1900

10http://192.168.1.23:80/urn:schemas-upnp-org:device:Basic:1Philips hue (192.168.1.23)Royal Philips Electronicshttp://www.philips.comPhilips hue Personal Wireless LightingPhilips hue bridge 2012929000226503http://www.meethue.com00178817122cuuid:2f402f80-da50-11e1-9b23-00178817122cindex.htmlimage/png484824hue_logo_0.pngimage/png12012024hue_logo_3.png

REJECT: urn:schemas-upnp-org:device:InternetGatewayDevice:1 REJECT: urn:schemas-upnp-org:device:InternetGatewayDevice:1 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:1900 MAN: "ssdp:discover" REJECT: urn:dial-multiscreen-org:service:dial:1 MAN: "ssdp:discover" REJECT: urn:dial-multiscreen-org:service:dial:1 MAN: "ssdp:discover" REJECT: urn:dial-multiscreen-org:service:dial:1 MAN: "ssdp:discover" REJECT: urn:dial-multiscreen-org:service:dial:1 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541 _send => _messageFormatCallback MSG from LightServicessdpMsgFormatCallback

====RESPONSE HTTP/1.1 200 OK EXT: CACHE-CONTROL: max-age=1200 LOCATION: http://192.168.1.23:80/description.xml SERVER: Arduino/1.0 UPNP/1.1 IpBridge/0.1 hue-bridgeid: 001788FFFE142F92 ST: upnp:rootdevice USN: uuid:38323636-4558-4dda-9188-cda0e628cc67

Sending Response to 192.168.1.9:53541

roobd commented 7 years ago

I have the same issue with the Push-Link. The Philips Hue app is waiting for the push link to be pressed.

probonopd commented 7 years ago

Please check earlier versions of the code (e.g., 1 month back). I am pretty sure it was connecting to the emulated bridge for me back then, with both apps for iOS.

bcatalin commented 7 years ago

20Nov code is having the same behavior as latest one. Please try to use the latest version of Hue mobile app on Android.

bcatalin commented 7 years ago

02Nov commit is the same. Hue bridge is found but the message for button is not transmitted. Just let us know what the message is and we will try to fix it.

bcatalin commented 7 years ago

Ok made some progress with the latest version. Click "Help" then enter the IP address of your ESP, then do the discovery. It will work. After that you can connect to the Hue Emulated, On my ESP from 26 LED only the first one is almost working. Will continue to investigate.

rmuike commented 6 years ago

i get this crash thats described in the first post. everything worked the first time i tried but as soon as i hit the save button during first setup in ios app, it crashes and gives me this error ⸮..Starting HTTP at 192.168.1.45:80 Starting SSDP... SSDP Started FS Starting initializeGroupSlots() Reading in to buffer Loading GROUP-0.json initializeSceneSlots() Reading in to buffer Loading SCENE-0.json Reading in to buffer Loading SCENE-1.json Reading in to buffer Loading SCENE-2.json Reading in to buffer Loading SCENE-3.json Reading in to buffer

Exception (28): epc1=0x4021348e epc2=0x00000000 epc3=0x00000000 excvaddr=0x0000000c depc=0x00000000

ctx: cont sp: 3fff19a0 end: 3fff1ca0 offset: 01a0

stack>>> 3fff1b40: 3ffe98f4 3fff0bbc 3fff0ac8 402131d8
3fff1b50: 00000000 3fff0bbc 3fff6284 402081a1
3fff1b60: 00000000 3fff6290 00000004 401004d8
3fff1b70: 00000000 00000000 00000000 00000000
3fff1b80: 3fff6284 3fff0bbc 00000004 4020b3b5
3fff1b90: 3ffea418 00000000 000003e8 4020b2ed
3fff1ba0: 3fff4a3c 3fff4a7c 00000000 00000000
3fff1bb0: 00000000 3fff4994 0000000f 0000000c
3fff1bc0: 00000000 00000000 00000000 00000000
3fff1bd0: 402090e8 3fff061c 3fff0bbc 3fff0610
3fff1be0: 402090e8 3fff061c 3fff0bbc 4020ba20
3fff1bf0: 3fff496c 0000001f 00000011 402077d8
3fff1c00: 00000000 00000000 00000000 00000000
3fff1c10: 00000000 00000000 3fff3ef4 402147a2
3fff1c20: 3fff1c00 3fff04f4 3ffe98f4 40210a98
3fff1c30: 00000000 00000000 3fff3624 3fff04f4
3fff1c40: 3fff0a94 3fff04f4 3fff3624 4020ba60
3fff1c50: 3fff0a94 00000000 00000000 402076b4
3fff1c60: 00000000 00000000 00000000 40206c6c
3fff1c70: feefeffe feefeffe feefeffe 3fff0c78
3fff1c80: 3fffdad0 00000000 3fff0c72 402151c8
3fff1c90: feefeffe feefeffe 3fff0c80 40100718
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v3fff2328 ~ld

and it just keeps repeating this over and over again. then i tried with a new board and the exact same thing happend, it worked the first time and then this error. some times i get a wdt reset i have tried re uploading the sketch but i get the same thing, i really dont know what to do, so if any one can help i would appreciate that very much.