services.prometheus.exporters.ecoflow.mqttDeviceOfflineThreshold
NixOS option
The threshold in seconds which indicates how long we should wait for a metric message from MQTT broker. Default value: 60 seconds. If we don’t receive message within 60 seconds we consider that device is offline. If we don’t receive messages within the threshold for all devices, we’ll try to reconnect to the MQTT broker. There is a strange behavior that MQTT stop sends messages if you open Ecoflow mobile app and then close it).
type: positive integer, meaning >0Default
60
Example
declared in: nixos/modules/services/monitoring/prometheus/exporters.nixView source on NixOS/nixpkgs →120