Sjohn21 / MMM-GPIO-HANDLER

A Handler for GPIO Input and Output for Magic Mirror
MIT License
3 stars 0 forks source link

Weird big bar when starting MM #3

Open Tomsi05 opened 3 months ago

Tomsi05 commented 3 months ago

First of all, thank you for publishing that module. I've searched a long time to find it, but it seems to be exactly what I need.

I got a relais connected to Pin 11 (GPIO17) on my RaspberryPi 4. I only want it to toggle state after a notification. The problem is, when I start the MagicMirror, a weird bar appears in the middle and the background blurs (picture). When I delete the module part in config, it starts normally.

Do you have any idea what the problem is? Thanks a lot! WIN_20240801_19_34_45_Pro

here is my config, the GPIO-HANDLER part is at the bottom.

`/ Config Sample

/ DO NOT EDIT THE LINE BELOW / if (typeof module !== "undefined") { module.exports = config; } `

Tomsi05 commented 2 months ago

Any ideas? Would help me a lot

Sjohn21 commented 1 month ago

Apologies, for some reason I didn't get a notification! If you still need help, do you see anything in the logs? If so please post the log file

Kannix2005 commented 1 month ago

Hey, I have the same bar with the newest version of MM.

[2024-10-07 15:34:13.219] [LOG] MMM-GPIO-HANDLER: Registering output pin: 23 for Heater [2024-10-07 15:34:13.222] [LOG] MMM-GPIO-HANDLER: Registering output pin: 24 for Ledstrip warm [2024-10-07 15:34:13.223] [LOG] MMM-GPIO-HANDLER: Registering output pin: 25 for Ledstrip cool [2024-10-07 15:34:13.224] [LOG] MMM-GPIO-HANDLER: All pins in configuration are registered.

Everything gets registered successfully but the bar does not disappear.

image

Kannix2005 commented 1 month ago

Seems to be an alert: image

Sjohn21 commented 3 weeks ago

@Kannix2005. Which way do you start the magicmirror? using npm or pm2? Could you provide the config file and the complete logs?