fingerprint-mqtt icon indicating copy to clipboard operation
fingerprint-mqtt copied to clipboard

relay

Open hugostegeman opened this issue 4 years ago • 1 comments

Is there a version were you can connect a relay to use the sensor standalone without a internet connection but sends data when available? I want to use the sensor in my garage were the internet conncetion is not always stable.

hugostegeman avatar Feb 10 '21 10:02 hugostegeman

I haven't tested out autoConnect, hope this help: AutoConnect WiFi connection control

If WiFi is available/connected: execute all MQTT publish statements along with fingerprint code. else (when not connected): only execute fingerprint code.

Take care of bypassing the mqtt reconnect() loop.

You've highlighted a very possible scenario; I've always assumed my mqtt sever and wifi router would run 24x7. If either were to go down, the module will not scan and match.

unseemlycoder avatar Oct 25 '22 11:10 unseemlycoder