ioBroker.bambulab icon indicating copy to clipboard operation
ioBroker.bambulab copied to clipboard

Online state incorrect

Open DutchmanNL opened this issue 1 year ago • 1 comments

If connection to printer is lost, MQTT does not send a proper "end" event, due to that online state keeps on "true"

solution:

Implement watchdog to:

  • validate timestamp of last message by schedule
  • if timestamp is > (configurable value) printer is "considered offline"
  • pushily event will be send to printer to verify if connection is lost
  • if no answer is received within 5 second, connection state will be set to FALSE
  • watched keeps running by schedule to ensure online state handling at reconnection

DutchmanNL avatar Nov 20 '23 21:11 DutchmanNL

relates #52

DutchmanNL avatar Nov 20 '23 21:11 DutchmanNL