MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. Eric_H
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 9
    • Best 1
    • Controversial 0
    • Groups 1

    Eric_H

    @Eric_H

    > 35 years of coding
    musician
    long-time Star Trek fan

    1
    Reputation
    7
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website github.com/eric-h-st Location Toronto, ON, Canada

    Eric_H Unfollow Follow
    Module Developer

    Best posts made by Eric_H

    • MMM-AmbientBrightnessDetection

      Brightness Detection and Auto-Brightness

      Please see a module that samples images from a webcam to calculate the ambient brightness of the light in the room, sends a matching notification with the light level in percentage, while also (optionally) sends a notification to the MMM-RemoteControl to adjust the brightness of the screen accordingly (using that module’s brightness range of 10-200).

      The module samples one image every predefined interval (defaults to 1 minute), and currently supports (and tested over) USB Webcams, while I plan to add support for the PI camera module, which I do not currently have handy, but soon.

      Hope you’d like it. It was born because the mirror was too bright for me at night, or too dim in the daylight, and I wanted to create auto-brightness.

      I’d appreciate your tests and comments!

      https://github.com/eric-h-st/MMM-AmbientBrightnessDetection

      Thank you!

      posted in Utilities
      Eric_H
      Eric_H

    Latest posts made by Eric_H

    • RE: MMM-AmbientBrightnessDetection

      UPDATE: Now supporting the PI camera, as well as configuring which camera to use, if not the default

      posted in Utilities
      Eric_H
      Eric_H
    • Blink Camera Integration- fetch and display snapshots and videos

      MMM-BlinkCameraIntegration

      Interfaces with the Blink home security cameras, displays snapshots and latest videos on the Magic Mirror.

      https://github.com/eric-h-st/MMM-BlinkCameraIntegration

      Next to be added:

      • Support periodic snapshots from the cameras
      • Support configuration of cameras and hubs

      (Screenshot won’t upload for some odd reason…)
      ![0_1596084738839_screenshot.jpg](Uploading 100%)

      posted in Utilities
      Eric_H
      Eric_H
    • RE: MMM-AmbientBrightnessDetection

      UPDATE:
      Now supporting displaying and animating brightness changes at the top of the screen.
      screenshot.png

      posted in Utilities
      Eric_H
      Eric_H
    • RE: MMM-AmbientBrightnessDetection

      @Eric_H said in MMM-AmbientBrightnessDetection:

      Next to be added:

      • Configurable factor to be added to the brightness level sent to MMM-RemoteControl, to make the brightness range more visible in extreme light/dark cases.

      • CEC support to change the actual brightness of the monitor, if supported.

      • PI camera module support

      ** Now also supported: **

      • Configurable factor to be added to the brightness level sent to MMM-RemoteControl, to make the brightness range more visible in extreme light/dark cases.
      posted in Utilities
      Eric_H
      Eric_H
    • RE: MMM-AmbientBrightnessDetection

      Next to be added:

      • Configurable factor to be added to the brightness level sent to MMM-RemoteControl, to make the brightness range more visible in extreme light/dark cases.

      • CEC support to change the actual brightness of the monitor, if supported.

      • PI camera module support

      posted in Utilities
      Eric_H
      Eric_H
    • RE: MMM-AmbientBrightnessDetection

      Thank you @sdetweil .

      • I control the brightness by sending a notification to the MMM-RemoteControl module (code already written and working, no reason to re-invent), found here.
      • Since the brightness is set programmatic ally via css in that module, I’m not sure how various monitors would react, but I tested on three here, including the one behind the mirror, and they seem to work quite the same.
      • I’m taking a single shot once every configurable interval, with a default of 60 seconds.

      Hope I answered all of your questions.

      Eric

      posted in Utilities
      Eric_H
      Eric_H
    • MMM-AmbientBrightnessDetection

      Brightness Detection and Auto-Brightness

      Please see a module that samples images from a webcam to calculate the ambient brightness of the light in the room, sends a matching notification with the light level in percentage, while also (optionally) sends a notification to the MMM-RemoteControl to adjust the brightness of the screen accordingly (using that module’s brightness range of 10-200).

      The module samples one image every predefined interval (defaults to 1 minute), and currently supports (and tested over) USB Webcams, while I plan to add support for the PI camera module, which I do not currently have handy, but soon.

      Hope you’d like it. It was born because the mirror was too bright for me at night, or too dim in the daylight, and I wanted to create auto-brightness.

      I’d appreciate your tests and comments!

      https://github.com/eric-h-st/MMM-AmbientBrightnessDetection

      Thank you!

      posted in Utilities
      Eric_H
      Eric_H
    • RE: Mirror not displaying any modules

      @BKeyport Thank you

      posted in Troubleshooting
      Eric_H
      Eric_H
    • RE: Mirror not displaying any modules

      Same here.
      @MichMich this started after I updated my Raspbian to the latest, and now getting this error that I cannot resolve:

      > node js/check_config.js
      
      [2020-07-23 17:51:02.700] [INFO]   Checking file...  /home/pi/MagicMirror/config/config.js
      [2020-07-23 17:51:03.283] [LOG]    Line 1 col 1 Definition for rule 'prettier/prettier' was not found.
      /home/pi/MagicMirror/js/check_config.js:66
                              throw new Error("Wrong syntax in config file!");
                              ^
      
      Error: Wrong syntax in config file!
          at /home/pi/MagicMirror/js/check_config.js:66:10
          at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
      

      I’d appreciate an advise.

      Thank you.

      posted in Troubleshooting
      Eric_H
      Eric_H