• 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.

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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
5 Posts 3 Posters 889 Views 3 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.
  • S Offline
    Smartmirrorz
    last edited by Apr 8, 2019, 12:22 PM

    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 Offline
      sdetweil
      last edited by Apr 8, 2019, 12:29 PM

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

      you could add that tho.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      ? 1 Reply Last reply Apr 8, 2019, 6:19 PM Reply Quote 0
      • ? Offline
        A Former User @sdetweil
        last edited by Apr 8, 2019, 6:19 PM

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

        S 1 Reply Last reply Apr 8, 2019, 7:14 PM Reply Quote 0
        • S Offline
          sdetweil @Guest
          last edited by Apr 8, 2019, 7:14 PM

          @Sean got it… but weather module does not

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          ? 1 Reply Last reply Apr 8, 2019, 7:15 PM Reply Quote 0
          • ? Offline
            A Former User @sdetweil
            last edited by A Former User Apr 8, 2019, 7:16 PM Apr 8, 2019, 7:15 PM

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

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              3/5
              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