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.6k 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.
    • C Offline
      Charley Module Developer
      last edited by

      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
      • Lorenzo_ZappaL Offline
        Lorenzo_Zappa
        last edited by

        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

          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

            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

              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
              • First post
                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