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
1 out of 1
Suggested Topics
-
Welcome
Announcements • 23 Mar 2014, 08:24 • hek 2 Apr 2014, 14:39 -
Radar motion sensor
My Project • 23 days ago • suresh sharma 23 days ago -
BMP280 SPI Adafruit
My Project • 24 Aug 2016, 01:56 • Matt 23 Jan 2025, 16:25 -
Simulate Online-Recreating 'Flappy Bird' with Arduino Nano
My Project • 15 Jan 2025, 09:13 • Skylar Jones 15 Jan 2025, 09:13 -
Status of my rv(camper) home automation system 2020-2025
My Project • 10 days ago • fsgraz 9 days ago -
Interface-board-for-remote-control
My Project • 22 days ago • OldSurferDude 8 days ago