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
[SOLVED] 0.11.3a action commands not working
#5
(2017-05-02, 04:20 PM)Sailoog Wrote: There are some linux arguments that the python interpreter can not digest and this is an example. It does not like the symbol >. There would be a solution changig the way these arguments are interpreted but it could create a security issue. Let me try something.

Anyway, what you are trying to do it will be possible soon. When you define a GPIO output in GPIO tab it will appear as a new action to set this GPIO to High or Low. On next update.

(2017-05-03, 10:47 AM)PaddyB Wrote:
(2017-05-03, 05:34 AM)Littlechay Wrote: Sounds great. Looking forward to trying it.

On the case of my plotter I have an red illuminated button (momentary close). When I get an alarm condition the I illuminate the button via the above GPIO pin. I haven't connected it yet but the idea is to have another action which resets the alarm condition when the button is pressed. Ideally the first press will silence the buzzer (also activated via a relay on the GPIO pin) and turn the light off - I would then like a second press to completely clear any existing messages.

Is there a way to implement this second press situation in OP ?

Maybe node-red would be a way to do this?

I don't know. Can Node-Red interact with physical controls?

Or are you suggesting that Node-Red get passed the physical button action from OP/Signal K and then return an action to OP to clear the messages? 

I haven't played with Node Red much yet. I need to get all my instruments accurately reporting into Signal K first before I get fancy. Smile
Reply


Messages In This Thread
RE: 0.11.3a action commands not working - by Littlechay - 2017-05-04, 01:54 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)