3 phase monitoring with solar

This has to be one for @TrystanLea to answer.

Autoconf is causing problems again/still. See
3 phase monitoring with solar - #4 by Beardmann and 3 phase monitoring with solar - #14 by Beardmann and 3 phase monitoring with solar - #15 by Beardmann

It’s beginning to look like a problem now :wink:
They are being generated even without a reboot… And I guess I will have to delete them while I still have control :slight_smile:

There seems to be an issue with the values… as my solar energy is increasing, the usage also seems to increase, which doesn’t make sense?

As you can see from the graph above the sun comes out in the morning and there seems to be an equal raise in the usage as well… which I can confirm there isn’t… one could think that this was some kind of aircon system, but no, nothing that uses this much power…

Here are the calculations going into the feeds… P1 is clamped on where we get the power from our supplier… the P2 is the solar power. P3 is the EV charger (not shown here)
Here they are in detail…

I add the two other phases, then remove any negative values, and logs this as import.

The two other solar phases are added, logged as solar, then the “import” values are added and logged as “use”…

This is how I found it described in the documentation… but why does the “use” increase with the solar? :slight_smile:

@TrystanLea was last on here 3 hours ago, so he should have seen the flag that “@mentioning” his name generated. I have no idea how the mechanism behind ‘autoconf’ works, except that I know it’s caused a lot of problems for some users in the past. I’ve seen a command to delete all these spurious nodes mentioned - it’s in the link below. But if you say they should never be created anyway, I must agree.

I don’t know if this might help: EmonHub autoconf and nodelistonly settings

I don’t know. What confused me initially was 'The two other solar phases are added, logged as solar, then the “import” values are added and logged as “use” – which is not what you are doing, you are adding solar and grid (P1 before you remove negative values), so P1 at this point should reduce by the amount of solar you are not using. Does this happen - can you log P1 before the ‘Allow positive’ to check?

Is P2 processed after P1 (so the P1 values that are used are not ‘old’, giving a timing problem)?

Apologies for the autoconf issue, I am aware that this is still an issue but have not got to the bottom of why it is happening yet. I would recommend turning autoconf off once you have configured the nodes as required.

You can clear nodes more easily with the following URL:

YOUR-IP/device/clean.json

and thanks @Robert.Wall for all of your help!

So I had even more devices today… (40+)… so I guess I will put this into a cronjob at run it once a day on the box it self… (curl http://127.0.0.1/device/clean.json) ?

Erhm… one “little” thing… your “clean.json” removes valid devices as well… so I now have one one of the three emontx3’s in my config :frowning: So I guess your script doesn’t work for me anyway…

Good thing I am at the initial setup and the feeds are behaving strangely anyway as described…

I tried to follow the Type 2 Configuration… so I don’t understand the raise in the usage as the solar raises?

What does the log of P1 tell you?

Well I don’t log that until now… (I have just added them all to a feed each) I will update this as the sun hopefully gets out tomorrow…

When we know what all three variables Grid, Solar and Use are doing, it might show whether it is a measuring problem (the data you are gathering is not what you think) or a problem with MySolar or how you are using it.

OK, here we go…

Thi is the graph…

Hmm L1 P1 looks a bit strange as it is posive when the other L2 an L3 are negative.
I guess they should be negative as the sun is out and we are exporting power…
Maybe I just need to swap the CT clamp on L1P1 ?

You need to check each line of P1 individually tonight when there is no solar, and you can be certain that all three phases are importing and make certain that all are showing as importing. Perhaps you should also check all three phases of P2 today while the sun is shining to be certain that they all show power in the correct direction. (I know - having found one problem, it is too easy to think it is the only problem. Check everything it is possible to check.)

Instead of the MySolar app, you might find it better to use Graphs in emonCMS for checking your c.t’s. You can have all 6 on the same graph, which will make it very easy to see what is happening on each phase and overall.

Apologies I forgot that another setting is needed to restrict nodes to node list only, This is covered in more detail in my post here EmonHub autoconf and nodelistonly settings

Another setting nodelistonly = 1 needs to be added to the SPI interfacer:

    [[SPI]]
        Type = EmonHubRFM69LPLInterfacer
        [[[init_settings]]]
            nodeid = 5
            networkID = 210
            resetPin = 24
            selPin = 16
        [[[runtimesettings]]]
            pubchannels = ToEmonCMS,
            nodelistonly = 1