gruijter / com.gruijter.enelogic

GNU General Public License v3.0
3 stars 2 forks source link

App log shows LS110Water log not found #11

Closed tlangelaar closed 5 years ago

tlangelaar commented 5 years ago

I'm running the following setup:

And added two devices:

The latter has the following settings :

Both devices seem to work properly. And have the log of this app show the following lines every two seconds : 2019-02-27 22:14:32 [err] [ManagerDrivers] [LS110Water] [0] { Error: log_not_found at Object.JSON.parse (/opt/homey-client/system/helpers/jsonfns.js:1:1190) at JSON.parse () at jsonToObject (/opt/homey-client/system/helpers/jsonfns.js:1:1083) at function.e.data.map.e (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1379) at Array.map () at HomeyClient._onMessage (/opt/homey-client/system/manager/ManagerApps/bootstrap/sdk/v2/lib/HomeyClient.js:1:1372) at emitTwo (events.js:126:13) at process.emit (events.js:214:7) at emit (internal/child_process.js:762:12) at _combinedTickCallback (internal/process/next_tick.js:142:11) message: ‘log_not_found’, code: 404 }

gruijter commented 5 years ago

Thx 4 reporting!

You can disable the log raw sensor data. That is only needed if you want to check if your device is placed correctly on the water meter. Furthermore, I think I might have solved the issue with the log error in v 2.5.0 of the app. Available as beta in the appstore. Pls let et me know if that fixes it or not.

tlangelaar commented 5 years ago

Just installed 2.5.0 beta. The log doesn't show the error anymore, tested a couple of minutes. Was it an incorrect error logging or was there indeed something not working properly?

And of course thank you very much for the fix and quick response!

gruijter commented 5 years ago

The error was caused by a Homey firmware change in v2.