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

    Posts

    Recent Best Controversial
    • RE: MMM-PublicTransportHafas from KristjanESPERANTO

      @KristjanESPERANTO
      thanks again but unfortunately this did not help. It increases the space between the platform number and the right edge but does not move the platform number to the right. Even if I add

      .mmm-pth-platform-cell {
        width: 3ch;
        text-align: right;
      }
      

      it will stay same.

      the question marks indeed traced back to the API. they disappeared the next day.

      posted in Troubleshooting
      O
      onkelbobby
    • RE: MMM-PublicTransportHafas from KristjanESPERANTO

      thank you @KristjanESPERANTO for your reply and sorry for my late response due to my business trip.

      I just implemented your recommendation into styles.css and it worked great. The only thing that’s now different is how to arrange the track number that it is aligned to the right?

      module alignment 2.png

      Maybe you also have an idea how to solve why all of a sudden several delay times are displayed as “?”

      thank you for your great help

      posted in Troubleshooting
      O
      onkelbobby
    • RE: MMM-PublicTransportHafas from KristjanESPERANTO

      @thgmirror

      Thank you for this hint… I’ll try it once I’m back from my business trip.

      posted in Troubleshooting
      O
      onkelbobby
    • MMM-PublicTransportHafas from KristjanESPERANTO

      Hi @KristjanESPERANTO
      First of all thank your for further developing and maintaining this moduel. I used and older version from @raywo up to now but changed to your updated fork just lately.

      I got everything perfectly working the only thing I cannot manage is the identical orientation of the line symbols. As you see from the picture I’m using the same module 3 times for displaying the departures of 3 different stops in my neighborhood. Due to my personal design preferences all moduels are the aligned to the right hand side of my mirror. Can you tell me what I have to modify to get a nice left-aligned orientation of all line symbols as well as of the destination names within the particulat columns? I tried to symbolize it with the lines and arros in the picture below.

      hafas2.png

      Thank you
      Ben

      posted in Troubleshooting
      O
      onkelbobby
    • MMM-PublicTransportHafas

      Hi @raywo , Hi all

      I’m using the MMM-PublicTransporthafas (https://github.com/raywo/MMM-PublicTransportHafas) module for more than 2 years now and I’m really happy that it exists. Since several month unfortunately this module is not working for 100% anymore and some of the bus or train stops can not be recognised anymore. After some internet research I found that the hafas-client used in this module was updated several times, see: https://github.com/public-transport/hafas-client
      I’m not very familiar with java coding and do not know how I can adapt MMM-PublicTransportHafas to the latest version of hafas-client. Is there anybody who can help to solve this? it would be a shame to loose this nice and universal module just because a simple but necessary update cannot be done.
      I really appreciate your help!
      Thanks
      onkelbobby

      posted in Transport
      O
      onkelbobby
    • RE: MMM-DarkSkyForecast - Yet ANOTHER weather module

      @chris1971
      if you just wanna remove the wind in the forecast tile try to add that line in MMM_DarkSkyForecast.css

      .MMM-DarkSkyForecast .wrapper.tiled .forecast-container .forecast-item .wind-container{
        display: none;
      } 
      

      of course it makes sense to remove the existing line before
      hope this helps

      posted in Utilities
      O
      onkelbobby
    • RE: MMM-DarkSkyForecast - Yet ANOTHER weather module

      Minimizing to font size should not be a big thing. If you open the module specific css file you an search for font and play with the values in that section. Note that you need to restart MM after saving the modified css file.

      posted in Utilities
      O
      onkelbobby
    • RE: MMM-DarkSkyForecast - Yet ANOTHER weather module

      I implemented this fantastic Modus and it integrates almost seamlessly into our existing mirror layout. To make it perfect I need to reduce the gap between the time and the icon as wells between the day and the icon (yellow arrows). and also between the individual block’s (arrows in red)
      0_1552945910732_Bildschirmfoto 2019-03-18 um 22.51.28.png
      I know that I have to modify the .css file can someone give me a hint what would be the correct values to be changed?
      Thanks

      posted in Utilities
      O
      onkelbobby
    • RE: Do you use a PIR sensor? How do you hide it?

      @htilburgs
      mine is connected to an Arduino micro 3.3V version and this one is controlling a simple relais switching the monitor inside the mirror. But as @MadScientist already mentioned you can also hook it up to the Raspberry Pi since It works perfectly with MMM-PIR-Sensor.

      posted in Hardware
      O
      onkelbobby
    • RE: Do you use a PIR sensor? How do you hide it?

      I did not use PIR sensor because it needs to “see” through the frame. After a little research I found an microwave based motion sensor called
      RWCL-0516. This tiny PCB works super reliable even though ma 20mm thick wooden frame.

      posted in Hardware
      O
      onkelbobby
    • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

      no ideas?

      posted in Transport
      O
      onkelbobby
    • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

      One more css question popped up while I reconfigured the appearance of the module

      There is a train called Meridian stopping at our station. If I do not add any css style for this train it appears as the 5 digit train-number only that changes depending on the time of day.

      0_1544002777059_Meridian.jpg

      I want the module to show only the name “Meridian” for all of the trains. So is there a possibility to rename all train numbers to “Meridian” only without showing the train number?

      Below please find the css code I’m currently using:

      /* Meridian */
      .m79600:before {
        content: "Meridian";
      }
      .m79500:before {
        content: "Meridian";
      }
      // ... and so on for every train number
      

      thank you for yuour help…

      posted in Transport
      O
      onkelbobby
    • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

      …finally the module is working like a charm since more than 4 weeks. I think this was an issue with the data provided.

      posted in Transport
      O
      onkelbobby
    • RE: Black screen after some hours

      I updated our mirror to 2.4.1 about 2 weeks ago… since the new software is running we don’t see black screen anymore…

      posted in Troubleshooting
      O
      onkelbobby
    • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

      Now, one week later I can confirm that the module is working perfectly on sundays only…
      The busses from this station are definitely running all week long.
      Any idea what can be the reason for this?

      posted in Transport
      O
      onkelbobby
    • RE: Black screen after some hours

      @rak
      I’ll give it a try and remove the update module. But it will take some more days since I’m traveling over the weekend…

      posted in Troubleshooting
      O
      onkelbobby
    • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

      Strange and confusing news:
      yesterday (Sunday June 24th) the Module worked perfectly. It also showed all departures from “Adunistrasse”. This morning unfortunately the old behavior was back again: no reachable departures as described above.

      Any Ideas?

      posted in Transport
      O
      onkelbobby
    • RE: MMM-PublicTransportHafas – Public transport information for all stations known to Deutsche Bahn

      Hi…

      since a few weeks I’m facing a problem that the current bus departures for one specific bus stop in Munich is not working. I’m running the MMM_PublicransportHafas Module 3 times on my mirror and two instances are running perfectly fine - one showing suburban trains “Mittersendling” , and another one for bus station “Heckenstallerstrasse”. But the third instance that is meant to show the bus departures from station “Adunistrasse” only feeds back something like “no reachable departures”.
      0_1529704391953_Bildschirmfoto 2018-06-22 um 23.37.50.png

      I crosschecked it with DB website and here the next departures are shown.
      0_1529704406496_Bildschirmfoto 2018-06-22 um 23.38.15.png

      the code used for “Heckenstallerstrasse” and for “Adunistrasse” is absolutely identical except the station numbers.

      // MMM-PublicTransportHafas Heckenstallerstr
      	{
      		module: "MMM-PublicTransportHafas",
      		position: "bottom_right",
      		
      		config: {
      			stationID: "000790109",          		// eigene stationID eintragen: Heckenstallerstr
      			stationName: "Heckenstallerstrasse",   	// Replace with your station name!
      			headerAppendix: "Richtung Harras", 		// wohin es gehen soll - wird nach dem station Name angezeigt
      			direction: "008004130",    				// Show only departures heading to this station. (A station ID.) Harras
      
      			ignoredLines: [],                 		// Which lines should be ignored? (comma-separated list of line names)
      			excludedTransportationTypes: [],  		// Which transportation types should not be shown on the mirror? (comma-separated list of types) possible values: StN for tram, BuN for bus, s for suburban
      			timeToStation: 0,                		// How long do you need to walk to the next Station?
      			showTableHeaders: false,				// ob die Überschriften angezeigt werden sollen
      			showColoredLineSymbols: true,     		// Want colored line symbols?
      			useColorForRealtimeInfo: true,    		// Want colored real time information (timeToStation, early)?
      			showTableHeadersAsSymbols: false,  		// Table Headers as symbols or text?
      			maxUnreachableDepartures: 0,      		// How many unreachable departures should be shown?
      			maxReachableDepartures: 5,        		// How many reachable departures should be shown?
      			customLineStyles: "mvg",             	// Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive)
      			showOnlyLineNumbers: true,       		// Display only the line number instead of the complete name, i. e. "11" instead of "STR 11"
      			replaceInDirections: {					// Ersetzt gewisse Anzeigen in den Destinations z.B. München durch nix
      				"München": "", "\\,": "",
      			},
      		},
      	},
      
      		// MMM-PublicTransportHafas Adunistr
      	{
      		module: "MMM-PublicTransportHafas",
      		position: "bottom_right",
      		
      		config: {
      			stationID: "000790090",          		// eigene stationID eintragen: Heckenstallerstr
      			stationName: "Adunistrasse",		   	// Replace with your station name!
      			headerAppendix: "Richtung Harras", 		// wohin es gehen soll - wird nach dem station Name angezeigt
      			direction: "000624609",    				// Show only departures heading to this station. (A station ID.) Harras
      
      			ignoredLines: [],                 		// Which lines should be ignored? (comma-separated list of line names)
      			excludedTransportationTypes: ["suburban", "regional"],  		// Which transportation types should not be shown on the mirror? (comma-separated list of types) possible values: StN for tram, BuN for bus, s for suburban
      			timeToStation: 0,                		// How long do you need to walk to the next Station?
      			showTableHeaders: false,				// ob die Überschriften angezeigt werden sollen
      			showColoredLineSymbols: true,     		// Want colored line symbols?
      			useColorForRealtimeInfo: true,    		// Want colored real time information (timeToStation, early)?
      			showTableHeadersAsSymbols: false,  		// Table Headers as symbols or text?
      			maxUnreachableDepartures: 0,      		// How many unreachable departures should be shown?
      			maxReachableDepartures: 5,        		// How many reachable departures should be shown?
      			customLineStyles: "mvg",             	// Prefix for the name of the custom css file. ex: Leipzig-lines.css (case sensitive)
      			showOnlyLineNumbers: true,       		// Display only the line number instead of the complete name, i. e. "11" instead of "STR 11"
      			replaceInDirections: {					// Ersetzt gewisse Anzeigen in den Destinations z.B. München durch nix
      				"München": "", "\\,": "",
      			},
      		},
      	},
      

      What am I doing wrong?!

      posted in Transport
      O
      onkelbobby
    • RE: Black screen after some hours

      Hi all,

      I’m facing exactly the same problem on my RPi3. The screen is all black and shows only the mouse arrow. I can access the MMM-RemoteControl from a separate notebook or mobile and it is possible to remotely restart the MM software to bring everything back to normal.
      With a connect mouse you can move the mouse pointer but still there is a black screen. below please find the result after typing pm2 log mm

      /home/pi/.pm2/logs/mm-error-0.log last 15 lines:
      0|mm       |     at emitTwo (events.js:106:13)
      0|mm       |     at ChildProcess.emit (events.js:191:7)
      0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      0|mm       | TypeError: Cannot read property 'hash' of null
      0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
      0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
      0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
      0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
      0|mm       |     at emitTwo (events.js:106:13)
      0|mm       |     at ChildProcess.emit (events.js:191:7)
      0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      0|mm       | fatal: unable to access 'https://github.com/jclarke0000/MMM-MyWeather.git/': Operation timed out after 300010 milliseconds with 0 out of 0 bytes received
      0|mm       | 
      0|mm       | fatal: unable to access 'https://github.com/raywo/MMM-PublicTransportHafas.git/': Operation timed out after 300039 milliseconds with 0 out of 0 bytes received
      0|mm       | 
      
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | TypeError: Cannot read property 'hash' of null
      0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
      0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
      0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
      0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
      0|mm       |     at emitTwo (events.js:106:13)
      0|mm       |     at ChildProcess.emit (events.js:191:7)
      0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | TypeError: Cannot read property 'hash' of null
      0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
      0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
      0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
      0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
      0|mm       |     at emitTwo (events.js:106:13)
      0|mm       |     at ChildProcess.emit (events.js:191:7)
      0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | TypeError: Cannot read property 'hash' of null
      0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
      0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
      0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
      0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
      0|mm       |     at emitTwo (events.js:106:13)
      0|mm       |     at ChildProcess.emit (events.js:191:7)
      0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | TypeError: Cannot read property 'hash' of null
      0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
      0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
      0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
      0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
      0|mm       |     at emitTwo (events.js:106:13)
      0|mm       |     at ChildProcess.emit (events.js:191:7)
      0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | TypeError: Cannot read property 'hash' of null
      0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
      0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
      0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
      0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
      0|mm       |     at emitTwo (events.js:106:13)
      0|mm       |     at ChildProcess.emit (events.js:191:7)
      0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | TypeError: Cannot read property 'hash' of null
      0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
      0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
      0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
      0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
      0|mm       |     at emitTwo (events.js:106:13)
      0|mm       |     at ChildProcess.emit (events.js:191:7)
      0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | TypeError: Cannot read property 'hash' of null
      0|mm       |     at /home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:68:31
      0|mm       |     at Git. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1482:10)
      0|mm       |     at done (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1354:21)
      0|mm       |     at ChildProcess. (/home/pi/MagicMirror/node_modules/simple-git/src/git.js:1379:16)
      0|mm       |     at emitTwo (events.js:106:13)
      0|mm       |     at ChildProcess.emit (events.js:191:7)
      0|mm       |     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
      

      in the log is written… Maybe no Internet connection? but this is definitely not true…

      Anybody an idea why this happens?

      posted in Troubleshooting
      O
      onkelbobby
    • RE: 27" Mirror with selfmade frame

      @kruemel
      thanks… no need to take pictures…
      I’m just wondering why my sensor is no working trough the glass wood combination (Mirropane Chrome Spy 4mm + plywood 5mm)

      Anyway, I found another way to mount it almost invisible.

      posted in Show your Mirror
      O
      onkelbobby
    • 1 / 1