@bjoern you can make another cron task on the endtime
Read the statement by Michael Teeuw here.
Posts
-
RE: modules day and time Depending represented
-
RE: NHL Module
@Officeglen after my lectures today, I could help to debug this via teamviewer and fix it in time for your brothers birthday
@bbry do you get any errors in the terminal or electron console?
-
RE: MMM-Traffic - Green Text?
@tobykah After checking the code I can say that the color part is only working when arrival_time is not set
-
RE: Passing variable from one request to another
@mongo116 I assume that your code is inside the function getData
getData: function() { request({ url: "https://api-prod.bgchprod.info:443/omnia/auth/sessions", headers: { 'Content-Type': 'application/vnd.alertme.zoo-6.1+json', 'Accept': 'application/vnd.alertme.zoo-6.1+json', 'X-Omnia-Client': 'Hive Web Dashboard', 'cache-control': "no-cache", }, method: "POST", body: JSON.stringify(body), }, function (error, response, body) { if (!error && response.statusCode == 200) { var responseJson = JSON.parse(body); // nested request after successfully obtaining the session id request({ url: "https://api-prod.bgchprod.info:443/omnia/nodes", headers: { 'Content-Type': 'application/vnd.alertme.zoo-6.1+json', 'Accept': 'application/vnd.alertme.zoo-6.1+json', 'X-Omnia-Client': 'Hive Web Dashboard', 'cache-control': "no-cache", 'X-Omnia-Access-Token': responseJson.sessions[0].sessionId, }, method: "GET", }, function (error, response, body) { if (!error && response.statusCode == 200) { // the required data var data = JSON.parse(body); } }); } }); } -
RE: Change module position
@samydp those are all valid positions you can enter in the config.js https://forum.magicmirror.builders/topic/286/regions
however you can make your custom layout in
~/MagicMirror/css/custom.css -
RE: NHL Module
@Officeglen I made a possible fix for the error we couldn’t reproduce. I’m assuming that this was due to an unexpected/unhandled behaviour of the api.
@chieftainSupreme I was looking for a free api a couple of weeks ago, but couldn’t find one.
-
RE: multiple titles in newsfeed
@obelix05 from my knowledge no, but you can put the newsfeed module twice at the same position with different urls (to prevent displaying the same posts twice) then it will display two at the same time.
-
RE: magic-mirror-voice
@howi42 after a quick look into the module, it seems that the module doen’t make use of it’s config option debug
-
RE: Change module position
@samydp the module name is case sensitive so you have to write it like in the config file e.g. in your case it would be
.clock.clock{ left : 100 px, top:50 px }also think about using
positionwith the valuesfixed, absolute or relative -
RE: Fuel Monitor for Austria
@schlachtkreuzer6 would be great if someone is able to integrate this into my fuel module for germany :)
-
RE: PIR Sensor turning display on/off over and over
@elmerito25 I don’t have a mirror to test, but the code does the following
from gpiozero import MotionSensor pir = MotionSensor(4) while True: #repeat this forever if pir.motion_detected: # if motion is detected print the message print("Motion detected!")after the print is done it immediately repeats the loop, because their is no sleep, timeout, delay or whatsoever in there. So for me the expected behaviour is that it prints over and over the same message. You could try to check motion not detected
from gpiozero import MotionSensor import time pir = MotionSensor(4) while True: #repeat this forever if pir.motion_detected: # if motion is detected print the message print("Motion detected!") if not pir.motion_detected: # if no motion is detected print the message print("No motion detected!") time.sleep(1)run this and leave your sensor alone it will print just every second
-
RE: Trouble with mm on start
@fasyr with the automatic installer those should be replaced with the magicmirror logo
https://github.com/MichMich/MagicMirror/blob/master/splashscreen/splash.png
-
RE: Active Notification from external system?
@SwordMaster you could go for
[card:paviro/MMM-syslog]
-
RE: MMM-Traffic, Resize icon
@pjkoeleman all
fontawesome icons have the classfaand then the specific class likefa-car -
RE: Electron CPU usage
if i remember correct there is also a possibility to increase performance of transformations, but I’m not sure. Have to research on this
EDIT: I can’t do any testing for a while, if someone wants to get a hand on it I think this should make an effect as it will optimize the rendering from cpu usage to gpu. It’s still a new stuff though and I’m not sure if it is supported in electron yet.
.MODULENAME { will-change: opacity; }replace modulename with the actual module name
-
RE: Display a Web Page
@Jayh391 I would just go for the approach from the halloween thread
{ module: "helloworld", position: "top_right", config: { text: "<iframe src='YOUR_URL' style='height: 500px; width: 300px;'></iframe>" } }, -
RE: LocalTransport-Module and calendar
@tosti007 It’s very easy to get one, just took me ~ 2 minutes. You can give it a try.
-
RE: MMM-WunderGround - Display hourly only?
@Camelblack custom.css
.MMM-WunderGround table.small:nth-of-type(3), .MMM-WunderGround hr.hrDivider:nth-of-type(3) { display:none; }