Read the statement by Michael Teeuw here.
Possible Error in My Code?
-
@Mykle1 Yes, but the module site has them inside of brackets instead of quatations, does that vary between developers formatting?
-
I’m not familiar with this module. Try it as shown in the README. Try it without the brackets shown. Try it with quotes and without.
There are also some differences between your entry and this entry from the module site, as you call it. Can you see them? Correct them and try again. :-)
{ module: 'MMM-fitbit', position: 'top_center', config: [ credentials: { client_id: , client_secret: , }, resources: [ 'steps', 'floors', 'caloriesOut', 'distance', 'activeMinutes', 'sleep', 'heart' ], update_interval: 60 ] },
-
config: []
???
Usually config field is not array. So I think{}
is right. -
@Sean
Haha Sean, I was testing @Wiltify to see if he could notice the difference between his post and the entry from the README. I didn’t even notice the
[]
. Good catch! -
@Mykle1 @Sean Ha, I got so sucked up into adding modules I forgot to reply. Thanks Sean for pointing that out, I ran a command, which I can’t remember but it ended with "Config:check: and looks for errors, and it pointed out out the brackets so I changed those as well as something else. Mykle, thanks for pushing me to learn :) Already a huge fan of this community.
-
@Wiltify said in Possible Error in My Code?:
Mykle, thanks for pushing me to learn :) Already a huge fan of this community.
Ahh, you’re welcome, mate.