This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Action does not read values the first time or without repeat
#1
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.
Reply
#2
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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)