OpenMarine
GPIO triggered actions - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: GPIO triggered actions (/showthread.php?tid=473)



GPIO triggered actions - Alpenskipper - 2017-04-29

Hi,
I updated to OP 0.11.3 and do not succeed in configuring GPIO triggered actions.

I cant't see the inputs in SK diagnostics, nor can I trigger an action with GPIO inputs.
The configured GPIO inputs do not show up in the Signal K key lists. I had to wrote the names in sensors.* by hand.

Actions with I2C sensors are working.

What am I doing wrong?

[Image: 8889b247d7135b17961fcf251327a5d2.jpg]

[Image: 6eb5c37ebe42a9528ae549bd7811eeb5.jpg]

[Image: 5ac536ecb73740899b5fcaff67ea88f4.jpg]

[Image: 3f8a00c00d2dc4420394af992e6b815e.jpg]


GPIO triggered actions - Alpenskipper - 2017-04-30

Update:
My mistake - actions are working with the above described settings.

In OP 0.8 the GPIO triggered action was performed when actualizing the action settings.
I was using this for the check.

I guess now the action ist performed when the GPIO state realy changes.

Anyway it works.

Is there a way to see the state of the defined GPIO input sensors?