• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

RGB light changing during day

Scheduled Pinned Locked Moved Unsolved Requests
6 Posts 3 Posters 2.0k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    Lorenzo_Zappa
    last edited by Lorenzo_Zappa Aug 17, 2018, 3:44 PM Aug 17, 2018, 3:13 PM

    Hello guys,
    I have just installed a led strip (the one with individual r,g,b channels and a 12 volt channel) and I was looking for a module capable of controlling it (maybe using pigpio).
    My goal was something that starts at morning with a certain color (ex: warm light), than during day time the lights fade away (until they shut off), than during evening they fade in with another color (ex: cold light) until they fade away one last time during night.
    Any suggestions on existing modules?
    Thanks
    Lorenzo

    1 Reply Last reply Reply Quote 0
    • C Offline
      Charley Module Developer
      last edited by Aug 18, 2018, 8:15 AM

      Hello Lorenzo,

      Is this a topic for the magic mirror or for the Raspberry PI?
      There are enough websites where you can find this information.

      MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

      1 Reply Last reply Reply Quote 0
      • L Offline
        Lorenzo_Zappa
        last edited by Aug 18, 2018, 8:31 AM

        It’s probably just about raspberry pi, not MMM…
        The problem is that I am not able to find any scripts like this that works with my type of led

        1 Reply Last reply Reply Quote 0
        • C Offline
          Charley Module Developer
          last edited by Aug 20, 2018, 6:22 PM

          Hello Lorenzo,

          I am working on a RGB(W) module on a ESP32 that controls the LEDS it will be available as I can foresee the beginning of next week.

          RGB(W) Control for ESP32/MQTT

          It is off topic on this forum so contact me through github.

          MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

          1 Reply Last reply Reply Quote 1
          • M Offline
            maxbachmann
            last edited by maxbachmann Aug 21, 2018, 7:21 AM Aug 21, 2018, 7:03 AM

            In case you already have a pi laying around next to the LED’s you can obviously use it. Otherwise I would tend to a microcontroller like the ESP32 or a arduino (since it already has quite some examples online and is less expensive and power hungry than a pi)

            Since it is really just time based. You can basically just check the time (on pi just use system time with a microcontroller a RTC would be the way to go) and then just change the RGB LED color. So in general you just need to check some examples depending on which platform you use, but on neither of them it will be complicated, just search for a example using the same RGB Led type.
            You can obviously use it with MQTT like in @Charley 's example. Although when you really just want to change the color time based and do not want to change the times and color shemes all the time I don’t think MQTT akes much sence

            1 Reply Last reply Reply Quote 0
            • C Offline
              Charley Module Developer
              last edited by Aug 26, 2018, 2:23 PM

              Hello Max,

              Following up on your message on topic https://forum.magicmirror.builders/topic/8604/rgb-light-changing-during-day
              I have update the ESP RGBw control with timers. Now it does it all.

              MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                2/6
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy