Skip to content

Commit 476b047

Browse files
authored
improving poll time for the API to get more precise telemetry data (#362)
1 parent 75c72d0 commit 476b047

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

battery_inverters/microart_mac_titanator/firmware.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ function main()
4242
})
4343

4444
scheduler.add(30000, send_properties)
45-
scheduler.add(5000, poll_map)
46-
scheduler.add(30000, poll_bat)
47-
scheduler.add(5000, send_telemetry)
45+
scheduler.add(1000, poll_map)
46+
scheduler.add(1000, poll_bat)
47+
scheduler.add(1000, send_telemetry)
4848

4949
send_properties()
5050
end

0 commit comments

Comments
 (0)