fingerprint-mqtt
fingerprint-mqtt copied to clipboard
relay
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.
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.