Read the statement by Michael Teeuw here.
MMM-ProfileSwitcher, A Profile/User/Layout Switching Module
-
@all I think the module is in a stable version for now. I might update the readme in the near future for the new compatability with MMM-Facial-Recognition.
I am curious if people would be interested in having the ability to have multiple profiles active. This could be fairly easily implemented, but I don’t know if anyone actually wants this feature. If you do please let me know and I will give it a go!
-
Apperantly the first link was broken, I added a bracket too much. Fixed now :)
-
Hi again, have the face recognition module and yours been “integrated” yet? I saw your pull request on there, but now it looks like it’s a conflict? I have modified per your instructions so that it works now, but I keep getting notifications about the face recognition module update… But i don’t dare to update. :)
Another matter… I sometimes get greetings and leave messages in german (I think?) even though I have defined my own.
And, is there a way to disable the title “Benutzer Profile” showing up above the message in the “popup” when you are greeted?Found it… :)My module conf:
{ module: "MMM-ProfileSwitcher", header: "Profile", config: { enterMessages: { "Snille Louise Martin": "Hej %profile%!", "Snille": ["Hoppas dagen varit bra!", "Ser man på, välkommen!"], "Louise": ["Kul i skolan idag?", "Kul att ses!"], "Martin": ["Kul att ses!", "Allt bra?"] }, leaveMessages: { "everyone": "Ses snart %person%!", "Snille": ["Hej då, jag kommer sakna dig...", true] } } },
Thank you for the great module!
Best regards Snille
-
@Snille about the facial recognition: @paviro would do some testing first and make sure everything works fine and then it’s still up to him to merge the pull request. About the conflict: yes I am aware that he changed his codebut forgot to update my pull request and I will update the line numbers aswell, thank you! I will let you know when I changed it.
About the German xD that’s really odd, do you have your global language settings on German? If you don’t it shouldn’t be German.
To disable the title set thealright :Dtitle
value of the module’s config to false. Like so:{ module: "MMM-ProfileSwitcher", header: "Profile", config: { title: false, enterMessages: { "Snille Louise Martin": "Hej %profile%!", "Snille": ["Hoppas dagen varit bra!", "Ser man på, välkommen!"], "Louise": ["Kul i skolan idag?", "Kul att ses!"], "Martin": ["Kul att ses!", "Allt bra?"] }, leaveMessages: { "everyone": "Ses snart %person%!", "Snille": ["Hej då, jag kommer sakna dig...", true] } } },
And I am really happy to hear that you are enjoying the module :)
-
@tosti007 Hehe, I just edited my post when you replied. Found the title thing… Sorry for not reading… :)
I have my language like so:ipWhitelist: [ "127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:10.0.0.1/120" ], language: "sv", modules: [
Seems to work with the clock at least (get the swedish names of the days. :)…
I just saw a “leave message” in german… I have to try to grab a screenshot… -
@Snille ah yea I don’t have Swedish translations (I only speak English, German and Dutch and that’s more than enough imo xD) and apparently it chooses German then instead.
Try settingincludeEveryoneMessages
tofalse
in the config. It shouldn’t show up then but if it doesn’t let me know. -
@tosti007 Here you go:
sv.json{ "leave": "Ses snart %profile%!", "enter": "Hej %profile%, trevligt att ses igen!", "title": "Användarprofil" }
:)
-
@Snille Thank you very much :) was about to ask :D
-
@tosti007 said in MMM-ProfileSwitcher, A Profile/User/Layout Switching Module:
I will update the line numbers aswell, thank you! I will let you know when I changed it.
@Snille Updated :) You have to remove only a few lines more and then it should work like before! Also added your translations :) thank you once more
-