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