I prefer to do this at the IoTaWatt forum, but since it’s about the intersection of IoTaWatt and Emoncms, it might be helpful to leave some explanation here:
I’m assuming you are talking about defining outputs that you can see on you local status display and visualize in the locally served graph application. Those don’t get sent to Emoncms, but you can configure identical outputs to Emoncms (and/or influxDB).
If you configure basic emon service, IoTaWatt simply assumes you want to export all of the inputs. That works pretty well for single phase users, but three phase users typically want to aggregate the phases and track the total usage of devices. You can do that.
So the default looks like this:
Note the section labelled Emoncms inputs. These are IoTaWatt “outputs” (managed with the calculator) that will be sent in each frame at the interval that you specify. The numbers 1 to 15 are the “key” numbers that you will see in the Emoncms inputs display. Because of the protocol that is used to send bulk data to Emoncms, IoTaWatt must use the positional format to send the data and cannot send it using names.
So any of these can be deleted or changed, and you can add more to send up to 99 values to Emoncms. So to customize any of these inputs, simply click the edit button to the left of it and use the calculator to specify what you want
I put together this configuration as somewhat representative of what you described:
So now, by way of example, you might start changing those values being sent to Emoncms with the “calculator” editor:
So for the mains, we’ll send the total of the three as input key 2 to Emoncms.
The emoncms service now looks like this:
I’m going to delete the rest of the “preconfigured” nodes now before I build a new list.
Now I’ll add some of the other representative IoTaWatt outputs/Emoncms inputs
Now if you save this and start Emoncms posting, you will see 9 inputs active. You can delete the other old inputs greater than 9 to clean things up.
Once Emoncms receives tha first data packet, those inputs will have been crteated and you can use the Emoncms input screen to labelk them appropriately:
- misc (everything else)
You may choose to add others, but you have the idea. Now that these values are being posted to Emoncms, you can edit the inputs to create feeds by similar names, and to log power to KWh.
UPDATE: I made an error in number 9. I should have either not used parenthesis, or added the values inside the parenthesis: