Error message: Command failed: unknown device dallassensor #2033
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
You probably went from 3.5.x to the latest dev skipping the 3.6.5 stable release? We renamed |
Beta Was this translation helpful? Give feedback.
-
This is from the emsesp adapter. For compatibility with 3.6.0 it tries to fetch the api/dallassensor (line 391) and in second step fetch api/temperaturesensor (line 417). See here: https://github.com/tp1de/ioBroker.ems-esp/blob/8b7e55a6b336a3b48d436f4a0c9bb263847f327f/lib/ems.js#L391 The checkbox "use old prefix" only changes ioBroker entities and have no effect to reading from emsesp (line 437). |
Beta Was this translation helpful? Give feedback.
-
Your idea is great @MichaelDvP but I will run into the same problems as before when using different versions of the ioBroker adapter in combination with different ems-esp versions. I am astonished that a lot of users are using stable versions of ems-esp but latest versions of the adapter or the other way around. It is difficult to keep all combinations running stable. In the meantime I adjusted the ioBroker code for temperaturesensors to avoid the errors. But I can't test since I do not have dallas sensors. But on a midterm view, your proposal will make my life much easier to maintain the ioBroker adapter. |
Beta Was this translation helpful? Give feedback.
-
Thanks Michael for clarifying and testing. I would highly appreciate your solution by integrating into devices. What is your timetable to create the new 3.7 stable version? Could this new entity list be included? |
Beta Was this translation helpful? Give feedback.
This is from the emsesp adapter. For compatibility with 3.6.0 it tries to fetch the api/dallassensor (line 391) and in second step fetch api/temperaturesensor (line 417). See here: https://github.com/tp1de/ioBroker.ems-esp/blob/8b7e55a6b336a3b48d436f4a0c9bb263847f327f/lib/ems.js#L391
The checkbox "use old prefix" only changes ioBroker entities and have no effect to reading from emsesp (line 437).
Maybe @tp1de can change the logic to avoid these errormessages in emsesp. E.g. try once and remember the working api-name for the temperaturesensors, than we have only one error message in the log.