• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

[MMM-Serial-Notifications] Sends notications based on messages on serial interfaces

Scheduled Pinned Locked Moved Utilities
2 Posts 1 Posters 706 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    wishmaster270 Module Developer
    last edited by wishmaster270 Nov 24, 2023, 6:16 PM Mar 8, 2019, 4:26 PM

    Description:

    This module is based on the ideas of the module https://github.com/thobach/MMM-Gestures but uses a newer version of the “serialport” library. Because of this it does not need an additional webserver but connects directly to multiple, configurable serial ports. If an configured message is received on the configured serial port the configured notifications will be send to all modules.
    The repository also contains two Arudino examples (testet on UNO R3 and Mega 2560) which use APDS-9960 and HC-SR04 sensors to send messages.

    Download:

    MMM-Serial-Notifications
    [card:Tom-Hirschberger/MMM-Serial-Notifications]


    Example:

    Today (2020-03-29) i added a more complex example with all stuff needed (.ino, wireringplan, description, example configuration) which uses an APDS-9960 and three VL53L1X sensors to detect hand gestures and hand presence with an Arduino Nano v3. The results will be transmitted to the Raspberry via USB Serial Interface and trigger some notifications.

    Version 0.0.8

    • updated the postinstall script
    • fixed all issues reported by the new automatic module scanning script developed by @KristjanESPERANTO

    Version 0.0.7

    • changed the way electron-rebuild is called in the post-installation step to avoid problems if the electron version of the mirror changes

    Version 0.0.3

    • it is now possible to send different notifications based on profiles; the same sensor can trigger different things if different profiles are active

    Version 0.0.2

    • it is now possible to replace strings in the payload with strings based on the received serial message

    Version 0.0.1

    • it is possible to configure notifications for multiple serial consoles
    1 Reply Last reply Reply Quote 0
    • W Offline
      wishmaster270 Module Developer
      last edited by Apr 6, 2020, 1:19 PM

      I did a lot of work on the module the last days. I integrated a more complex (and more detailed) example with an APDS-9960 and different Laser sensors, support sending payload based containing strings of the messages and it is possible to send different notifications based on the same input message in different profiles (MMM-ProfileSwitcher)

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy