Search found 31 matches

by mgerhard74
Sunday 15 September 2024 14:28
Forum: Show your projects
Topic: Energy Dashboard (Build in)
Replies: 315
Views: 52098

Re: Energy Dashboard (Build in)

Thank you for the energy-dashboard. Looks great (for start). Costs are always "0,00€"... maybe a configuration failure....
I displayed grid smartmeter, PV-production, PV battery data.
by mgerhard74
Friday 10 March 2023 13:04
Forum: LUA
Topic: Rest API JSON POST script needed
Replies: 17
Views: 3355

Re: Rest API JSON POST script needed

Add you script in Domoticz in Setup / more options / events. (+) Lua
Paste your script here. Save.
View Logs for Errors. The script update the sensor with the id of the script.
by mgerhard74
Wednesday 08 March 2023 18:39
Forum: LUA
Topic: Rest API JSON POST script needed
Replies: 17
Views: 3355

Re: Rest API JSON POST script needed

Hello,
i dont understand your question. The only device you must create is with one http call - i think you have the device created.
Your Ahoy dtu is running? In the same IP area of domoticz? In Ahoy dtu you add at least one Hoymiles inverter, the first has number 0.
Do you have errors in domoticz ...
by mgerhard74
Tuesday 07 March 2023 19:28
Forum: LUA
Topic: Rest API JSON POST script needed
Replies: 17
Views: 3355

Re: Rest API JSON POST script needed

You must change a few things in the script
viewtopic.php?t=39976
to "fit" your environment:
Change 10.0.0.156 to the IP of your Ahoy dtu
Change in the line with "commandArray[1]=..." the "141" to the id of your HOYMILES sensor.
by mgerhard74
Tuesday 07 March 2023 18:20
Forum: LUA
Topic: Rest API JSON POST script needed
Replies: 17
Views: 3355

Re: Rest API JSON POST script needed

No, the first inverter added to Ahoy dtu has number "0" - in this case do no edits in the script.
No extra hardware needed. With that url in your brower you add a device "Hoymiles":
http://[ip of domoticz]:8080/json.htm?type=createvirtualsensor&idx=4&sensorname=HOYMILES&sensortype=248
Yield of day ...
by mgerhard74
Wednesday 22 February 2023 18:05
Forum: LUA
Topic: Rest API JSON POST script needed
Replies: 17
Views: 3355

Re: Rest API JSON POST script needed

niekniek89 wrote: Tuesday 21 February 2023 19:40 Hello,

sorry it hasn't worked yet.
I'm also still working on getting the data into domoticz.
I still can't do this either.
Please look at viewtopic.php?t=39976
lg
Gerhard
by mgerhard74
Wednesday 22 February 2023 18:04
Forum: Show your projects
Topic: Ahoy Dtu and Hoymiles HM-xxx integration
Replies: 19
Views: 12847

Ahoy Dtu and Hoymiles HM-xxx integration

Hello,
i build a cheap Ahoy Dtu (13€) which is able to communicate with all Hoymiles HM-xxx PV microinverters.
Ahoy allows to interact with Mqtt and Rest Api standards. There is a documentation at the Ahoy Dtu project page online.

I made a LUA script to read the PV output power: (This is only a ...
by mgerhard74
Tuesday 21 February 2023 19:34
Forum: LUA
Topic: Rest API JSON POST script needed
Replies: 17
Views: 3355

Re: Rest API JSON POST script needed

Hi,
i tryed a LUA, but i have a error in xml parsing.
Create a new sensor:
http://[DOMOTICZ-IP]:8080/json.htm?type=createvirtualsensor&idx=4&sensorname=Hoymiles&sensortype=248
Put in the DeviceIDx (here: 141) in the Lua code:

JSON = (loadfile "/home/pi/domoticz/scripts/lua/JSON.lua ...
by mgerhard74
Saturday 18 February 2023 17:45
Forum: Suggestions
Topic: aWattar integration
Replies: 17
Views: 3119

Re: aWattar integration

The problem is that triggerItem.isHTTPResponse is always "false".
As i checked with Firefox the https://api.awattar.at/v1/marketdata returns a content-type application/json; charset=utf-8.
The Api is described at https://www.awattar.at/services/api
Domoticz V2023.1 on a Raspi 3B Raspbian 10 Buster ...
by mgerhard74
Thursday 16 February 2023 21:33
Forum: Suggestions
Topic: aWattar integration
Replies: 17
Views: 3119

no HTTPResponse?

My Awattar script normally runs once per day (14:03), but in most cases, it did not correct finish.
Log:
Status: dzVents: Info: ------ Start internal script: aWattar:, trigger: "every minute"
Status: dzVents: Info: ------ Finished aWattar

return { on =
{timer =
{ 'at 14:03'},
httpResponses ...
by mgerhard74
Thursday 16 February 2023 19:20
Forum: LUA
Topic: Rest API JSON POST script needed
Replies: 17
Views: 3355

Re: Rest API JSON POST script needed

OK, also dzvents scipts are welcome.
by mgerhard74
Thursday 16 February 2023 17:39
Forum: LUA
Topic: Rest API JSON POST script needed
Replies: 17
Views: 3355

Rest API JSON POST script needed

I want to control a Hoymiles microinverter (HM-800) with a Lua script, because it runs more often than a dzVents script. A special hardware Ahoy DTU in between domoticz and the microinverter.

I want to send a Json string to a specific url.
As in https://github.com/lumapu/ahoy/blob/main/User_Manual ...
by mgerhard74
Sunday 22 January 2023 8:30
Forum: Suggestions
Topic: aWattar integration
Replies: 17
Views: 3119

Re: aWattar integration

Thank you helping me to solve this problem. After changing 'aWattar' to 'WATT' it is working perfekt.
This is not clear for me, because it is my first and only DzVents script - maybe it was a problem, because my new switch has the name 'aWattar'.
by mgerhard74
Saturday 21 January 2023 17:17
Forum: Suggestions
Topic: aWattar integration
Replies: 17
Views: 3119

Re: aWattar integration

Thank you for testing, i used your script and i got only:

2023-01-21 17:15:43.634 Status: dzVents: Info: ------ Start internal script: aWattar:, trigger: "every minute"
2023-01-21 17:15:43.634 Status: dzVents: Debug: OpenURL: url = https://api.awattar.de/v1/marketdata
2023-01-21 17:15:43.635 ...
by mgerhard74
Saturday 21 January 2023 11:43
Forum: Suggestions
Topic: aWattar integration
Replies: 17
Views: 3119

Re: aWattar integration

Hello ,
does this script still working in domoticz 2022.2?
I got this in log
2023-01-21 11:30:05.647 Status: dzVents: Info: ------ Start internal script: aWattar:, trigger: "every minute"
2023-01-21 11:30:05.647 Status: dzVents: Info: ------ Finished aWattar
...but i got no new schedule in the ...
by mgerhard74
Monday 21 November 2022 21:57
Forum: Cameras
Topic: Lupus LE202-v2 stream
Replies: 2
Views: 2886

Re: Lupus LE202-v2 stream

Thank you,
cgi-bin/snapshot.cgi?1
worked with https. You are better than Lupus Support!
by mgerhard74
Monday 21 November 2022 17:29
Forum: Cameras
Topic: Lupus LE202-v2 stream
Replies: 2
Views: 2886

Lupus LE202-v2 stream

Anybody use a Lupus camera?

As in https://www.lupus-electronics.de/de/service/faq/#85 descriped, i filled this fields:
Protokoll: http
IP-address: (local ip of Lupus LE202-v2)
Port: 80
Username: (my camera username)
Password: (my camera password)
picture-url: cgi-bin/mjpg/video.cgi?channel=0 ...
by mgerhard74
Sunday 23 January 2022 13:16
Forum: Show your projects
Topic: Charge the electric car using most energy from photovoltaic
Replies: 5
Views: 3602

Re: Charge the electric car using most energy from photovoltaic

Hi Paolo,
a very cool project. I also charge my Nissan Leaf with pv power. See my project at viewtopic.php?f=38&t=23516
Now we have two EVs: Nissan Leaf and a Kia eNiro 64kWh - both charge mostly with PV power.
lg Gerhard
by mgerhard74
Thursday 26 August 2021 16:45
Forum: Show your projects
Topic: EV car charge with PV
Replies: 7
Views: 3077

Re: EV car charge with PV

Hi, i use a RPI3. The razberry board is only neccessary to control z-wave devices. (plugs, thermostats,....)
So you need a RPI3, you must have the smartmeter value or PV energy value to control the EV charge unit. The main part of the charge unit is a Phoenix Contact EM-CP-PP-ETH charge control.
by mgerhard74
Friday 09 April 2021 19:15
Forum: Show your projects
Topic: EV car charge with PV
Replies: 7
Views: 3077

Re: EV car charge with PV

Hi Paolo,
Sorry for the delay. I use a simple wallbox from a local company. The main part is a Phoenix Contact EM-CP-PP-ETH charge control, a power meter is optional, a residual current circuit breaker and a 3-phase relay. A key switch can start charge manualy. Some Leds at the front. (Charge ...