Node-Red

Posted on
Sun Jul 15, 2018 2:01 am
koburg offline
Posts: 167
Joined: Jul 27, 2017

Node-Red

Hi

I have your software on my PI is it possible to install node red on this device also?

so it will be restarted also ?

I have tried some guides but do not seem to work properly

Allan

Posted on
Sun Jul 15, 2018 5:25 am
kw123 online
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: Node-Red

Yes. Add a device mysensor type
Then modify the mysenorfile on the rpi to just start node red. But keep the loop active. It must stay alive If not master.py will restart it

I can post an example later today.


Sent from my iPhone using Tapatalk

Posted on
Sun Jul 15, 2018 5:35 am
koburg offline
Posts: 167
Joined: Jul 27, 2017

Re: Node-Red

Great thanks wait for example.

Posted on
Sun Jul 15, 2018 9:05 am
kw123 online
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Node-Red

Have added a device model “launchcmd”

With thy model you can specify any Unix command It will be executed after master.py starts. You can add a check if it is still running. Then it will make sure it is still running. If not it will relaunch it.
If you switch off the device the program will be killed.

Still testing, should have it ready after final Fußball is over.




Sent from my iPhone using Tapatalk

Posted on
Mon Jul 16, 2018 9:54 pm
koburg offline
Posts: 167
Joined: Jul 27, 2017

Re: Node-Red

Looks Great

Thank you !

:D

Posted on
Tue Jul 17, 2018 8:29 am
kw123 online
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: Node-Red

you can also do a pibeacon action:
Screen Shot 2018-07-17 at 09.28.11.png
Screen Shot 2018-07-17 at 09.28.11.png (49.95 KiB) Viewed 1785 times


you can send any unix command to the RPIs this way, but you will not get any answer back

Karl

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests