Search found 38 matches

by TurboX
Tuesday 05 December 2023 20:07
Forum: MQTT Auto Discovery
Topic: Climate discovery with temperature_command_template
Replies: 0
Views: 6681

Climate discovery with temperature_command_template

Hello, I try to create a climate device using MQTT Auto Discovery. I have a issue using the "temperature_command_template". Indeed I need so publish on a topic using as example "temperature_command_template":"{{ 'S710='+ (value| string) }}". When I set a new temperture with the climate device under ...
by TurboX
Tuesday 01 August 2023 10:31
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

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 TurboX
Friday 28 July 2023 13:56
Forum: Utility
Topic: Enphase Envoy to MQTT with auto discovery
Replies: 4
Views: 1579

Re: Enphase Envoy to MQTT with auto discovery

Hi @waltervl And why not? I know that now it works but I am a Domoticz user since a very long time now, and I observe that depend on an integrated plugin is not the best (personnal feeling). To maintain plugin is not so easy, sometimes it's abandonned (like Zwave) or not updated (ex netatmo). I see ...
by TurboX
Friday 28 July 2023 11:22
Forum: Utility
Topic: Enphase Envoy to MQTT with auto discovery
Replies: 4
Views: 1579

Enphase Envoy to MQTT with auto discovery

Hello, I am working on a project which aims to provide Envoy data to MQTT broker with auto discovery feature. It starts from https://github.com/vk2him/Enphase-Envoy-mqtt-json , works with v7 version and stream values (refresh every second if you need). For the moment the code works using Home ...
by TurboX
Thursday 20 July 2023 13:20
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

by TurboX
Thursday 20 July 2023 9:02
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

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.
by TurboX
Tuesday 18 July 2023 11:06
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

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 TurboX
Thursday 29 June 2023 20:46
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

I removed the folder, git pull, imported the modified enphase file and make. I confirm your code works. Before you make the commit, is it possible for you to add a power device for production and consumption. It can be seen as a duplicated/useless sensor but with these power sensors, it calculate ...
by TurboX
Thursday 29 June 2023 16:19
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

Ok thanks.

I only need to remove the domoticz.sh file or the whole of the dev-domoticz folder?
by TurboX
Thursday 29 June 2023 8:26
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

Sorry, it was probably me the problem :lol: . I succeed to compile again.

It works but is it sure that the old domoticz.sh is erase and rewrited by the "make" command ? Or to be sure, it is better to restart from scratch (remove dev-domoticz folder)?
by TurboX
Wednesday 28 June 2023 18:01
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

I don't know if it's my paste the cause: <pre>[ 17%] <span style="color:#26A269">Building CXX object CMakeFiles/domoticz.dir/hardware/EnphaseAPI.cpp.o</span> <b>c++:</b> <span style="color:#C01C28"><b>fatal error: </b></span>Processus arrêté signal terminated program cc1plus compilation terminated. ...
by TurboX
Wednesday 28 June 2023 11:44
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

It definitely works with the modification.
Line: data from actual Domoticz plugin with 30s polling rate
Dash: data from Home Assistant plugin (polling rate not configurable)
Dot: data from modified Domoticz plugin with 30s polling rate
Screenshot_20230628-113725.png
Screenshot_20230628-113725.png (161.78 KiB) Viewed 21901 times
by TurboX
Wednesday 28 June 2023 9:38
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

Yes I confirm, I have 3 Enphase micro inverter (IQ7A) with 2 Current Transformer on total production and the other on the net consumption (from Enedis, my energy provider). My total consumption is the whole of energy consumed by the house (produced and imported). @gizmocuz I don't know why there is ...
by TurboX
Tuesday 27 June 2023 8:56
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

Hello @FireWizard,

Yes, you are right, I have the metered version.
I was thinking that only the Envoy S metered was able to measure production/consumption and report it.
by TurboX
Wednesday 21 June 2023 11:11
Forum: Other questions and discussions
Topic: ntfy[dot]sh : a new OpenSource system notification (Android/iOS)
Replies: 13
Views: 3053

Re: ntfy[dot]sh : a new OpenSource system notification (Android/iOS)

Hello, I use the @xhark script since some month now (with ntfy server installed on my NAS with docker) and I can confirm : a notification from the same sensor is faster with ntfy than domoticz android app & home assistant app. For a real time detection it's important. Moreover, the time integration ...
by TurboX
Wednesday 21 June 2023 7:53
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

Hello, My production.json: { "production":[ { "type":"inverters", "activeCount":3, "readingTime":1687238955, "wNow":23, "whLifetime":531878 }, { "type":"eim", "activeCount":1, "measurementType":"production", "readingTime":1687239239, "wNow":28.008, "whLifetime":514118.081, "varhLeadLifetime":2.012 ...
by TurboX
Tuesday 20 June 2023 13:19
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

Hello Gizmocuz,

Your production.json file is very light compare to mine. The plugin is based on your file?
I have read your link to compile by myself but this is too complicated for me (and require another raspberry).
by TurboX
Tuesday 20 June 2023 9:21
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

Hello, I am not coder but I read this on the source code on Github (line 578): Json::Value reading = root["production"][0]; int musage = reading["wNow"].asInt(); I guess it read wNow into production/0 (inverter type) and not production/1 (eim type). Right? If yes, my issue is here because under ...
by TurboX
Wednesday 14 June 2023 20:51
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

Hello @FireWizard and thank for your answer. I have read the discussion of your link. I still don't understand why I can't have the production every 60sec. The gateway produce the data and 60sec is fine to avoid too many request and then reboot. If the plugin read the production.json every 60sec, I ...
by TurboX
Wednesday 14 June 2023 8:53
Forum: Utility
Topic: enphase envoy with (HTTP) interface
Replies: 159
Views: 150952

Re: enphase envoy with (HTTP) interface

Hello, In the past, I have speak about watt production refresh interval issue (software D7). I have set 60sec of interval request into the domoticz pluging, in the log all is ok (refresh value every 60sec). The power consumption is well refresh every 60sec but not the power production (more 5-15min ...