
It Works except for the Total power because it tries to pull data from the second table and I don't know how to reference it.This works for CT tr:nth-child(3) > td:nth-child(2) but tr:nth-child(11) > td:nth-child(2) doesnt work for power
Hope this isn't to confusing :) Jeff

The msg.payload can contain either a comma separated list of name value pairs, e.g.
name:value,...
"
So in a new function you can now create the data you want e.g
msg.payload = "TotalPowerKW:"+msg.payload.summary.powerKWTota;
return msg;
and pass that on to the emoncms node.
So for Base URL I put "http://emoncms.org" and my api key....I can not get this to work , I get ERROR Node not deployed
it seems simple but I can't get it :(
Jeff
--
http://nodered.org
---
You received this message because you are subscribed to a topic in the Google Groups "Node-RED" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-red/k-9z5bzzjJA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The msg.payload can contain either a comma separated list of name value pairs, e.g.
name:value,...
"
It would be great to send all the data string at once. I'm assuming I have to break the long objects into two short objects name:value,....
That is were my skills fall short....just a bit of kick hopefully I can figure it all out. My first contribution to the NR IOT world :) .
When I try to break down the string the function node doesn't like me using numbers (Type":"PHASE_A_CONSUMPTION","Channel":1,"eImp_kWh":value) Channel:1
Here's hoping this makes sense :)
Jeff
The other tip i would have is to forget about emoncms at the moment.
Link the input node up to a debug node and change the debug node config from displaying msg.payload to displaying the path of a specific piece of data. When you can navigate around your data you can then write a full function node to do the format conversion.