MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Keromida
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Keromida

    @Keromida

    0
    Reputation
    555
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Keromida Unfollow Follow

    Latest posts made by Keromida

    • RE: Adjust brightness of the screen in the night

      @strawberry-3-141 That sound’s like a pretty good idea but now I have to connet that code to the time and that’s my actual problem. How could i integrate that? I would really like to use that option because that’s exactly what I want to use 🙂

      @Cato Yeah, I was thinking the same but there was also my problem to write a code like that and then tell the code that it should just work between 10 PM and 6 AM (or better betweeen 22:00 and 6:00 for me in Germany) the time 😞

      @RedNax Yeah, these are the codes I know but there is still the problem to conect the code to the time 😞

      I’m really sorry when I’m not that good in programming like you all do but I started with VisualBasic just 3 months ago and I never programmed with anything else than VisualBasic 😞

      posted in Troubleshooting
      Keromida
      Keromida
    • RE: Adjust brightness of the screen in the night

      I would also appreciate if there is a way to turn off/on the screen. I could write a shellscript for that, but I don’t know how to tell my RPi 3 out of the clock module, that when the time reaches 10.00 PM that it should start the “Screen Turn Off”-Script and at 6 AM to start the “Screen Turn On”-Script. The script could be run without the LXTerminal, so there wouldn’t be any complications with the MagicMirror interface.

      posted in Troubleshooting
      Keromida
      Keromida
    • Adjust brightness of the screen in the night

      Hello everyone!

      I was trying to write some code which is connected to the time. I would like to adjust the brightness of the screen from 10 PM to 6 AM from 100% to 50% brightness. I do know the code to adjust the screen brightness on the raspberry pi on command, but I have to restart the Pi to apply the adjustment and that’s something that I don’t like. I don’t want the Raspberry Pi to restart the whole time just to adjust the brightness.

      I was thinking to adjust the clock module with the brightness adjustment or write a complete new module but my ecperience in programming isn’t that much. I started programming like 3 months ago with Visual Basic but I’m glad that I understand pretty much of the code of the MagicMirror². I would really appreciate any help.

      Kind regards,
      Keromida

      posted in Troubleshooting
      Keromida
      Keromida
    • RE: currentweather - temperature (minimum and maximum)

      Thank you for your help RedNax! The JSON Code really helped me out to fix it! I chose the wrong names for temp_min and temp_max. That’s why i couldn’t receive the data.

      Could you tell me where to find those JSON codes for the weather?

      posted in Troubleshooting
      Keromida
      Keromida
    • RE: currentweather - temperature (minimum and maximum)

      Okay, I was able to write the code correctly and it is able t display the temperature on the right position but I still have the problem to get the data for the temperature information from openweathermap.org and connect it to the written code. All I can see on the screen is null°. I guess the data is missing and also the connection to the data from openweathermap.org.

      This is how it looks like at the moment
      Bild Text

      Edit: I can’t locate the part of the code where the data of openweathermap.org is connected to the currentweather.js code. Can anyone help me where to find it?

      posted in Troubleshooting
      Keromida
      Keromida
    • currentweather - temperature (minimum and maximum)

      Hi everyone 🙂

      I mostly finished my own Mirror and I’m having some trouble with the currentweather. I would like to display the minimum and maximum temperature of the day in the currentweather API and I seriously have no idea how to fix that problem. I was trying to fix it on my own but all I was able to display on the mirror was “undefined” for minimum and maximum tempereture. Could anyone explain to me what I actually have to do to get the data to the currentweather API?

      Kind regards from Germany,
      Keromida

      posted in Troubleshooting
      Keromida
      Keromida