MMM-Face-Reco-DNN icon indicating copy to clipboard operation
MMM-Face-Reco-DNN copied to clipboard

GPIO

Open grssll opened this issue 1 year ago • 1 comments

Hi, Just wondering if its possible to add configuration of GPIO high/low when face is recognized by the module. High when known face recognized and low when timer expires. It will be good to control external lighting for example. Thank you

grssll avatar Feb 11 '24 05:02 grssll

Hi @grssll Thanks for your request. I think it make no sense to add this into this Module. But what this module is providing are some Notifications. The Magic Mirror has a notification (eventing) system where you as a module can send messages and other module can listen to them. My Module send following messsages:

USERS_LOGIN USERS_LOGOUT

So if you find a module which can listen to some messages and control the GPIO, i think you can do what you want :)

Kind Regards

nischi avatar Feb 13 '24 05:02 nischi