Using the relay actuator example to light LED directly off the digital outputs?
-
Hey. I've successfully set up an energy pulse sensor talking via a gateway to a Raspberry pi (running Domoticz) (Yay!). While I can see the Watts data on Domoticz - I want to display some elements in a basic format. For example when watts is zero to light an LED on a remote display and When watts is greater than x to light a different LED.
Looking at the relay actuator example - it seems I could pretty much use this code telling the arduino that it's controlling x "relays" and then running the led (and series resistor) off the digital output?
Does domoticz pick up the fact that the hardware has x relays and allow me to then use blocky to logic which "relays" (ie LED) are activated etc?
Thanks for the help!
StKilda
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login