Closed EdKok closed 1 year ago
Upgraded to RUT9_R_00.07.02.1 but issue remains.
Updated npm "modbus-stream" to latest (= 8.5.1) but still not working.
Same here, but with a RUT240 with firmware R_00.07.02.2.
Past weekend updated to RUT9_R_00.07.02.3 but still not working.
Same error in logwith RUT950. Plugin status message gives correct operator and signal strength, but no data is going to Signal K
Same error here with a RUT950
(node:18873) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'message' of null at /data/conf/signalk/node_modules/@meri-imperiumi/signalk-teltonika-rutx11/index.js:169:32
Same problem with a RUTX50, firmware RUTX_R_00.07.04.1
Apr 24 11:53:34 (node:24089) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'message' of null at /data/conf/signalk/node_modules/@meri-imperiumi/signalk-teltonika-rutx11/index.js:169:32
This is pretty interesting, it is in the catch handler for when we get some error. But we're not getting an error object. I'll add a safety and then we can hopefully find out the real error.
Can somebody who had this issue test the index.js
from git main and verify if the fix helps?
The fix helps. Now getting the data in the databrowser. What is strange: in the dashboard the plugin status is 'unknown error', but all works fine now.
Yes, I’m unsure which of the data queries fail, but one does. Doesn’t happen on my X11 so hard to debug. Maybe you could share which SK paths you get from this plugin?
These are the signal paths I get :
networking.lte.bars
networking.lte.connectionText
networking.lte.radioQuality
networking.lte.registerNetworkDisplay
networking.lte.rssi
networking.lte.usage.rx
networking.lte.usage.tx
networking.modem.temperature
networking.modem.uptime
I wonder which one is missing
Op 27 apr. 2023 om 21:26 heeft Henri Bergius @.***> het volgende geschreven:
Yes, I’m unsure which of the data queries fail, but one does. Doesn’t happen on my X11 so hard to debug. Maybe you could share which SK paths you get from this plugin?
— Reply to this email directly, view it on GitHubhttps://github.com/meri-imperiumi/signalk-teltonika-rutx11/issues/95#issuecomment-1526242019, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA7DUI5AHM64VRUROZOYPELXDLB6TANCNFSM5Y52UEPA. You are receiving this because you commented.Message ID: @.***>
The issue is fixed for me. Thx!
While using "modbus read" from the Linux CLI does work as expected, I get following error in SignalK log:
TypeError: Cannot read properties of null (reading 'message') at /home/pi/.signalk/node_modules/@meri-imperiumi/signalk-teltonika-rutx11/index.js:169:32
Using a RUT950 with firmware RUT9XX_R_00.06.09.1 Plugin version 0.4.0