-
-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected Application Error in 3.7.1-dev #2166
Comments
When re-starting the device-list works for 1-2 minutes. Afterwards the error occurs. |
Seems to be the name of the MM100 from telegram 1, can you give us the output of |
ems-esp:$ read 21 1 |
Seems offset 27 is not always a null terminated ascii name. |
Try to set customizations custom name for MM100. |
Yes this works. |
seems so, well spot Michael. I hate that Bosch is so inconsistent. Another user (in #2073) with an MM100 shows the text "MM100" in the telegram 0x01 at offset 27. I haven't been able to decipher the logic of that telegram yet. |
@tp1de Please update to my testbuild and check if it works without custom name. (I added a check for printable characters). |
yes it works with new testbuild but name is now M/M100 which does not make a lot of sense. ... and I recognized that Dashboard does not show entities anymore (maybe I switched too often between Versions) |
Update: Dashboard seems to be related to FireFox / Browser Update. Edge / Chrome shows the dashboard correctly |
Just downloaded and installed Firefox 132.0, and Dashboard works |
I always use firefox and have seen something like that often. It's a cache issue and ctrl-R sometimes only helps short. Clear website data and cache for this device. |
This is what is written in your MM100 telegram 01: only a singel |
I was running the debugger (F12) and I have seen that there are http get commands every second. |
It is up to you. I haven't really understood why you intend to read the name out of the telegram. Within Bosch-Group products there are many similar products with different names and firmware releases. |
Can you post some screenshots? |
thanks, the page should be refreshing every 3 seconds. Maybe that is too much. I also see the content-type in the header is set to |
I've checked the json error, it affects all msgpack sendings since a very long time and mny emsesp versions (devcies->deviceData, Customization). |
yes, it's harmless but I changed it anyway. I had already implemented it the same way you suggested before seeing your comment. Great minds think alike ! |
We could read the bytes from offset 27 until we hit a non-ASCII value, and then null-terminate the string. And ignore anything that is less than 3 characters long (like just "M"). |
Done. In my dev2-testbuild. |
This solution works good |
@MichaelDvP something wrong on your testbuild with mqtt: |
Can not reproduce and have not changed anything in mqtt code. Collision with a second mqtt client? |
using the same MQTT clientID perhaps? |
While using dev.3 from @proddy mqtt works - just the devicename is not implemented. |
on the same hardware or are you running multiple instances? |
same Hardware and just updating ems-esp firmware. Re-start of mqtt broker has no impact. There must be a difference in Michaels coding. |
The mqtt code is not changed, i've updated/merged latest changes to dev/dev2 and compared. |
@tp1de The mqtt in my testbuild should work now, Was in HA config for the timer values, the default case results in a scrambled topic for the timer. |
great, we can close this one now then. |
Loading new dev versions of 3.7.1 I get the following error while selecting devices / customizations:
This is using Firefox
Using Edge it looks a bit different:
The text was updated successfully, but these errors were encountered: