Read the statement by Michael Teeuw here.
Change Compliments
-
the thing is
{ module:"name", position:"...", config: { compliments: { } //< ---- this brace is missing } } get bitvise ssh client, then u can have a file manager view from windows and use notepad++ to edit and see the brace, paren and bracket matching
-
Forgive me for pursuing this, but I see an opportunity to really learn here. When I look at my code, I have closed all of my braces:
}, module: "compliments", position: "lower_third", config: { \\ open compliments: { \\open anytime: ["Hey there Emma!"], morning: ["Good morning, Emma!", "Enjoy your day!", "How was your sleep?"], afternoon: ["Hello, Emma!", "You look beautiful!", "Looking good today!"], evening: ["Wow, you look great!", "You look nice!", "Hi, Emma!"], "....-01-01": ["Happy new year!"] } \\close }, \\close module: "weather",
If I add another closing brace, won’t I have an error because there is no opening brace?
On the suggestion for bitvise ssh, I’m working directly off the pi itself. I would love to run the entire MM configuration in a vm until it is right and then simply copy that over to the pi, but that’s a bit beyond my knowledge level.
-
@cheapdad u are missing the open brace for the module block in this last picture (see my layout above)
if you use bitvise then u dont have to edit ON the pi keyboard…
also gives u an ssh window to execute commands, again NOT on the pi keyboardu can run raspian x86 in a vm on pc…
-
I think I figured it out and see where I needed a third closing brace. The weird thing is that Compliments seems to be the only module that doesn’t start with an opening brace, where all the others appear to. If I add an opening brace to it, I get an error. If I leave it out, it runs.
-
@cheapdad EVERY module MUST start with an opening brace…
ignore any typos you find somewhere else…
see my module diagram above
-
@sdetweil Got it.
-
@cheapdad I sent u a chat message