Search found 33 matches

by Sebastiii
Sunday 06 August 2023 11:25
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Hello :) @gizmocuz I wasn't able to make Enphase native plugin working anymore, it seems to be related to how token is getting on Node-RED, like it was renewed all 15 seconds, it breaks something. Still I was able to look at production[0] or [1], and on metered version, I must use production[1] and ...
by Sebastiii
Thursday 03 August 2023 8:43
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Firstly, you are probably using a metered envoy. The negative values you see are actually a one-on-one copy from the envoy. It just reports this way. I also don't think there is anything wrong with this. Can you compile Domoticz yourself? Change the code a bit, find the following line in the ...
by Sebastiii
Tuesday 01 August 2023 20:01
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Why would you need this? The native hardware in Domoticz works correct and does even more ;) Hello, I have explained my point of view here https://www.domoticz.com/forum/viewtopic.php?p=305064#p305064 Moreover the stream can give positive and negative cumulative energy for each Current Transformer ...
by Sebastiii
Tuesday 01 August 2023 14:49
Forum: Utility
Topic: Enphase Envoy to MQTT with auto discovery
Replies: 4
Views: 1533

Re: Enphase Envoy to MQTT with auto discovery

Thanks for the link and the thread will read carefully 💪
by Sebastiii
Monday 31 July 2023 12:57
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Thank you @gizmocuz
I will surely do the testing in the week because I need to move a little and it will me force (in good way) kind of good motivation [emoji16]

Tapatalk
by Sebastiii
Monday 31 July 2023 12:09
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

@gizmocuz Yes, I'm using metered version, sorry to didn't saying it. On fact that would be great. Is to have some configure option depend of hardware owner configuration. Yes I'm able to compile not right now but I can test for sure and thanks. I will be back to you after testing can take time ...
by Sebastiii
Monday 31 July 2023 11:28
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

@Sebastiii, are you using firmware 7+? As this call was not working last time I checked: https://ENVOYIP/stream/meter Hi 👍 Yes but was working too with 5 firmware before, it seems to be specific with Envoy S metered version. Can you get information from URL (IVP)? https://ENVOYIP/ivp/meters/re ...
by Sebastiii
Monday 31 July 2023 3:45
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Hi,
Any news to take value from IVP url?
It works good from node red because counter doesn't decrease when value is negative from enphase envoy s.

And about an option to block decrease from a electric l'instant /counter) in computed mode?

Thanks
by Sebastiii
Thursday 27 July 2023 10:48
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Hello, I have tested another way from stream/meter URL with specific electric device (instant + counter) setup as "computed" like this, it doesn't rely on a counter, and we need that the data is always running. But, this type of "computed" device decrease when value are negative, is it possible to ...
by Sebastiii
Wednesday 26 July 2023 15:53
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Hello, So I'm trying to use NODE-RED to be able to see if I can get correct value and it seems yes : This is what I sent to device to MQTT to get correct counter : Using different address : https://ENVOYIP/ivp/meters/readings : Envoy/Meters/Prod : msg2.payload = {"command":"udevice","idx":2442 ...
by Sebastiii
Friday 21 July 2023 13:05
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Hello,

It seems that we have a solution, but this need to be coded on Domoticz !
To shame that I wasn't able to do it :(

https://community.home-assistant.io/t/e ... ach/594082
by Sebastiii
Thursday 20 July 2023 10:23
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Hello @Sebastiii I'm agree with you, the stream of the metered version seems to be an excellent option. Perhaps, the best is to have an independant plugin (docker) which could provide data to MQTT with auto discovery. Hello :) Yes this is already the case, it wasn't working anymore after last ...
by Sebastiii
Tuesday 18 July 2023 17:20
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

So I think the best way is to go with the URL : "http://envoy.local/stream/meter" for the metered version, like it will not use "whLifetime" and like this URL is auto-updated all seconds, the counter will be match the real values (Consumption, Production, and Net-Production). Edit : But with this ...
by Sebastiii
Tuesday 18 July 2023 15:40
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

I'm noob in code but trying something on my side and getting some value : Using this URL : "https://envoy.local/ivp/meters/readings" I'm getting Production and Net consumption from attached binary : 2023-07-18 15:30:45.514 Error: Enphase: 5925664 POSITIF mtotal 2023-07-18 15:30:46.075 Error: Enphase ...
by Sebastiii
Tuesday 18 July 2023 11:29
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

If yes, it is related to Envoy configuration, no? Or perhaps it miss another counter which count how much you export? It seems there is no other counter from JSON : { "production": [ { "type": "inverters", "activeCount": 10, "readingTime": 1689672307, "wNow": 1990, "whLifetime": 794245 }, { "type ...
by Sebastiii
Tuesday 18 July 2023 11:23
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Hello, You mean that the value of "whLifetime" into net-consumption decrease when you export to the grid? If yes, it is related to Envoy configuration, no? Or perhaps it miss another counter which count how much you export? Hello, I was able to compile Domoticz under a Ubuntu Hyper-V VM, so I can ...
by Sebastiii
Monday 17 July 2023 19:16
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

Weird, on Windows, I can't see error related to token, but plugin didn't work : 2023-07-17 19:13:49.499 Error: Enphase: Invalid data received! (production/json) 2023-07-17 19:13:58.136 Error: Enphase: Invalid data received! (production/json) 2023-07-17 19:14:06.795 Error: Enphase: Invalid data ...
by Sebastiii
Monday 17 July 2023 18:57
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

With my different testing code, I can't achieve it ! In older Domoticz 2021, it was working, I have looked at older code : void EnphaseAPI::parseNetConsumption(const Json::Value& root) { if (root["consumption"].empty() == true) { return; } if (root["consumption"][1].empty() == true) { _log.Log(LOG ...
by Sebastiii
Monday 17 July 2023 18:07
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

void EnphaseAPI::parseConsumption(const Json::Value& root) { if (root["consumption"].empty()) { return; } int iIndex = 2; for (const auto& itt : root["consumption"]) { int activeCount = itt["activeCount"].asInt(); if (activeCount == 0) continue; m_bHaveConsumption = true; std::string szName ...
by Sebastiii
Monday 17 July 2023 17:46
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 149357

Re: enphase envoy with (HTTP) interface

@gizmocuz, I have seen you change about the token, so I was able to confirm that on Windows, it works now, great work ;) Then, I'm able to try the above explained code to see if it does like I'm thinking :) Edit : about the token, it works but I'm still getting those message in log : 2023-07-17 17 ...