You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have had the experience that with fauxmoESP library version 3.4.0 some (or all of them and I just didn't notice) of my devices (ESP8266) reset after several hours of operation. A Google search revealed that another user had a similar experience. His solution was to make an addition to the fauxmo library in the file fauxmoESP.cpp starting at line 390:
if (!_enabled) return false;
char * p = (char *) data;
/* Temporary bugfix */
char dataArr[len+1]; //<<<<<<<<<<<<<<<<<<<<<<<<
memcpy(dataArr, p, len);
p = dataArr; //<<<<<<<<<<<<<<<<<<<<<<<
/* End of temporary bugfix */
That also solved my problem. When the library was updated to 3.4.1, the problems reappeared. I manually re-introduced the changes described above and the problems were gone. Unfortunately I did not find the website again with the explanation for the necessary change.
At the moment it is unsatisfactory that when the library is updated, the changes that are necessary (at least for me) are lost again. Unfortunately, I'm a terrible programmer and can't figure out the problem/solution. Maybe someone competent can take care of this problem. Thanks and best regards
-brehe
The text was updated successfully, but these errors were encountered:
Dear all,
I have had the experience that with fauxmoESP library version 3.4.0 some (or all of them and I just didn't notice) of my devices (ESP8266) reset after several hours of operation. A Google search revealed that another user had a similar experience. His solution was to make an addition to the fauxmo library in the file fauxmoESP.cpp starting at line 390:
bool fauxmoESP::_onTCPData(AsyncClient *client, void *data, size_t len) {
That also solved my problem. When the library was updated to 3.4.1, the problems reappeared. I manually re-introduced the changes described above and the problems were gone. Unfortunately I did not find the website again with the explanation for the necessary change.
At the moment it is unsatisfactory that when the library is updated, the changes that are necessary (at least for me) are lost again. Unfortunately, I'm a terrible programmer and can't figure out the problem/solution. Maybe someone competent can take care of this problem. Thanks and best regards
-brehe
The text was updated successfully, but these errors were encountered: