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.

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Openplotter actions, add trigger doesn't do anything
#1
Hello, when trying to add actions in openplotter, I can't add triggers as the "ok" button does nothing. Even using a simple date trigger and clicking "ok" does nothing and the trigger window stays open, without any errors or feedback. Anyone encountered this before?

Thanks,

Marco
  Reply
#2
Response to an old post, but...

...I am getting this too.

Did you manage to find out what was wrong?

(11-02-2018, 11:23 PM)NaturalBornCamper Wrote: Hello, when trying to add actions in openplotter, I can't add triggers as the "ok" button does nothing. Even using a simple date trigger and clicking "ok" does nothing and the trigger window stays open, without any errors or feedback. Anyone encountered this before?

Thanks,

Marco

I see this was posted a while ago, so hoping that you found a way to fix this problem, because I also get this error.

Any advice to offer?
  Reply
#3
This is not an old post hahaha!

I posted that a couple of weeks ago and nope, I haven't gotten the solution yet because I have many other things to set up first and this is way down the line, let me know if you figure it out!
  Reply
#4
i have not used the actions tab for a long time. you can make any actions you want with node red. i suggest using the gpio node and a function node. https://www.npmjs.com/package/node-red-contrib-gpio
it is also an easy way to add analog pins to the pi with an arduino + firmata. and its easy to use 5v sensors with the arduino pi combo i have a arduino mega setup that way, lots of pins for sensors or relays ect. Smile
it can be installed with the palette manager also.. search gpio in the install tab.
you can get any data that is in signalk thru the websocket.. gps ect.
mare liberum
  Reply
#5
Thanks friend, very useful!

Isn't node-red MUCH slower than using Python however, and heavier on CPU time?
  Reply
#6
Faster
https://da-14.com/blog/python-vs-nodejs-...ur-project

"The main thing we want from a programming tool is performance. Performance defines the speed of your application response which directly depends on how fast your code is executed. If we compare the performance of Python vs that of Node.js, we will immediately see that Node is significantly faster. This great performance is largely due to Node.js being based on Chrome’s V8 which is a very fast and powerful engine. For this reason, Node.js speed vs that of Python is far greater which makes it a much better choice for real-time applications"

the only problems on cpu usage i have ever had was with serial node or arduino node screwing up, thats why i suggested the gpio node.it does the same thing basically without any problems so far Smile
mare liberum
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)