nischi / MMM-Face-Reco-DNN

Face recognition with opencv and deep neural network
MIT License
91 stars 46 forks source link

welcome message #32

Closed markusloe123 closed 4 years ago

markusloe123 commented 4 years ago

Not really an issue, more of a question: is it possible to change the alert message itself? Like, if I send an Alert via MMM-Remote-Control, it pops up in the center, and kinda hide the other modules. If someone could tell me how to approach, I´d be more than happy :D Thanks in advance, great module btw!

nischi commented 4 years ago

@markusloe123 The message itself is fix in the module. But the send the message to the default alert module. So you can place it where you want. What you wanna change?

markusloe123 commented 4 years ago

Like, telegram bot is using the same alert function i guess, and I would like to have the same position of the alert (in the center) and the same function (hiding the other modules) in the FaceReco module. idk if this info is helpful enough :D

nischi commented 4 years ago

Can you send me the module link? so i can check what you exactly mean.

markusloe123 commented 4 years ago

sure : https://github.com/eouia/MMM-TelegramBot

nischi commented 4 years ago

Yes that's using the same alert module. So it should show the alert message on the same place.

markusloe123 commented 4 years ago

you absolutely right, im an idiot sorry mate, i mean the remote-control module, not the telegram-bot 🤦🏻‍♂️

nischi commented 4 years ago

also this module use the same alert module. maybe you need to send me some pics if i do not understand.

Here you see the same code as on my module

if (notification === "SHOW_ALERT") {
     this.sendNotification(notification, payload);
}
markusloe123 commented 4 years ago

sure

face reco alert remote alert
markusloe123 commented 4 years ago

sorry for the bad quality, but i hope you now know what i mean, the message below i sent with my phone, but i´d actually love to have your module welcomes me like that!

nischi commented 4 years ago

I do not understand 100% how the remote control module send the alert notification. But for me it looks like they send it the same way then i do. But maybe you can style the alert message like this and do it to the same position. I do not think it make sense that i send something to the remote control module. i do not want this dependency.