Multiple EmonPi2 sync to emoncms.org

Hello all

I am working on setting up a pair of emonpi2 to monitor several different pieces of equipment in my shop. I am using the 3phase 12CT models with the 3 phase emonvs. (and a couple of the emonth(s) as well) I believe I have figured out the local part of the set up, however I am trying to sync both of the emonpi2 feeds and inputs to the emoncms.org site so that I can build a complete picture/dashboard of usage/etc for my whole shop - since I have 12 circuits monitored on each emonpi2 instance, syncing to emoncms.org seemed like the easiest way to combine the data sets and build the visualizations I am looking for.

Getting the first emonpi2 set up and synced was fairly easy. however once I setup the second emonpi2 to sync, I started having issues. I assume this is because both emonpi2 instances are
using the same “node” name (node id?) and that is causing the sync process to be confused.

periodically the inputs and process lists will get wiped out on one of the emonpi2 instances.

I am not sure how to show what the issue is or what logs/etc would be helpful.

This is a snapshot of the inputs for my second emonpi instance:

and here is what the first emonpi2 instance looks like currently:

before I setup sync on both instances, they both had similar looking configurations (different input names and feeds/processes ofcourse)

I’ve tried changing the nodename/id under the “devices” menu on the local emonpi2 instance(s) but all that appears to do is add an empty device - the orig “emonpi2” device with it’s inputs shows back up

Is there something I’m missing (obviously I’m missing something) or is it not possible to link multiple emonpi2 instances to the emoncms.org service?

Hello @Clint_Martin are you using the sync module Emoncms Sync Module — OpenEnergyMonitor 0.0.1 documentation or uploading via EmonHub?

You can either change the node names in emonhub and then upload that way or setup local feeds on each instance (with unique names for each node) and sync using the sync module…

I am using the sync module. All of my local feeds have unique names. How do I change the node names? every time I do, the new name ends up associated with no inputs.

When I attempt to rename the emonpi2 node/name on one of my instances, I get the following result in the inputs section:

I still have the original emonpi2 node, and I get a new empty node with the new name I tried to set

If you’re using the sync module there is no need to rename inputs… you should be able to setup the feeds on each emonPi2 and then use the sync module to upload these to the single emoncms.org account…

If you rename the node in emonhub you will need to reconfigure all of the input processing again to use the new node name and inputs…

after a bit of fiddling, I have found that the “Sync Inputs” option is what caused the issue. As long as I don’t click that button, the inputs and processes I have set up on each emonpi2 stay put, and the feed-sync(s) work properly.

Thank you for your assistance.

1 Like