Closed PheiPheiPhei closed 7 years ago
I confirm this. I have the same crash.
Strange. Can you go back to older commits, e.g., 417062f and see if the problem existed in those as well?
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
The sketch should emulate the button pressing on its own, possibly this is broken too?
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
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
I have the same issue with the Push-Link. The Philips Hue app is waiting for the push link to be pressed.
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.
20Nov code is having the same behavior as latest one. Please try to use the latest version of Hue mobile app on Android.
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.
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.
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.
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.