I did some work on the module the last days.
An example how to use an PIR sensor is integrated now. Also a new delay option is included and the possibility to send different notifications for the same pin based on profiles
Read the statement by Michael Teeuw here.
Posts made by wishmaster270
-
RE: [MMM-GPIO-Notifications] Sends notifications based on GPIO events on multiple pins
-
RE: [MMM-Screen-Powersave-Notification] A module which (de)activates the screen based on delay and notifications
I did a lot of work to the module the last days. Now modules can be hidden / shown instead of turning off/on the display. Also a countdown can be displayed and the delay can be set by active profile (MMM-ProfileSwitcher)
-
MMM-ProfileControl
This is an Add-On module to MMM-ProfileSwitcher and is based on MMM-pages and MMM-page-indicator.
I wanted to be able to specify pages on my mirror but also be able to have different profiles on each page (i.e. i wanted an calendar page where either the events of my wife or my ones are displayed).
MMM-ProfileControl differs between horizontal profiles (pages) and vertical ones. If you do not specify different vertical profiles the vertical indicator can be hidden and the modules behavior is nearly the same as of MMM-pages.
The current profile can be changed with different notifications either to a specific horizontal or vertical one or you can iterate through them.
If you do not like the default icons of the indicators you can change them via configuration.
The module also keeps track of profile changes that happen through other modules (CHANGED_PROFILE notification).
Attention: At the moment there are problems with MMM-CalenderExt2. I am already in contact with eouia and i think i found an solution. In my personal setup i use an patched version that works fine.
Because i only send notifications to MMM-ProfileSwitcher modules that did not work without my module will not work with it.
Screenshots
Download
MMM-ProfileControl
[card:Tom-Hirschberger/MMM-ProfileControl]
Version 0.2.0
- added an option to send an USER_PRESENCE notification if the module triggers an profile change
- added option to hide the profile indicators during screensave mode
- removed reset of top margin of the module in css because it is not possible to override it if needed
- fixed all issues reported by the new automatic module scanning script developed by @KristjanESPERANTO
Version 0.1.0
- Horizontal and vertical profile support
- Indicator of the horizontal and vertical profile
- All icons (horizontal, vertical, separator) can be changed in the configuration
- Notifications to change either to a direct profile or rotate horizontal and vertical
-
RE: PIR Sensor
Hi,
great that you are interested in my module. I did not test ist for a while and currently have no working installation of MM.
Hopefully the answer of Sam helps you.
I will try to get my mirror running this week and will test the module. -
RE: Problem in using APDS-9960 Gesture Sensor with r-pi
Hi,
I asked me the same quastion a view weeks ago but could not find a library for the sensor that is still maintained. I ended up in buying a arduino board and send the signals via USB serial interface to the pi now.
-
RE: MMM-SpotifyControl . Control your Spotify music player using Mk2 assistant.
@ejay-ibm you are a genius and saved me a lot of time.
I had the same idea but no time to implement it.
Thank you very mich -
RE: [MMM-GPIO-Notifications] Sends notifications based on GPIO events on multiple pins
@AdnanAhmed97
Hi, i do not have any experience with keypads. A short research showed me, that the pads work with a polling mechanism. You need to check in a endless loop if two signals on different pins happend. In my opinion this is a bad job for the Pi. A better solution would be to do recognition work on a arduino board and only send the result (key x pressed) via serial interface to the Pi. -
RE: PIR Sensor
Hi, i do not now the script youbare using but i wrote two modules which do exactly what you like https://github.com/Tom-Hirschberger/MMM-Screen-Powersave-Notification and https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications
-
RE: HC-SR04 to play radio with MMM-RadioDe
Hi,
i wanted to suggest to use the https://github.com/Trekky12/MMM-ModuleToggle module in combination with in example my https://github.com/Tom-Hirschberger/MMM-Serial-Notifications module.
The problem is that the MMM-RadioDe does not work. There are open issues as from 2017.
I tried to do a quick fix but can’t get it run at the moment. -
RE: MMM-Volume
@ejay-ibm I will take a look as fast as i can. It is deffinitly a problem with the code i added
Edit: Added a pull request which should fix the issue