When a device is disconnected, channel status = 0. You should also store status in the database, or use status to convert values to NULL if status is zero.
And how can I check the data in a specific hour? E.g I got a NULL value because the devices get disconnected at 10:15 and I want to check at that hour and replace that NULL for the real value of the device at 10:15.
to export historical data.
When DB Export module receives such command, it executes the historical data queries that exist in the module configuration.
Hi,
You need a channel of the Output type. Command code must match with the module. If you provide screenshots of the settings and sending command, I could check.