Page 1 of 1
Node-Red
Posted: 31 Jul 2019, 09:59
by Truos
Hi,
Trying to get Node Red to work
This is my running config export of IO names
https://pastebin.com/raw/8KnQpjy4
I can set the outputs via piTest -w but can't get the node red to work.
How do I adress the outputs and how to I read the inputs?
- Nodes.png (21.25 KiB) Viewed 4605 times
- revpi-write.png (148.64 KiB) Viewed 4605 times
- revpi-read.png (144.47 KiB) Viewed 4605 times
Re: Node-Red
Posted: 31 Jul 2019, 12:24
by Truos
Managed to get it to work.
Using piTest I managed to get a different offset that the export showed me.
Code: Select all
└──╼ $piTest -w O_1_1,1
Set bit 0 on byte at offset 183. Value 1
And using that in Node Red worked.
Same with reading inputs
Re: Node-Red
Posted: 04 Feb 2020, 08:41
by kunby
Hi Truos,
I am trying to install node-red-contrib-revolution-pi-dio node 0.0.4 on my system but I can't.
I tried via Manage Palette of node-red dashboard and also using npm install node-red-contrib-revolution-pi-dio but it did not work. Before I have also installed the ffi-module.
Do you have suggestions or ideas how to solve that problem?
Thank you.