1mckenna / esp32_iGrill

ESP32 iGrill BLE Client
MIT License
47 stars 14 forks source link

iGrill mini v2 not showing offline status #16

Closed gazelle-hub closed 2 years ago

gazelle-hub commented 2 years ago

Hi there,

The iGrill mini v2 that you did has been working well though the issue I've got an the moment is that the igrill mini is still giving a status of online even though it is physically turned off.

It connected and was working but doesn't seem to send an offline message if the device is subsequently turned off.

1mckenna commented 2 years ago

The status topic is meant for monitoring the connection to the MQTT broker and not the connection to the mini. The status topic gets set to online once it establishes a connection to MQTT and only changes to offline if the esp is unplugged or the connection to MQTT is lost.

gazelle-hub commented 2 years ago

Ok, great thanks.