MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. kclemen
    3. Topics
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    K
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 9
    • Posts 53
    • Groups 0

    Topics

    • K

      Bottle py - freezes raspberry pi

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      1
      0 Votes
      1 Posts
      1k Views
      K
      Hi, I’m using Bottle: Python Web Framework to control a relay on the raspberry pi. When I start the python script everything runs fine, but after a certain time (half an our or so) the pi freezes completely. from bottle import route, run import RPi.GPIO as GPIO GPIO.setwarnings(False) GPIO.cleanup() GPIO.setmode(GPIO.BCM) GPIO.setup(5, GPIO.OUT) @route('/on') def on(): GPIO.output(5,GPIO.LOW) return("ON") @route('/off') def off(): GPIO.output(5,GPIO.HIGH) return("OFF") @route('/status') def status(): return GPIO.input(5) run(host="0.0.0.0", port=8070) anyone with more python experience that can give a helping hand?
    • K

      Bathroom - 30" MagicMirror

      Watching Ignoring Scheduled Pinned Locked Moved Show your Mirror
      23
      1 Votes
      23 Posts
      21k Views
      iMAGiCI
      @kclemen very cool and beautiful bathroom 👍
    • K

      Post method - gpio steering (relais)

      Watching Ignoring Scheduled Pinned Locked Moved Feature Requests
      2
      0 Votes
      2 Posts
      2k Views
      K
      Hi, I’m using a home automation system which can provide a POST command to perform some actions within my house. Is there a way to communicate with the MagicMirror system? My mirror will be placed in our bathroom. Since there is already a presence sensor placed in our bathroom we would like to use this sensor to perform an action to the gpio pin of the raspberry pi. What would be the best method to perform this action?
    • K

      jumping of modules

      Watching Ignoring Scheduled Pinned Locked Moved Troubleshooting
      23
      0 Votes
      23 Posts
      15k Views
      strawberry 3.141S
      @kclemen to keep your scope you need to use a fat arrow (es6) function setTimeout(() => { MM.getModules().withClass(this.config.defaultClass).exceptWithClass(this.config.everyoneClass).enumerate(function(module) { module.show(1000, function() { Log.log(module.name + ' is hidden.'); }); }); }, 1000);
    • K

      Load url without showing

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      1
      0 Votes
      1 Posts
      1k Views
      K
      Hi, I want to load a certain url to perform an action, but I do not want to show that page. What would be the best way to implement this? It should work within the Modules. http://xxx.xxx.xxx.xxx:port/EN/status.html?p0=playlist&p1=jump&p2=0&start=0&player=00%3A00%3A00%3A00%3A00%3A01
    • K

      Header for module "hello world"

      Watching Ignoring Scheduled Pinned Locked Moved Feature Requests
      4
      0 Votes
      4 Posts
      2k Views
      K
      Sorry, now that I see my post again: I did not insert the header tag in the correct module. (Shame shame)
    • K

      Firefox: bottom inputfield is hidden

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved Forum
      10
      0 Votes
      10 Posts
      5k Views
      K
      Seems that the problem fixed itself? No issue anymore at the moment (Dit a CTRL + scroll zooming some while ago on this website.
    • K

      Images issue on forum

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      4
      0 Votes
      4 Posts
      2k Views
      P
      Damm your right, I found the setting: Delay Image Loading - If enabled, images in topics will not load until they are scrolled into view. Thanks man
    • K

      skywriter - python to javascript

      Watching Ignoring Scheduled Pinned Locked Moved Development
      18
      0 Votes
      18 Posts
      13k Views
      K
      This helps indeed for the error, thanks. But how to use it like I want? I mean, how can you do calculations within following up socketnotifications? It looks like with every gesture the this.config;gesture_up starts with the value 0.
    • 1 / 1