Thanks, yes I understand that is missing a config. But where must this be and how looks the code.
I have 6 Push buttons installed
Thanks, yes I understand that is missing a config. But where must this be and how looks the code.
I have 6 Push buttons installed
Thank you very much for the hint!
I’m not very familiar with Coding, learning by doing
Where and how do I have to insert this now?
My code for buttons is like this:
{
module: 'MMM-Buttons',
config: {
maxShortPressTime: 500,
minLongPressTime: 2000,
buttons: [
{
pin: 23, //The pin that connects your first button
name: "Main Page Button", // Or whatever you really want
longPress: {
notification: "PAGE_SELECT",
payload: "sechste" // in English sixt, here are the podcast!
},
shortPress: {
notification: "PAGE_SELECT",
payload: "fuenfte" // fifth
}
},
Sorry for my bed english
Hallo,
i have 6 pages realized with MMM-Page-Selector, and everything works like a charm.
With MMM-Buttons i can change the sides.
I want on page six the Video from Tagesschau
So I have installed MMM-Podcast,
npm install omx-manager
npm install omxdirector
and omxplayer are the newest version 061425a (master)
But when pressing button the page six come and Only the text.
MMM-Podcast
module_25_MMM-Podcast
What do I am wrong.
Thanks and sorry for my english.
My Config:
`{
module: ‘MMM-Podcast’,
name: “podcast”,
config: {
feedurl: ‘http://www.tagesschau.de/export/video-podcast/webxl/tagesschau-in-100-sekunden/’
}
…
achte: {
“podcast”: “middle_center”
}
`
Und was soll uns das sagen?
Any info about this error?
pi@WEG-Infopanel:~/MagicMirror $ git stash
package-lock.json: needs merge
vendor/package-lock.json: needs merge
package-lock.json: needs merge
vendor/package-lock.json: needs merge
package-lock.json: unmerged (928d17635a4aff632b96c3d78499948e24eb70be)
package-lock.json: unmerged (1e84cc321d5ecb4199add46a08bfd7f3446d9c11)
package-lock.json: unmerged (281f5adadabad8c0fa36c54a8b5c882b66e06722)
vendor/package-lock.json: unmerged (a326b4026808f4b1ab060fe3c12e385f82330759)
vendor/package-lock.json: unmerged (793948105835abe0d92caaf321cb78150cc983a4)
vendor/package-lock.json: unmerged (9ad15ee58a9adce0f84708789296d2ae2ec1e029)
fatal: git-write-tree: error building trees
Kann den aktuellen Zustand des Index nicht speichern
OK it was the pin!
The correct PIN number is really impossible
But it is very confusing with pin BCM and BOARD
So the BOARD PIN is correct.
with a python.py and this code:
import RPi.GPIO as GPIO
import time
GPIO.setwarnings(False) # Ignore warning for now
GPIO.setmode(GPIO.BOARD) # Use physical pin numbering
GPIO.setup(11, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
tries = 0
while (tries < 200):
if GPIO.input(11):
print("11 Open")
else:
print ("Close")
time.sleep(1.)
tries = tries + 1
#GPIO.cleanup() # clean up GPIO on normal exit
With this code I can see that the button works and triggers.
But in magicmirror pm2 log mm it shows no reaction!
Do i have to adjust something else?
Thanks and a happy new year 2019
Hello,
is there a log where i can see if something happens when the button press.
Have MMM buttons run on the Raspi and a pushbutton on Ground and pin 11 (gpio17) plugged.
Nothing reacts when I push? Do i still have to adjust something?
Hallo,
wo gibts denn ein log wo mann schauen kann ob sich was regt beim button drücken.
Habe MMM-Buttons am laufen und am Raspi ein Pushbutton auf Ground und Pin 11 (gpio17) gesteckt.
Nix reagiert? Muss ich noch was anderes einstellen oder einschalten?
MMM-PageSelect läuft auch damit ich mehrere Seiten habe.
buttons: [
{
pin: 11, //The pin that connects your first button
name: "Hauptseite", //Or whatever you really want
longPress: { //longPress or shortPress doesnt matter. Really it's just the stuff on the inside that matters.
notification: "PAGE_SELECT",
payload: "haupt" //Or whatever page you want
},
shortPress: {
notification: "PAGE_SELECT",
payload: "zweite" //Or whatever page you want
}
},
Danke
@rummyr said in Displaying Metrics from an Excel Sheet:
I guess the bottom line is the question “can nodejs access the data?”
A quick search turned up more than one npm module for reading xls files.
Not sure pulling from an Excel sheet is particularly sensible, probably more sensible to push from Excel on change to a more accessible source.
My English is not very good!
Can you explain that further? That would interest me too.
Hello,
I have a MagicMirror Infopanel tinkered with multiple pages (MMM page selector) weather, departure times trains etc.
Is it possible to have a PDF or Excel file displayed on a page? I was thinking of a folder in which this file is stored and MM indicates this.
How could I implement that?
I’d be thankful for Tips.
Hallo,
Ich habe ein MagicMirror Infopanel gebastelt mit mehreren Seiten (MMM-Page-Selector) Wetter, Abfahrtszeiten Züge usw.
Ist es möglich sich auf einer Seite eine PDF oder Excel Datei anzeigen zu lassen. Ich dachte da an einen Ordner in der diese Datei abgelegt wird und MM zeigt diese an.
Wie könnte man das umsetzen.
Für Denkanstöße wäre ich dankbar.
Robi
OK Thanks.
It’s not really an issue, its a question about Button with Selector Howto