No, will not work. :-(
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module
-
RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module
Hello,
‘default everyone’ has work
But I can not start the MMM-Radio modul with profil-switch, but that was my idea.
So, I switch to Profile Radio and the MMM-Radio module will work, all other module are default for everyone.Here the MMM-Button Module
module: 'MMM-Buttons', classes: 'default everyone', config: { minShortPressTime: 10, buttons: [ { pin: 10, name: "Radio", longPress: { notification: "PROFILE_SWITCH", payload: {action: "default"}}, shortPress: { notification: "PROFILE_SWITCH", payload: {action: "Radio"}}}, { pin: 11, name: "Tagesschau", longPress: undefined, shortPress: { notification: "BUTTON_PRESSED" // payload: {action: "SHUTDOWN"} } } ]}},
-
RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module
Hello,
thanks for the modul,
but when I start this module my magic mirror get blank.{ module: 'MMM-Buttons', config: { minShortPressTime: 10, buttons: [ { pin: 10, name: "Radio", longPress: { notification: "PROFILE_SWITCH", payload: {action: "Radio_OFF"}}, shortPress: { notification: "PROFILE_SWITCH", payload: {action: "Radio"}}}, { pin: 11, name: "Tagesschau", longPress: undefined, shortPress: { notification: "BUTTON_PRESSED" // payload: {action: "SHUTDOWN"} } } ] }}, { module: 'MMM-ProfileSwitcher', config: { } },{ module: 'MMM-RadioDe', classes: 'Radio', position: 'bottom_left', // This can be any of the regions. config: { // See 'Configuration options' for more$ station: "hr3", // can be obtained in embed section of $ api_key: 'XXX', //optional, height:"92", // in pixel width:"360", // in pixel }}, -
RE: MMM-PIR-Sensor with RelayPin and execute script
Yes, the error code says, you have not enought whitespaces before the lines.
-
RE: MMM-PIR-Sensor with RelayPin and execute script
-
RE: MMM-PIR-Sensor with RelayPin and execute script
I have build in this python script in tho rc.local
import RPi.GPIO as GPIO import time #Board Mode: Angabe der Pin-Nummer GPIO.setmode(GPIO.BOARD) #GPIO Pin definieren fuer den Dateneingang vom Sensor PIR_GPIO = 13 Relay_GPIO = 37 GPIO.setup(PIR_GPIO, GPIO.IN) GPIO.setup(Relay_GPIO, GPIO.OUT) GPIO.output(Relay_GPIO, True) GPIO.setup(32,GPIO.IN) read=0 wait=0 ein=0 button=1 while True : #PIR auslesen read = GPIO.input(PIR_GPIO) button = GPIO.input(32) if ((read==1 or button==0) and wait==0): GPIO.output(Relay_GPIO, False) wait=1 ein=1 time.sleep(0.5) elif ein==1 and button==0: ein=0 time.sleep(0.5) -
screensaver will not turn off
Hello,
I have install the Magicmirror this the jessie manual,
but the screensaver is still running after a few minutes.Anyone a idea how I can turn off the screensaver function
-
MMM-Myvoiceradio with button
Hello,
I need help, I will use the MMM-Myvoiceradio module with buttons not this microphon.I have make buttone with MMM-Buttons for
Sender+ to switch to the next sender and
Sender- to switch to the previous sender
VolumeUp to make a higher Volumen and
VolumeDown to make a lower Volumen
and radiostop for stop the radio.
And have change the MMM-Myvoiceradio.js
but nothing works.
But I muss learn a lot of JavascriptModule.register(“MMM-Myvoiceradio”,{
// Default module config.
// defaults: { text: “Sender1: BigFM”
Sender2: Einslive
// },notificationReceived: function(notification, payload, sender) {
var self = this;
Sender = 0;
If (notification === “Sender+”){
Sender = Sender+1;
If (Sender > 2){
Sender = 1;
}
}
If (notification === “Sender-”){
Sender = Sender-1;
If (Sender < 1){
Sender = 2;
}
}if (Sender === 1){
self.sendSocketNotification(‘einslive’, {});
}
if (Sender === 2){
self.sendSocketNotification(‘bigfm’, {});
}
if (notification === “VolumeUp”){
self.sendSocketNotification(‘VolumeUp’, {});
if (notification === “VolumeDown”){
self.sendSocketNotification(‘VolumeDown’, {});if (notification === “radiostop”){
self.sendSocketNotification(‘radiostop’, {});
}},
// Override dom generator. getDom: function() { var wrapper = document.createElement("div"); wrapper.innerHTML = this.config.text; return wrapper; }});
-
RE: MMM-Podcast: omxplayer still running. kill forced
push down.
No one can help me?