Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED Creating an "Intelligent" LED-light with the weather module?

    Troubleshooting
    3
    5
    391
    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.
    • S
      Smartmirrorz last edited by

      Hello Guys,

      A friend of mine and me are doing a school project with a Smart-Mirror and we have almost zero knowledge in javascript and python etc. We managed to modify the modules (Weather,Compliments, Calendar and Clock) to our location etc. but we want to make an “intelligent” Led lighting to the Mirror.

      Is it possible to use the information from the weather module (openweathermap) to adjust the lights (for example if the temperature is cold, the lights turn more white-blueish, if the temeperature is normal ist more like green and if its hot the lights turn more red) For the Leds we use Wiring pi and we can adjust the colors manually but is it possible to use the information provided from the weather module to control the lightning?

      Greetings from Germany

      1 Reply Last reply Reply Quote 0
      • S
        sdetweil last edited by

        currently the weather module does not advise other modules of the current weather info…

        you could add that tho.

        Sean 1 Reply Last reply Reply Quote 0
        • Sean
          Sean Module Developer @sdetweil last edited by

          currentweather can emit notification “CURRENTWEATHER_DATA”, {data: data}).

          S 1 Reply Last reply Reply Quote 0
          • S
            sdetweil @Sean last edited by

            @Sean got it… but weather module does not

            Sean 1 Reply Last reply Reply Quote 0
            • Sean
              Sean Module Developer @sdetweil last edited by Sean

              @sdetweil
              Sorry I thought you guys saying about “currentweather” module.

              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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy