Node-Red

koburg
Posts: 167
Joined: Thu Jul 27, 2017 4:14 am

Node-Red

Post by koburg »

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
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Node-Red

Post by kw123 »

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
koburg
Posts: 167
Joined: Thu Jul 27, 2017 4:14 am

Re: Node-Red

Post by koburg »

Great thanks wait for example.
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Node-Red

Post by kw123 »

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
koburg
Posts: 167
Joined: Thu Jul 27, 2017 4:14 am

Re: Node-Red

Post by koburg »

Looks Great

Thank you !

:D
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Node-Red

Post by kw123 »

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 2078 times
you can send any unix command to the RPIs this way, but you will not get any answer back

Karl
Post Reply

Return to “piBeacon”