A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
  • how alert trigger

    Unsolved Troubleshooting
    15
    0 Votes
    15 Posts
    2k Views
    F

    @sdetweil

    im so sorry but I don’t understand it. like I wrote I can see the examples in my Mqtt broker.
    when I change in my broker the messages I can also see in the log from the mirror that it changed this values but how can I trigger with this a alert for example or a notification? what I have to configure? in the config.js file by the module: MMM-MQTT-Bridge? when yes what? I copy the examples already.

  • Fahrenheit to MQTT

    General Discussion
    2
    0 Votes
    2 Posts
    467 Views
    H

    The best way for me to do it was to use node-red. Fantastic program for us newbies with little coding experience. Highly recommended. I’m running it on the pi that is sending the values to the MM pi. Works great.

  • 0 Votes
    1 Posts
    299 Views
    U

    Hi everybody!

    I currently have an event on my local MQTT server which provides me with the event that sun has risen or has set. This has different consequences around my house, specifically when the sun sets: curtains go down, ambiental lights go on (this last one obviously depending on whether we are home or not), staircase gets illuminated, etc.

    I have a magic monitor (on display here) which I want it to be coordinated as well: whenever the sun sets, the theme should set to be a dark theme, otherwise during the day it should be a white(ish) theme.

    I have currently overwritten some values in my CSS so that during the majority of the day it displays the light theme, but now I would like to go a step further and implement this so that after the sun sets, the screen is no longer so bright.

    Now comes my question: how would you begin to do this? Has anybody already done this before? Can I use some existing implementation to read out MQTT and perform an operation based on such an event?

    I can program comfortably (actually pretty new to nodejs!) but I’m just curious as to where to begin. Hopefully you can help me more.

    Thanks and greetings.