Friday 6 January 2017

Passing values from Python to Node Red?

I'm working on a Raspberry Pi LED project.I have a simple Python/Flask script that controls 4 LED, to turn on any LED i just pass http://myIP:5050/{LED}/{PWM} to my browser, where LED is which LED and PWM is the value of duty cycle of PWM.I have a dashboard setup in Node Red that shows the status, I want to have the status of LED to show there (on/off, beside the Light 1 label I have there) and have no idea how.This is the first time I'm using Node Red, any help will be greatly appreciated

Submitted January 07, 2017 at 01:06AM by theonlyQuan

No comments:

Post a Comment