Read the statement by Michael Teeuw here.
Serial Comunication with Arduino
-
@s-monti-74 I think u will have to create your own module
-
How did u implement the pi side? Python?
-
@sdetweil
mmmmmm… I’m using some MMM modules installed on my mirror, hoping that there is a module like MMM-ArduPort that I can use for my purpose
:flushed_face: -
@s-monti-74 wht do you want to do with the rfid tag value? besides display it? use it as a profile id?
-
Yes I want’t su use the tags as a profile ID and manage modules with MMM-ProfileSwitcher.
so all the members of my family (each in possession of his tag), can have custom modules
thank you very much for your advices
-
@s-monti-74 said in Serial Comunication with Arduino:
MMM-ProfileSwitcher
so, you would lookup the profile name from the rfid tag, and send a messge for that profile
from the MMM-ProfileSwitcher readme
this.sendNotification('CURRENT_PROFILE', 'DESIRED_PROFILE_NAME_HERE');
-
@s-monti-74 so, once again, what code running on the pi gets the rfid value?
python script or ???
-
no code runs on the pi to get the value, the value is read from arduino from the tag and arduino sends the value to the pi via serial. i don’t know which module of magic mirror I have to use to read that value and use it as a notification to switch the profile with MMM-ProfileSwitcher
-
ok, got it… you don’t KNOW if you got it in the pi yet…
this module should work for you
https://github.com/Tom-Hirschberger/MMM-Serial-Notifications
-
thanks a lot sdetweil