mschlenstedt / LoxBerry-Plugin-MiRobot2Lox-NG

A LoxBerry Plugin
Apache License 2.0
0 stars 2 forks source link

Poor logging in case of error #44

Closed Standarduser closed 1 year ago

Standarduser commented 1 year ago

This Plugin works mostly fine, but after some time the Miniserver doesn't receive data anymore. In debug mode this is the log output:

INFO: LoxBerry Version 2.2.1.2 ( is_vmware.cfg is_x64.cfg )
 INFO: MiRobot2Lox-NG Version 1.3.0.0
 INFO: Loglevel: 7
This is /opt/loxberry/bin/plugins/mirobot2lox-ng/grabber.pl Version 1.2.1.0
 INFO: Fetching Data from Robots
 INFO: Fetching Status Data for Robot 1...
 INFO: Protocol is roborockvacuum
 INFO: /opt/loxberry/bin/plugins/mirobot2lox-ng/mirobo_wrapper.sh 192.168.243.96 abc...xyz status none roborockvacuum 2
 INFO: Fetching Consumables Data for Robot 1...
 INFO: /opt/loxberry/bin/plugins/mirobot2lox-ng/mirobo_wrapper.sh 192.168.243.96 abc...xyz consumable_status none roborockvacuum 2
 INFO: Fetching Cleaning Data for Robot 1...
 INFO: /opt/loxberry/bin/plugins/mirobot2lox-ng/mirobo_wrapper.sh 192.168.243.96 abc...xyz clean_history none roborockvacuum 2
 INFO: Sending UDP data from Robot1 to MS
 ERROR: Error sending UDP data from Robot1 to MS
 INFO: Robot 2 is not active - skipping...
 INFO: Robot 3 is not active - skipping...
 INFO: Robot 4 is not active - skipping...
 INFO: Robot 5 is not active - skipping...

Would you please log some more information if an error occurred?

Thanx in advance