Nothing to do with coding, I gave you a big clue. Here is a bigger one, have a 
look at what you tried that did not work:

$week($weeks_ago=2)($data_binding='SMA_binding').grid_energy.max.formatted

Now have a look at the tag syntax from the link I provided:

$period($data_binding=binding_name, 
$optional_ago=delta).statstype.aggregation[.optional_unit_conversion][.optional_formatting]

Do you notice a difference? How many sets of brackets () did you use and how 
many in the tag syntax ?

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e7d03d5f-6792-4cbe-9398-000213a9be4d%40googlegroups.com.

Reply via email to