OpenMarine

Full Version: Action does not read values the first time or without repeat
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If I create an action reading a Signal K key value and setting "no repeat", the value is not read.
If I set "repeat", the value is not read the firs time, the next repetitions are read correctly.
The actions start 4 seconds behind the first signalk read.
Otherwise some actions wouldn't work.
For example you want an alarm if there is no depth signalk sentence in the last minute. This wouldn't work when it directly starts. Because at the beginning there is no depth sentence so you would get every time an alarm.
But I think you read a gpio status which is only send on change and if this change is only at start time that could be an issue.
The 4 seconds (200*0.02) delay can be found in the last 10 lines of SK-base_d.py.