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

    Posts

    Recent Best Controversial
    • RE: MMM-NetworkScanner

      @bminer1 said in MMM-NetworkScanner:

      Does anyone have issues with the “occupied” and “vacant” part working?

      Ah, nice: Is this doing, what I suspect it’s doing? ;)
      occupiedCMD: Notification to be sent when a resident returnes home e.g. {notification: ‘REMOTE_ACTION’, payload: {action: ‘MONITORON’}} would turn the mirror on when a resedent returnes home.

      What does “returnes home” mean: Changing from “offline” to “online”: trigger the action (vice versa for vacantCMD). It does only trigger once? Would it be possible to call an external URL with this? - and then: does it trigger if any resident leaves or can I specify which resident leaves?

      posted in Utilities
      binderthB
      binderth
    • [MMM-NetworkScanner] disable logging

      I’m running MM in pm2 and therefore get mm-out.x.log files. Is there a way to disable the logging for MMM-NetworkScanner? Would be nice to have a trigger for logging.

      as I configured 30sec. interval I get this every 30sec! ;)

      MMM-NetworkScanner received SCAN_NETWORK
      MMM-NetworkScanner is scanning for mac addresses
      MMM-NetworkScanner is scanning for ip addresses [ { ipAddress: '192.168.xx.xx,
          name: 'S.',
          icon: 'mobile',
          online: false },
        { ipAddress: '192.168.xx.xx,
          name: 'A.',
          icon: 'mobile',
          online: false },
        { ipAddress: '192.168.xx.xx,
          name: 'T.',
          icon: 'mobile',
          online: true,
          lastSeen: '2017-02-17T12:44:27.577Z' },
        { ipAddress: '192.168.xx.xx,
          name: 'D.',
          icon: 'mobile',
          online: true,
          lastSeen: '2017-02-17T12:44:27.578Z' } ]
      
      posted in Troubleshooting
      binderthB
      binderth
    • MMM-openhabfloorplan: Updates don't show up

      I’m using @paphko’s MMM-openhabfloorplan, configured it in config.js as described, but the item values don’t update afterwards.
      I just left the floorplan.png as is and changed the item names to match the names in OH2:
      0_1487154139835_upload-a681fae8-2be2-45e9-9d9f-ede8eff7294b

      If I update the items in MM with http://192.168.xx.xx:8080/openhab/?item=RTR_EG_WoZi_actualTemp&state=24 I get back:
      {"status":"success","payload":{"item":"RTR_EG_WoZi_actualTemp","state":"24","timestamp":"2017-02-15T10:23:17.519Z"}}
      But as you can see in the screenshot, it’s still not updated there. Did I miss something?

      my config.js:

      		{
      			module: 'mmm-openhabfloorplan',
      			position: 'bottom_left', // this can be any of the regions
      			config: {
      				updateInterval: 60 * 60 * 1000, // refreshing all windows / lights / labels once per hour; 0 to disable periodic update
      				draft: true, // if true, all lights, windows, and label names are shown; if false, get states from openhab
      				openhab: {
      					url: "http://192.168.xx.xx:8080", // must not have a trailing slash!
      					// user: "", // only if you have authentication enabled
      					// password: "", // only if you have authentication enabled
      				},
      				floorplan: {
      					image: "floorplan-default.png", // image in subfolder 'images'; change to floorplan.png to avoid git repository changes
      					width: 400, // this must be the width of the image above
      					height: 333, // this must be the height of the image above
      				},
      				// light: { // this part shows default settings for lights; may optionally be overwritten
      				//  image: "light.png", // located in subfolder 'images'
      				//  width: 19, // image width
      				//  height: 19, // image height
      				// },
      				// window: { // this part shows default settings for windows; may optionally be overwritten
      				//  defaultColor: "red", // css format, i.e. color names or color codes
      				// },
      				// label: { // this part shows default settings for labels; may optionally be overwritten
      				//  defaultColor: "grey", // css format
      				//  defaultSize: "medium", // value of font-size style, e.g. xx-small, small, medium, large, x-large, 1.2em, 20px
      				// },
      				lights: { // list all light items to be shown (must be of openhab type Switch or Dimmer)
      					// format: "openhab item (name is case-sensitive!): { left, top }"
      					Light_EG_WoZi_LG1:      { left: 80,  top: 110 },
      					Light_EG_WoZi_LG2:    { left: 80,  top: 240 },
      					Light_EG_WoZi_LG3:      { left: 310, top: 5 },
      					Light_EG_WoZi_LG4:     { left: 70,  top: 5 },
      					Light_EG_Flur_Ceiling:  { left: 238, top: 310 },
      					Light_EG_Windfang_Ceiling:  { left: 40,  top: 310 },
      					Light_EG_WC_Ceiling: { left: 340, top: 310 },
      					Light_EG_Kueche_Ceiling:     { left: 280, top: 110 },
      					Light_EG_WoZi_WandEss:       { left: 210, top: 220 },
      				},
      				windows: { // list all window / door contacts to be shown (must be of openhab type Switch or Contact)
      					// openhab item: left, top, radius (draws quadrant), midPoint, and optionally counterwindow and color
      					Reed_Door:           { left: 232, top: 289, radius: 32, midPoint: "bottom-right", color: "orange" },
      					Reed_Entry:          { left: 188, top: 298, radius: 23, midPoint: "bottom-left" },
      					Reed_Living:         { left: 12,  top: 106, radius: 29, midPoint: "top-left", counterwindow: "vertical" },
      					Reed_Dining_right:   { left: 170, top: 12,  radius: 29, midPoint: "top-left", counterwindow: "horizontal" },
      					Reed_Dining_left:    { left: 141, top: 12,  radius: 29, midPoint: "top-left" },
      					Reed_Kitchen:        { left: 283, top: 44,  radius: 30, midPoint: "top-right", color: "orange" },
      					Reed_Utility:        { left: 359, top: 180, radius: 29, midPoint: "bottom-right" },
      					Reed_Sleeping_right: { left: 12,  top: 231, radius: 30, midPoint: "top-left" },
      					// openhab item: left, top, width, height (draws rectangle), and optionally color
      					Reed_Sleeping_left:  { left: 90,  top: 301, width: 37, height: 20 },
      					Reed_Bath:           { left: 275, top: 301, width: 37, height: 20 },
      				},
      				labels: { // list all strings to be shown (may probably be any openhab type, resonable for String and Number)
      					// openhab item: left, top, and optionally color, font size, prefix, postfix, and number of decimals for floating numbers
      					RTR_EG_WoZi_actualTemp:         { left: 22,  top: 72,  decimals: 1 },
      					RTR_OG_Schlafen_actualTemp:   { left: 200, top: 25,  color: "white", size: "x-small" },
      					RTR_OG_Bad_actualTemp:    { left: 135, top: 25,  color: "white", size: "x-small" },
      					RTR_OG_KiZiOst_actualTemp:        { left: 345, top: 220, color: "green", decimals: 2 },
      					RTR_OG_KiZiWest_actualTemp: { left: 22,  top: 242, prefix: "outside: ", postfix: "°C" },
      				}
      			}
      		},
      
      posted in Troubleshooting
      binderthB
      binderth
    • RE: ALERT: setting the display time individually

      @strawberry-3.141 said in ALERT: setting the display time individually:

      if you want to set the duration you have to use an alert instead of notification:
      this.sendNotification(“SHOW_ALERT”, {timer: 10000, title: “Title”, message: “Message”});

      ok, that did it. The Alerts are now shown as given in the “timer”-argument.
      Nevertheless my usecase would be to have also multiple notifications staying on top like “washing machine ready” and “dryer ready” or something which needs some action done.

      So it would be nice to have either notification also displayed “on event” and not globally or to have notifications smoothed out, if the item action is done. As I can see, the alert-module doesn’t allow fading the notifications on a action?

      posted in Troubleshooting
      binderthB
      binderth
    • Module for Items to update via Websocket

      I’m looking for something like MMM-Syslog, a module, where I can setup items, which can then be updated via Websocket. I’m not a developer, so I can’t make it my own, but it should do something like this:

      1. adding items like Text, Number, Boolean
      2. giving them names and Icons
      3. updating them via Web-URL or whatever: analog to MMM-syslog syntax: http://MIRROR_IP:MIRROR_PORT/syslog?item=ITEM_NAME&value=ITEM_VALUE

      Use Case is to send updates of my smarthome-items to show up in the MagicMirror. I’m thinking of some states (Text), Temperatures (Number) or states of e.g. open Windows or whatever (Boolean).

      posted in Requests
      binderthB
      binderth
    • ALERT: setting the display time individually

      If there’s a alert, I’d like to be able to tell how long the alert should stay. At present I understand this is a global variable in the config.js (display_time). It would be nice, if this global variable could be overwritten, if I call the function.
      I tried:
      this.sendNotification("SHOW_ALERT", {type: "notification", display_time: "10000", title: "Title", message: "Message"});

      But still, the global display_time was used. Did I miss something?

      posted in Troubleshooting
      binderthB
      binderth
    • RE: MMM-Swipe: deprecated WARNINGS plus ERROR

      @mochman ok. thanks for the update.

      Does anyone know: Is there some “newer” gesture-module for the MagicMirror?

      posted in Troubleshooting
      binderthB
      binderth
    • MMM-Swipe: deprecated WARNINGS plus ERROR

      Hi there,

      first of all: Do I understand it correctly, that there’s two HC-SR04 sensors neede? one for left and one for right?
      If so (which I imagine), please make the readme in github a bit more clear on this. Took me a few thoughts on how to figure “right” and “left” pins. If you’re not familiar with those sensors, you’re a bit confused… ;)

      after cloning the repo to modules and npm install I get the following warnings:

      pi@MagicMirror:~/MagicMirror/modules/MMM-Swipe $ npm install
      npm WARN deprecated math-statistics@1.2.0: THIS PROJECT IS NO LONGER MAINTAINED by clebert
      npm WARN deprecated typesystem@5.0.0: THIS PROJECT IS NO LONGER MAINTAINED by clebert
      npm WARN deprecated expressive-assertion@1.5.1: THIS PROJECT IS NO LONGER MAINTAINED by clebert
      

      Don’t know, if that’s the cause for the following errors on startup:

      pi@MagicMirror:~/MagicMirror $ DISPLAY=:0 npm restart &
      [1] 1171
      
      > magicmirror@2.1.0 start /home/pi/MagicMirror
      > electron js/electron.js
      
      Starting MagicMirror: v2.1.0
      Loading config ...
      Loading module helpers ...
      No helper found for module: MMM-Globe.
      Initializing new module helper ...
      WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'mmm-usonic'
      Loading module helpers ...
      No helper found for module: MMM-Globe.
      Initializing new module helper ...
      App threw an error during load
      Error: Cannot find module 'mmm-usonic'
          at Module._resolveFilename (module.js:455:15)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._load (module.js:403:25)
          at Module.require (module.js:483:17)
          at require (internal/module.js:20:19)
          at Object. (/home/pi/MagicMirror/modules/MMM-Swipe/node_helper.js:11:16)
          at Module._compile (module.js:556:32)
          at Object.Module._extensions..js (module.js:565:10)
          at Module.load (module.js:473:32)
          at tryModuleLoad (module.js:432:12)
      Whoops! There was an uncaught exception...
      { Error: Cannot find module 'mmm-usonic'
          at Module._resolveFilename (module.js:455:15)
          at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
          at Function.Module._load (module.js:403:25)
          at Module.require (module.js:483:17)
          at require (internal/module.js:20:19)
          at Object. (/home/pi/MagicMirror/modules/MMM-Swipe/node_helper.js:11:16)
          at Module._compile (module.js:556:32)
          at Object.Module._extensions..js (module.js:565:10)
          at Module.load (module.js:473:32)
          at tryModuleLoad (module.js:432:12) code: 'MODULE_NOT_FOUND' }
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      Launching application.
      

      it seems, the dependency to mmm-usonic wasn’t solved, I don’t see this module anywhere on my pi…

      Thanks for help!
      Thomas.

      posted in Troubleshooting
      binderthB
      binderth
    • RE: Deutsche Bahn Delay

      I also wanted to have a module like this displaying the actual delays for my trains to catch.
      What seems like the only solution would be to scrape the URL from above (http://mobil.bahn.de/bin/query.exe/dox?S=8000318&Z=8003395&start=1&rt=1), but without the time attribut. Just cut out the interesting part and put it in a module.

      0_1485940466832_upload-e6483a51-1f22-4011-9157-f23631abd823

      seems doable, but i don’t have the JS-Background, I’m afraid.

      posted in Requests
      binderthB
      binderth
    • RE: MMM-Globe

      @chrisfoerg Looks great! but if I understand it correctly, there’s no live-feed at the moment?

      posted in Utilities
      binderthB
      binderth
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 5 / 8