Good day all hope everyone and their families are keeping safe and SANE in these times. Since we all have so much down time I figured Id tackle my magic mirror project that I have slowly been putting together and I have it about 75% complete; I have hit a wall tho… I cannot seem to get my Lorex Cameras to display in any module on my MMM. My ultimate goal is to have all my modules viable at all times (PIR On/OFF Display) and then when I hit/press a hidden switch my camera hub would pop up so that I can view my security cameras and then timeout and disappear again.
If anyone could lend any assistance with a module that I should be using for my cameras or any sort of workaround please let me know and your help is greatly appreciated.
@Ultimatum22 hey there went to do the most current update and ran into the same issue with the vendor/package-lock.json package so I ran the removal script as stated below and it worked and now my pi is updated… I remember you brought up that I should have that package in a gitignore file how do I move it over?
@kumartrd Have a look at MMM-PIR-Sensor. You can customize it to suit your requirements. It normally triggers turning the monitor on, and sets a timer to turn the monitor off. Instead, you want to use button actions/notifications to do both, and not use a timer. Instead you can reuse the wake code for sleep. You’ll also need to add a logic test that a button press while asleep wakes, while a button press while awake sleeps. Have a look at this thread for a very thorough explanation.