MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. hedmik
    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 2
    • Posts 18
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror

      @sdetweil my code looks like this, perhaps it’s a need for an update…?
      13b91156-d6b8-4c1a-b2ee-af3f8fc767bc-image.png

      posted in Utilities
      hedmikH
      hedmik
    • RE: MMM-HomeAssistant-Sensors (Development) - Show your HA Sensors on your Mirror

      @snille Hi, trying to use this module but getting below error.
      I followed your instructions i hope :-)
      [07.01.2022 17:10.13.062] [ERROR] (node:30547) UnhandledPromiseRejectionWarning: TypeError: Cannot read properties of undefined (reading ‘body’)
      at /home/pi/MagicMirror/modules/MMM-homeassistant-sensors/node_helper.js:40:83
      at runMicrotasks ()
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      [07.01.2022 17:10.13.067] [ERROR] (node:30547) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 46)

      posted in Utilities
      hedmikH
      hedmik
    • RE: electron-rebuild and MagicMirror v2.18 (and more)

      Wow, thanks for sharing this!!!
      Now, I’m back on track again :-)

      posted in Development
      hedmikH
      hedmik
    • Temperature and/or last motion from Philips Hue motion sensor?

      Hi,

      I’m using mmm-hue-lights and want to display temperature and/or the last motion from a Philips Hue motion sensor (indoor and outdoor).
      Anyone added that feature…?

      /Mikael

      posted in Development
      hedmikH
      hedmik
    • RE: My first two mirrors made with privacy film vs acrylic one

      @jorgnyg i’ve tried to upload again but still not working :-(

      posted in Show your Mirror
      hedmikH
      hedmik
    • RE: UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

      @devmil Hi Michael, i’ve been testing with d-c-fix mirror-effect privacy film and acrylic oneway mirror and both is interfering the PIR sensor so i had to put in a small box above the frame. Not a fancy design though…
      For the acrylic i have spare place beneath the screen so i drilled a hole.
      For the upcoming bath mirror i’ve ordered a Pilkington MirrorView. Don’t know yet if it will work with the sensor behind that glass though…otherwise i’ll put in a separate place/box. Hard to drill the glass and wouldn’t dare trying :-|

      posted in Tutorials
      hedmikH
      hedmik
    • RE: UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

      @sdetweil :rolling_on_the_floor_laughing:
      Yes, i’ve built two mirrors and now working on my third bathroom mirror and with x number of files open in Notepad++ it’s getting messy…and even if you can see the file name and it’s location (host name) you end up editing elsewhere :dizzy_face:

      posted in Tutorials
      hedmikH
      hedmik
    • RE: UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

      @hedmik sorry, my bad, i was editing config in another pi…
      Now it’s working now as it should :-)

      posted in Tutorials
      hedmikH
      hedmik
    • RE: UPDATE: Replaced my PIR-Sensor with a Doppler Microwave Sensor.

      More or less the same problem for me…
      I’m using a velleman VMA314 connected to GPIO pin 11 (BCM GPIO 17) and module MMM-PIR-Sensor.
      I’ve updated wiringPi for Pi 4 (wiringPi updated to 2.52 for the Raspberry Pi 4B)
      I see that state changes using “gpio readall” but nothing happens…or to start with, connected screen does not even turn off after time set in config:

      		{
      			module: 'MMM-PIR-Sensor',
      			config: {
      			// See 'Configuration options' for more information.
      				sensorPin: 17, // The pin (BCM numbering, NOT pin number itself) your PIR-sensor is connected to.
      				powerSaving: true, // Should the monitor be turned off if no user is present? (via HDMI or relay)
      				powerSavingDelay: 5, // Additional software side delay (in seconds) before the monitor will be turned off.
      				powerSavingNotification: true, // To display a notification before to switch screen off
      				powerSavingMessage: "Skärmen stängs av på grund av inaktivitet..." // Message notification to display before to switch screen off
      				
      			}
      		},
      
      posted in Tutorials
      hedmikH
      hedmik
    • RE: Unable to determine reason for MM/electron decaying/dying/hanging

      @sdetweil Hi again, and i’m very grateful for you helping me out :-)
      Yes, i have both the standard and also a custom compliments module and by turning that custome module off MM is still running since one hour!!!
      I’m so happy back on track again (cross my fingers) :-)
      I will now focus on enhancing MMM-Telldus and MMM-Vastrafik modules.
      I’ve also seen nice enhancements made for Weather forcast module (more descriptive text and translated to Swedish). Hope to get those enhancements otherwise i’ll do it mysfelf.
      I’m also planning to develop a module for Engage (showing electricity consumption within the household).
      Once again, big thanks!

      posted in Bug Hunt
      hedmikH
      hedmik
    • RE: Unable to determine reason for MM/electron decaying/dying/hanging

      @sdetweil I have lot of free memory, no swap at all what i can see :-)
      But i found theese errors in the console (maybe hard to tell why…):

      • Refused to apply style from ‘http://raspberrypi4:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
      • loader.js:203 Error on loading stylesheet: css/custom.css
        stylesheet.onerror @ loader.js:203
      • TypeError: Cannot read property ‘split’ of undefined
        at Class.getDom (compliments.js:176)
        at main.js:112
        at new Promise ()
        at updateDom (main.js:111)
        at main.js:55
        at Array.forEach ()
        at createDomObjects (main.js:24)
        at Object.modulesStarted (main.js:476)
        at startModules (loader.js:59)
        at loader.js:40
      • Failed to load resource: the server responded with a status of 401 (Unauthorized)
      • Refused to apply style from ‘http://raspberrypi4:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
      posted in Bug Hunt
      hedmikH
      hedmik
    • RE: Unable to determine reason for MM/electron decaying/dying/hanging

      @sdetweil thanks for reaching out!
      I’ve made the change you proposed but MM hangs again :-(
      What i can see from MagicMirror-error.log is this:

      [21:32:49.843] [ERROR] (node:6386) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.

      Below the MagicMirror-out.log:

      magicmirror@2.10.0 start /home/pi/MagicMirror
      ./run-start.sh

      [21:32:45.141] [LOG] Starting MagicMirror: v2.10.0
      [21:32:45.149] [LOG] Loading config …
      [21:32:45.155] [LOG] Loading module helpers …
      [21:32:45.157] [LOG] No helper found for module: alert.
      [21:32:45.196] [LOG] Initializing new module helper …
      [21:32:45.197] [LOG] Module helper loaded: updatenotification
      [21:32:45.198] [LOG] No helper found for module: clock.
      [21:32:45.566] [LOG] Initializing new module helper …
      [21:32:45.567] [LOG] Module helper loaded: MMM-SystemStats
      [21:32:45.626] [LOG] Initializing new module helper …
      [21:32:45.626] [LOG] Module helper loaded: MMM-Remote-Control
      [21:32:46.275] [LOG] Initializing new module helper …
      [21:32:46.277] [LOG] Module helper loaded: MMM-Vasttrafik-PublicTransport
      [21:32:46.278] [LOG] No helper found for module: currentweather.
      [21:32:46.278] [LOG] No helper found for module: weatherforecast.
      [21:32:46.305] [LOG] Initializing new module helper …
      [21:32:46.305] [LOG] Module helper loaded: MMM-telldusLive
      [21:32:46.733] [LOG] Initializing new module helper …
      [21:32:46.734] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify
      [21:32:46.737] [LOG] Initializing new module helper …
      [21:32:46.737] [LOG] Module helper loaded: MMM-SolarEdge
      [21:32:46.738] [LOG] No helper found for module: compliments.
      [21:32:46.738] [LOG] All module helpers loaded.
      [21:32:46.739] [LOG] Starting server on port 8080 …
      [21:32:46.745] [INFO] You’re using a full whitelist configuration to allow for all IPs
      [21:32:46.753] [LOG] Server started …
      [21:32:46.754] [LOG] Connecting socket for: updatenotification
      [21:32:46.755] [LOG] Connecting socket for: MMM-SystemStats
      [21:32:46.755] [LOG] Connecting socket for: MMM-Remote-Control
      [21:32:46.756] [LOG] Starting node helper for: MMM-Remote-Control
      [21:32:46.763] [LOG] Connecting socket for: MMM-Vasttrafik-PublicTransport
      [21:32:46.776] [LOG] 21:32:46 MMM-Vasttrafik-PublicTransport: Starting helper: MMM-Vasttrafik-PublicTransport
      [21:32:46.777] [LOG] Connecting socket for: MMM-telldusLive
      [21:32:46.777] [LOG] Connecting socket for: MMM-NowPlayingOnSpotify
      [21:32:46.778] [LOG] Connecting socket for: MMM-SolarEdge
      [21:32:46.779] [LOG] Starting node helper: MMM-SolarEdge
      [21:32:46.779] [LOG] Sockets connected & modules started …
      [21:32:46.915] [LOG] Launching application.
      [21:32:49.759] [LOG] 21:32:49 MMM-Vasttrafik-PublicTransport: socketNotificationReceived
      [21:32:49.761] [LOG] 21:32:49 MMM-Vasttrafik-PublicTransport: CONFIG event received
      [21:32:49.780] [LOG] Telldus config received!
      [21:32:49.780] [LOG] Telldus sent fetch
      [21:32:49.834] [LOG] Notification: GET_SOLAR Payload: [object Object]
      [21:32:50.089] [LOG] Refreshed access token because it has expired. Expired at: 21:32:49 now is: 21:32:50
      [21:40:06.915] [LOG]

      posted in Bug Hunt
      hedmikH
      hedmik
    • RE: Unable to determine reason for MM/electron decaying/dying/hanging

      I have the same problem…MM runs a couple seconds up to minutes and hours…
      I’ve also tried to remove more or less everything from config file but with no success.
      I’m using one RP4 4GB and two RP4 2GB with the same config.
      What i’ve found out is that if i restart mm at the same time they almost die at the same time…could there be some kind of network/integration problem that is not taking care of errors making MM to die/hang?

      posted in Bug Hunt
      hedmikH
      hedmik
    • RE: My first two mirrors made with privacy film vs acrylic one

      @broberg Thanks :-) I’ll check that!

      posted in Show your Mirror
      hedmikH
      hedmik
    • My first two mirrors made with privacy film vs acrylic one

      Uploading images doesn’t work…sorry :-(

      My first two mirrors :-)
      The bigger one (to the left), an old Finlux TV with d-c-fix mirror-effect privacy film purchased from Hornbach. Not that satisfied with the “mirror-effect” and minor bubbles.

      The smaller one (to the right), a Dell monitor with acrylic oneway mirror purchased from Slöjddetaljer. Good mirror effect but only available in small/fixed sizes.
      Both running Raspberry PI 4 2GB.

      Now i’m planning for a bath mirror but i will probably use glass if i can purchase it for a reasonable amount of money…anyone in Sweden that can advice or hint me?

      posted in Show your Mirror
      hedmikH
      hedmik
    • RE: My hallway 27" MagicMirror! (Sweden)

      Very nice clean and matching design and crafts!!! I’ve just built my two first mirrors and i’m now also planning a bath mirror 🙂
      What kind of mirror (glas) did you use?

      posted in Show your Mirror
      hedmikH
      hedmik
    • RE: Bathroom Magic Mirror

      Very nice design and crafts!!! I’ve just built my two first mirrors and i’m now also planning a bath mirror :-)
      Thanks for sharing all detaild pictures as a guidance!

      posted in Show your Mirror
      hedmikH
      hedmik
    • 1 / 1