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

    Sjohn21

    @Sjohn21

    2
    Reputation
    1
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    Sjohn21 Unfollow Follow

    Best posts made by Sjohn21

    • MMM-GPIO-HANDLER - Handles GPIO inputs and outputs including PWM

      Description:

      While building my Mirror, I could not find a module that supports PWM (Pulse Width Modulation) and/or handles GPIO as a whole (input & output).
      The Mirror had LEDs and LED strips installed according to this instruction (with MOSFETs).
      Though the instructions do not mention PWM explicitly, the concept uses Software PWM.

      This module supports:

      • Both Hardware and Software PWM and some PWM effects, mostly optimized for LEDs. (Breath, Pulse, Flash, Fade-in, Fade-out).
      • On/off handling of outputs (1/0 state, not using PWM).
      • Input handling of buttons (short & long press), PIR, Other.

      The module sends a Notification if an input is changed, which can be used to start actions in other modules.
      The module starts output handling from defaults set or when a HANDLE_PWM or HANDLE_ON/OFF notification is received. Payload in notification sets the options.

      Structured tables with all options can be found in the readme

      Note

      For clarity I would like to state you will need (an)other module(s) to send notifications or to received notification do something with.

      I’m currently working on a dynamic menu (for my buttons) which this module will work with. I will add this here later.

      I post this here as other developers might benefit for the use with PWM, others might want to write a module to work with this module.

      I am open for comments or suggestions.

      Screenshots:

      There are no screenshots as this is a system module doing things in te background

      Download:

      Can be downloaded and installed according the instructions: https://github.com/Sjohn21/MMM-GPIO-HANDLER#Installation


      Changelog

      Version 2024-01-16

      • Initial release
      posted in System pwm gpio handler button buttons pir output
      S
      Sjohn21

    Latest posts made by Sjohn21

    • RE: Update forum topic

      @sdetweil Thanks for the swift answer.

      It seems that the showcase guidelines are outdated in that case? At least it would not make sense to add a changelog in the starting topic.

      posted in Forum
      S
      Sjohn21
    • Update forum topic

      Hi, could someone enlighten me?
      I’ve been lurking for quite some time now, but I’ve posted a new topic yesterday showing my first module here.
      I’ve followed the showcase guidelines, however it seems I cannot update my post anymore after one hour. I wanted to adjust some minor things and probably lateron update the changelog, but this does not seem possible anymore? Is that correct?

      Thanks in advance

      posted in Forum issue forum topic edit update
      S
      Sjohn21
    • MMM-GPIO-HANDLER - Handles GPIO inputs and outputs including PWM

      Description:

      While building my Mirror, I could not find a module that supports PWM (Pulse Width Modulation) and/or handles GPIO as a whole (input & output).
      The Mirror had LEDs and LED strips installed according to this instruction (with MOSFETs).
      Though the instructions do not mention PWM explicitly, the concept uses Software PWM.

      This module supports:

      • Both Hardware and Software PWM and some PWM effects, mostly optimized for LEDs. (Breath, Pulse, Flash, Fade-in, Fade-out).
      • On/off handling of outputs (1/0 state, not using PWM).
      • Input handling of buttons (short & long press), PIR, Other.

      The module sends a Notification if an input is changed, which can be used to start actions in other modules.
      The module starts output handling from defaults set or when a HANDLE_PWM or HANDLE_ON/OFF notification is received. Payload in notification sets the options.

      Structured tables with all options can be found in the readme

      Note

      For clarity I would like to state you will need (an)other module(s) to send notifications or to received notification do something with.

      I’m currently working on a dynamic menu (for my buttons) which this module will work with. I will add this here later.

      I post this here as other developers might benefit for the use with PWM, others might want to write a module to work with this module.

      I am open for comments or suggestions.

      Screenshots:

      There are no screenshots as this is a system module doing things in te background

      Download:

      Can be downloaded and installed according the instructions: https://github.com/Sjohn21/MMM-GPIO-HANDLER#Installation


      Changelog

      Version 2024-01-16

      • Initial release
      posted in System pwm gpio handler button buttons pir output
      S
      Sjohn21