Hoymiles mit Ahoy DTU und Grafana

Allgemeine Informationen zum Nachbau und zum Forum.
PV-Monitorung / PV Überwachung

Moderator: Ulrich

Ursblank
Beiträge: 11
Registriert: Fr 17. Feb 2023, 12:09

Re: Hoymiles mit Ahoy DTU und Grafana

Beitrag von Ursblank »

Danke für die schnelle Antwort! Nun wurde ein Solaranzeige-Log erstellt, allerdings steht da:

"kein Kontakt zur OpenDTU 192.168.178.65 Port: 12345"

Ip-Adresse stimmt, aber was ist mit dem Port? Woher kriege ich den und wo gebe ich den ein?

Benutzeravatar
Ulrich
Administrator
Beiträge: 5587
Registriert: Sa 7. Nov 2015, 10:33
Wohnort: Essen
Hat sich bedankt: 157 Mal
Danksagung erhalten: 890 Mal
Kontaktdaten:

Re: Hoymiles mit Ahoy DTU und Grafana

Beitrag von Ulrich »

Hier steht, was da eingegeben werden muss:
viewtopic.php?t=1069
-----------------------------------------------------
Ulrich . . . . . . . . [Projekt Administrator]

Ursblank
Beiträge: 11
Registriert: Fr 17. Feb 2023, 12:09

Re: Hoymiles mit Ahoy DTU und Grafana

Beitrag von Ursblank »

Ach, ich Depp hatte das übersehen. Scheint zu klappen jetzt. Danke!!

lumen
Beiträge: 20
Registriert: Di 7. Mär 2023, 18:25
Hat sich bedankt: 3 Mal
Danksagung erhalten: 1 Mal

Re: Hoymiles mit Ahoy DTU und Grafana

Beitrag von lumen »

kuchij hat geschrieben:
Mi 29. Mär 2023, 14:15
Hallo in die Runde,
aktuell läuft bei mir die Solaranzeige auf einem Raspberry sehr stabil in Verbindung mit einem AhoyDTU ESP8266 mit Version 0.5.66.
Seit eingen Tagen gibt es die neue offizielle Ahoy Version 0.6.00.
Damit kommen leider keine Daten mehr bei mir in der Solaranzeige an. Hat jemand das gleiche Phänomen ?
Mit der 0.5.66 gehts dann wieder.
Schau noch mal hier unter "Changelog":
https://github.com/lumapu/ahoy/releases
Zitat:
Warning: The default pinout for ESP32 has changed. The SPI Pins MOSI, MISO and SCLK are now configurable. If you do an update from an older version make sure that these pins do not have 0 as their value.
This definition is our default for ESP32: MISO = 19, MOSI = 23 and SCLK = 18

Probiert habe ich es aber wegen der Umverdrahtung noch nicht

Tom

gzi
Beiträge: 156
Registriert: Mo 16. Jan 2023, 20:43
Hat sich bedankt: 20 Mal
Danksagung erhalten: 30 Mal

Re: Hoymiles mit Ahoy DTU und Grafana

Beitrag von gzi »

Bei 5.66 gab es mal ein Problem mit der Verdrahtung, RX und TX vertauscht.
Raspi 3B, Hybrid Must PV18-3024 VHM, Hoymiles HM-800 , Nachteinspeisung, Flex-BKW, AhoyDTU, Smart Meter DTSU666-H, DIY Akku 6,7 KWh, DalyBMS2MQTT, Victron2MQTT,Architektur, HomeMatic CCU. Autor: Solaranlage Do-It-Yourself

nick-tech
Beiträge: 15
Registriert: Sa 14. Jan 2023, 21:41
Hat sich bedankt: 1 Mal

Re: Hoymiles mit Ahoy DTU und Grafana

Beitrag von nick-tech »

Hallo Zusammen,
ich habe seit vorgestern auch einen Hoymiles Wechselrichter auf dem Dach. Ahoy DTU holt dort auch brav die Daten ab, aber die Solaranzeige mag leider noch nicht mitspielen. Ich verwende Version 0.6.0 von Ahoy DTU, aber Grafana kann die Antwort nicht parsen wie es aussieht:

in der InfluxDB wird immer "0" eingetragen:

Code: Alles auswählen

> use solaranlage
Using database solaranlage
> select * from DTU order  by time desc limit 10
name: DTU
time                 AC_Leistung DC_Leistung Energie_Inverter_Heute Energie_Inverter_Total
----                 ----------- ----------- ---------------------- ----------------------
2023-04-04T18:43:10Z 0           0           0                      0
2023-04-04T18:42:11Z 0           0           0                      0
2023-04-04T18:41:11Z 0           0           0                      0
2023-04-04T18:40:11Z 0           0           0                      0
2023-04-04T18:39:11Z 0           0           0                      0
2023-04-04T18:38:11Z 0           0           0                      0
2023-04-04T18:37:10Z 0           0           0                      0
2023-04-04T18:36:12Z 0           0           0                      0
2023-04-04T18:35:11Z 0           0           0                      0
2023-04-04T18:34:11Z 0           0           0                      0
ich habe in ahoy.php mal den Tracelevel auf 10 gestellt um zu sehen was los ist:

Code: Alles auswählen

04.04. 20:30:29    -Verarbeitung von: '4.user.config.php'   Regler: 88
04.04. 20:30:29 |-------------------   Start  ahoy.php   ---------------------
04.04. 20:30:29    -Zentraler Timestamp: 1680633001
04.04. 20:30:29 o  -Hardware Version: Raspberry unbekannt
04.04. 20:30:30 |- -Steuerdatei '4.befehl.steuerung' nicht vorhanden----
04.04. 20:30:30 +  -Die Daten werden ausgelesen...
04.04. 20:30:30    -http://192.168.11.129/api/system
04.04. 20:30:30    -Daten zum Gerät gesendet.
 Antwort: {"ssid":"xxx","device_name":"xxx","dark_mode":true,"mac":"C0:49:EF:68:C1:E4","hostname":"xxx","pwd_set":false,"prot_mask":61,"sdk":"v4.4.4","cpu_freq":240,"heap_free":190892,"sketch_total":1310720,"sketch_used":1099,"wifi_rssi":-35,"ts_uptime":5158,"menu_prot":false,"menu_mask":61,"menu_protEn":false,"esp_type":"ESP32","radio":{"power_level":2,"isconnected":true,"DataRate":2,"isPVariant":true},"statistics":{"rx_success":188,"rx_fail":13,"rx_fail_answer":89,"frame_cnt":807,"tx_cnt":290,"retransmits":448},"heap_total":308920,"chip_revision":3,"chip_model":"ESP32-D0WDQ5","chip_cores":2,"schMax":9}
04.04. 20:30:30    -http://192.168.11.129/api/inverter/list
04.04. 20:30:30    -Daten zum Gerät gesendet.
 Antwort: {"inverter":[{"enabled":true,"id":0,"name":"Solaranlage","serial":"116183136588","channels":4,"version":"10018","ch_yield_cor":[0,0,0,0],"ch_name":["1","2","3","4"],"ch_max_pwr":[415,415,415,415]}],"interval":"10","retries":"5","max_num_inverters":10,"rstMid":true,"rstNAvail":false,"rstComStop":true}
04.04. 20:30:30    -http://192.168.11.129/api/live
04.04. 20:30:30    -Daten zum Gerät gesendet.
 Antwort: {"Wortzensur":{"wifi_rssi":-35,"ts_uptime":5158,"menu_prot":false,"menu_mask":61,"menu_protEn":false,"esp_type":"ESP32"},"refresh":10,"ch0_fld_units":["V","A","W","Hz","","°C","kWh","Wh","W","%","var"],"ch0_fld_names":["U_AC","I_AC","P_AC","F_AC","PF_AC","Temp","YieldTotal","YieldDay","P_DC","Efficiency","Q_AC"],"fld_units":["V","A","W","Wh","kWh","%"],"fld_names":["U_DC","I_DC","P_DC","YieldDay","YieldTotal","Irradiation"],"iv":[true,false,false,false,false,false,false,false,false,false]}
04.04. 20:30:30    -Array
(
    [Wortzensur] => Array
        (
            [wifi_rssi] => -35
            [ts_uptime] => 5158
            [menu_prot] =>
            [menu_mask] => 61
            [menu_protEn] =>
            [esp_type] => ESP32
        )

    [refresh] => 10
    [ch0_fld_units] => Array
        (
            [0] => V
            [1] => A
            [2] => W
            [3] => Hz
            [4] =>
            [5] => °C
            [6] => kWh
            [7] => Wh
            [8] => W
            [9] => %
            [10] => var
        )

    [ch0_fld_names] => Array
        (
            [0] => U_AC
            [1] => I_AC
            [2] => P_AC
            [3] => F_AC
            [4] => PF_AC
            [5] => Temp
            [6] => YieldTotal
            [7] => YieldDay
            [8] => P_DC
            [9] => Efficiency
            [10] => Q_AC
        )

    [fld_units] => Array
        (
            [0] => V
            [1] => A
            [2] => W
            [3] => Wh
            [4] => kWh
            [5] => %
        )

    [fld_names] => Array
        (
            [0] => U_DC
            [1] => I_DC
            [2] => P_DC
            [3] => YieldDay
            [4] => YieldTotal
            [5] => Irradiation
        )

    [iv] => Array
        (
            [0] => 1
            [1] =>
            [2] =>
            [3] =>
            [4] =>
            [5] =>
            [6] =>
            [7] =>
            [8] =>
            [9] =>
        )

)

04.04. 20:30:30    -array (
  'zentralerTimestamp' => 1680633011,
  'Info' =>
  array (
    'DeviceName.Text' => 'christoph-solar',
    'Firmware.Text' => NULL,
    'Objekt.Text' => '',
    'Modell.Text' => 'Ahoy DTU',
  ),
  'Port1' =>
  array (
    'Max_Power' => NULL,
    'Seriennummer' => '116183136588',
  ),
  'Port2' =>
  array (
    'Max_Power' => NULL,
    'Seriennummer' => '116183136588',
  ),
  'Port3' =>
  array (
    'Max_Power' => NULL,
    'Seriennummer' => '116183136588',
  ),
  'Port4' =>
  array (
    'Max_Power' => NULL,
    'Seriennummer' => '116183136588',
  ),
  'DTU' =>
  array (
    'DC_Leistung' => 0,
    'Energie_Inverter_Heute' => 0,
    'Energie_Inverter_Total' => 0,
    'AC_Leistung' => 0,
  ),
  'Regler' => '88',
)
04.04. 20:30:30    -Alle 10 Minuten werden die Statistikdaten übertragen.
04.04. 20:30:30    -Aktuelle Daten:
Array
(
    [zentralerTimestamp] => 1680633011
    [Info] => Array
        (
            [DeviceName.Text] => xxx
            [Firmware.Text] =>
            [Objekt.Text] =>
            [Modell.Text] => Ahoy DTU
        )

    [Port1] => Array
        (
            [Max_Power] =>
            [Seriennummer] => 116183136588
        )

    [Port2] => Array
        (
            [Max_Power] =>
            [Seriennummer] => 116183136588
        )

    [Port3] => Array
        (
            [Max_Power] =>
            [Seriennummer] => 116183136588
        )

    [Port4] => Array
        (
            [Max_Power] =>
            [Seriennummer] => 116183136588
        )

    [DTU] => Array
        (
            [DC_Leistung] => 0
            [Energie_Inverter_Heute] => 0
            [Energie_Inverter_Total] => 0
            [AC_Leistung] => 0
        )

    [Regler] => 88
    [InfluxAdresse] =>
    [InfluxPort] => 8086
    [InfluxUser] =>
    [InfluxPassword] =>
    [InfluxDBName] => solaranzeige
    [InfluxDaylight] =>
    [InfluxDBLokal] => solaranlage
    [InfluxSSL] =>
    [Demodaten] =>
)

04.04. 20:30:30    -Query:
Info  DeviceName="christoph-solar",Firmware="",Objekt="",Modell="Ahoy DTU" 1680633011
Port1  Max_Power=,Seriennummer=116183136588 1680633011
Port2  Max_Power=,Seriennummer=116183136588 1680633011
Port3  Max_Power=,Seriennummer=116183136588 1680633011
Port4  Max_Power=,Seriennummer=116183136588 1680633011
DTU  DC_Leistung=0,Energie_Inverter_Heute=0,Energie_Inverter_Total=0,AC_Leistung=0 1680633011

04.04. 20:30:30    -InfluxDB  => [ Info  DeviceName="xxx",Firmware="",Objekt="",Modell="Ahoy DTU" 1680633011
Port1  Max_Power=,Seriennummer=116183136588 1680633011
Port2  Max_Power=,Seriennummer=116183136588 1680633011
Port3  Max_Power=,Seriennummer=116183136588 1680633011
Port4  Max_Power=,Seriennummer=116183136588 1680633011
DTU  DC_Leistung=0,Energie_Inverter_Heute=0,Energie_Inverter_Total=0,AC_Leistung=0 1680633011
 ]
04.04. 20:30:30    -Daten => [ Array
(
    [zentralerTimestamp] => 1680633011
    [Info] => Array
        (
            [DeviceName.Text] => xxx
            [Firmware.Text] =>
            [Objekt.Text] =>
            [Modell.Text] => Ahoy DTU
        )

    [Port1] => Array
        (
            [Max_Power] =>
            [Seriennummer] => 116183136588
        )

    [Port2] => Array
        (
            [Max_Power] =>
            [Seriennummer] => 116183136588
        )

    [Port3] => Array
        (
            [Max_Power] =>
            [Seriennummer] => 116183136588
        )

    [Port4] => Array
        (
            [Max_Power] =>
            [Seriennummer] => 116183136588
        )

    [DTU] => Array
        (
            [DC_Leistung] => 0
            [Energie_Inverter_Heute] => 0
            [Energie_Inverter_Total] => 0
            [AC_Leistung] => 0
        )

    [Regler] => 88
    [InfluxAdresse] =>
    [InfluxPort] => 8086
    [InfluxUser] =>
    [InfluxPassword] =>
    [InfluxDBName] => solaranzeige
    [InfluxDaylight] =>
    [InfluxDBLokal] => solaranlage
    [InfluxSSL] =>
    [Demodaten] =>
)
 ]
04.04. 20:30:30    -Daten nicht zur lokalen InfluxDB gesendet! info: array (
  'url' => 'http://localhost/write?db=solaranlage&precision=s',
  'content_type' => 'application/json',
  'http_code' => 400,
  'header_size' => 691,
  'request_size' => 556,
  'filetime' => -1,
  'ssl_verify_result' => 0,
  'redirect_count' => 0,
  'total_time' => 0.089156,
  'namelookup_time' => 0.001606,
  'connect_time' => 0.00176,
  'pretransfer_time' => 0.001813,
  'size_upload' => 400.0,
  'size_download' => 416.0,
  'speed_download' => 4674.0,
  'speed_upload' => 4494.0,
  'download_content_length' => 416.0,
  'upload_content_length' => 400.0,
  'starttransfer_time' => 0.089071,
  'redirect_time' => 0.0,
  'redirect_url' => '',
  'primary_ip' => '127.0.0.1',
  'certinfo' =>
  array (
  ),
  'primary_port' => 8086,
  'local_ip' => '127.0.0.1',
  'local_port' => 36046,
  'http_version' => 2,
  'protocol' => 1,
  'ssl_verifyresult' => 0,
  'scheme' => 'HTTP',
  'appconnect_time_us' => 0,
  'connect_time_us' => 1760,
  'namelookup_time_us' => 1606,
  'pretransfer_time_us' => 1813,
  'redirect_time_us' => 0,
  'starttransfer_time_us' => 89071,
  'total_time_us' => 89156,
)
ich vermisse hier die Antwort nach
, da müsste doch eigentlich noch was kommen? Wenn ich das im Browser aufrufe sehe ich auch das JSON (allerdings ohne Leistungswerte momenten, wahrscheinlich weil es dunkel ist?)
Hat schon jemand Ahoy DTU 0.6.0 am laufen?
P.S.: Die Forensoftware ersetzt "g e n e r i c" durch "Wortzensur", warum auch immer ;-)

gzi
Beiträge: 156
Registriert: Mo 16. Jan 2023, 20:43
Hat sich bedankt: 20 Mal
Danksagung erhalten: 30 Mal

Re: Hoymiles mit Ahoy DTU und Grafana

Beitrag von gzi »

also wenn nullen in der Influx drinstehen, dann kann Grafana auch nur Nullen anzeigen.Gib mal im Browser

http://<ipderahoydtu>/api/live

ein. Wenn da keine sinnvollen Werte kommen, dann nimm die 5.66 firmware,
Raspi 3B, Hybrid Must PV18-3024 VHM, Hoymiles HM-800 , Nachteinspeisung, Flex-BKW, AhoyDTU, Smart Meter DTSU666-H, DIY Akku 6,7 KWh, DalyBMS2MQTT, Victron2MQTT,Architektur, HomeMatic CCU. Autor: Solaranlage Do-It-Yourself

nick-tech
Beiträge: 15
Registriert: Sa 14. Jan 2023, 21:41
Hat sich bedankt: 1 Mal

Re: Hoymiles mit Ahoy DTU und Grafana

Beitrag von nick-tech »

Hallo Zusammen,

hier mal der Output von Ahoy DTU (0.6.0):

http://<ipderahoydtu>/api/live:

Code: Alles auswählen

{"Wortzensur":{"wifi_rssi":-37,"ts_uptime":1977,"menu_prot":false,"menu_mask":61,"menu_protEn":false,"esp_type":"ESP32"},"refresh":10,"ch0_fld_units":["V","A","W","Hz","","°C","kWh","Wh","W","%","var"],"ch0_fld_names":["U_AC","I_AC","P_AC","F_AC","PF_AC","Temp","YieldTotal","YieldDay","P_DC","Efficiency","Q_AC"],"fld_units":["V","A","W","Wh","kWh","%"],"fld_names":["U_DC","I_DC","P_DC","YieldDay","YieldTotal","Irradiation"],"iv":[true,false,false,false,false,false,false,false,false,false]}
http://<ipderahoydtu>/api/record/live:

Code: Alles auswählen

{"inverter":[[{"fld":"U_DC","unit":"V","val":"30.00"},{"fld":"I_DC","unit":"A","val":"0.26"},{"fld":"P_DC","unit":"W","val":"7.70"},{"fld":"YieldDay","unit":"Wh","val":"1373.00"},{"fld":"YieldTotal","unit":"kWh","val":"3.83"},{"fld":"Irradiation","unit":"%","val":"1.86"},{"fld":"U_DC","unit":"V","val":"30.00"},{"fld":"I_DC","unit":"A","val":"0.25"},{"fld":"P_DC","unit":"W","val":"7.50"},{"fld":"YieldDay","unit":"Wh","val":"1396.00"},{"fld":"YieldTotal","unit":"kWh","val":"3.85"},{"fld":"Irradiation","unit":"%","val":"1.81"},{"fld":"U_DC","unit":"V","val":"30.40"},{"fld":"I_DC","unit":"A","val":"0.29"},{"fld":"P_DC","unit":"W","val":"8.90"},{"fld":"YieldDay","unit":"Wh","val":"1341.00"},{"fld":"YieldTotal","unit":"kWh","val":"3.62"},{"fld":"Irradiation","unit":"%","val":"2.14"},{"fld":"U_DC","unit":"V","val":"30.40"},{"fld":"I_DC","unit":"A","val":"0.30"},{"fld":"P_DC","unit":"W","val":"9.20"},{"fld":"YieldDay","unit":"Wh","val":"1386.00"},{"fld":"YieldTotal","unit":"kWh","val":"3.68"},{"fld":"Irradiation","unit":"%","val":"2.22"},{"fld":"U_AC","unit":"V","val":"231.00"},{"fld":"I_AC","unit":"A","val":"0.14"},{"fld":"P_AC","unit":"W","val":"31.70"},{"fld":"Q_AC","unit":"var","val":"20.80"},{"fld":"F_AC","unit":"Hz","val":"49.97"},{"fld":"PF_AC","unit":"","val":"0.84"},{"fld":"Temp","unit":"°C","val":"16.00"},{"fld":"ALARM_MES_ID","unit":"","val":"1.00"},{"fld":"YieldDay","unit":"Wh","val":"5496.00"},{"fld":"YieldTotal","unit":"kWh","val":"14.98"},{"fld":"P_DC","unit":"W","val":"33.30"},{"fld":"Efficiency","unit":"%","val":"95.20"}]]}
Sieht aus als hätte sich der Pfad geändert, oder?
Was ist denn die Ausgabe von /api/live bei 0.5.66?

lumen
Beiträge: 20
Registriert: Di 7. Mär 2023, 18:25
Hat sich bedankt: 3 Mal
Danksagung erhalten: 1 Mal

Re: Hoymiles mit Ahoy DTU und Grafana

Beitrag von lumen »

nick-tech hat geschrieben:
Mi 5. Apr 2023, 20:38
Hallo Zusammen,

hier mal der Output von Ahoy DTU (0.6.0):

http://<ipderahoydtu>/api/live:

Code: Alles auswählen

{"Wortzensur":{"wifi_rssi":-37,"ts_uptime":1977,"menu_prot":false,"menu_mask":61,"menu_protEn":false,"esp_type":"ESP32"},"refresh":10,"ch0_fld_units":["V","A","W","Hz","","°C","kWh","Wh","W","%","var"],"ch0_fld_names":["U_AC","I_AC","P_AC","F_AC","PF_AC","Temp","YieldTotal","YieldDay","P_DC","Efficiency","Q_AC"],"fld_units":["V","A","W","Wh","kWh","%"],"fld_names":["U_DC","I_DC","P_DC","YieldDay","YieldTotal","Irradiation"],"iv":[true,false,false,false,false,false,false,false,false,false]}
http://<ipderahoydtu>/api/record/live:

Code: Alles auswählen

{"inverter":[[{"fld":"U_DC","unit":"V","val":"30.00"},{"fld":"I_DC","unit":"A","val":"0.26"},{"fld":"P_DC","unit":"W","val":"7.70"},{"fld":"YieldDay","unit":"Wh","val":"1373.00"},{"fld":"YieldTotal","unit":"kWh","val":"3.83"},{"fld":"Irradiation","unit":"%","val":"1.86"},{"fld":"U_DC","unit":"V","val":"30.00"},{"fld":"I_DC","unit":"A","val":"0.25"},{"fld":"P_DC","unit":"W","val":"7.50"},{"fld":"YieldDay","unit":"Wh","val":"1396.00"},{"fld":"YieldTotal","unit":"kWh","val":"3.85"},{"fld":"Irradiation","unit":"%","val":"1.81"},{"fld":"U_DC","unit":"V","val":"30.40"},{"fld":"I_DC","unit":"A","val":"0.29"},{"fld":"P_DC","unit":"W","val":"8.90"},{"fld":"YieldDay","unit":"Wh","val":"1341.00"},{"fld":"YieldTotal","unit":"kWh","val":"3.62"},{"fld":"Irradiation","unit":"%","val":"2.14"},{"fld":"U_DC","unit":"V","val":"30.40"},{"fld":"I_DC","unit":"A","val":"0.30"},{"fld":"P_DC","unit":"W","val":"9.20"},{"fld":"YieldDay","unit":"Wh","val":"1386.00"},{"fld":"YieldTotal","unit":"kWh","val":"3.68"},{"fld":"Irradiation","unit":"%","val":"2.22"},{"fld":"U_AC","unit":"V","val":"231.00"},{"fld":"I_AC","unit":"A","val":"0.14"},{"fld":"P_AC","unit":"W","val":"31.70"},{"fld":"Q_AC","unit":"var","val":"20.80"},{"fld":"F_AC","unit":"Hz","val":"49.97"},{"fld":"PF_AC","unit":"","val":"0.84"},{"fld":"Temp","unit":"°C","val":"16.00"},{"fld":"ALARM_MES_ID","unit":"","val":"1.00"},{"fld":"YieldDay","unit":"Wh","val":"5496.00"},{"fld":"YieldTotal","unit":"kWh","val":"14.98"},{"fld":"P_DC","unit":"W","val":"33.30"},{"fld":"Efficiency","unit":"%","val":"95.20"}]]}
Sieht aus als hätte sich der Pfad geändert, oder?
Was ist denn die Ausgabe von /api/live bei 0.5.66?

Meine Ausgabe bei 0.5.66 (im Dunkeln):

/api/live/:
{"menu":{"name":["Live","Serial / Control","Settings","-","REST API","-","Update","System","-","Documentation"],"link":["/live","/serial","/setup",null,"/api",null,"/update","/system",null,"https://ahoydtu.de"],"trgt":[null,null,null,null,"_blank",null,null,null,null,"_blank"]},"Wortzensur":{"version":"0.5.66","build":"f8fe044","wifi_rssi":-66,"ts_uptime":141429,"esp_type":"ESP32"},"inverter":[{"enabled":true,"name":"xxxx","channels":2,"power_limit_read":100,"last_alarm":"Inverter start","ts_last_success":168071xxxx,"ch":[[227.9,0,0,49.99,0,16.2,69.968,4334,0.6,0,0],[16.7,0.02,0.3,2172,35.027,0.075],[16.7,0.02,0.3,2162,34.941,0.075]],"ch_names":["AC","xxxx","xxxx"]}],"refresh_interval":10,"ch0_fld_units":["V","A","W","Hz","","°C","kWh","Wh","W","%","var"],"ch0_fld_names":["U_AC","I_AC","P_AC","F_AC","PF_AC","Temp","YieldTotal","YieldDay","P_DC","Efficiency","Q_AC"],"fld_units":["V","A","W","Wh","kWh","%"],"fld_names":["U_DC","I_DC","P_DC","YieldDay","YieldTotal","Irradiation"]}

/api/record/live:
{"inverter":[[{"fld":"U_DC","unit":"V","val":"16.70"},{"fld":"I_DC","unit":"A","val":"0.02"},{"fld":"P_DC","unit":"W","val":"0.30"},{"fld":"YieldDay","unit":"Wh","val":"2172.00"},{"fld":"YieldTotal","unit":"kWh","val":"35.03"},{"fld":"Irradiation","unit":"%","val":"0.08"},{"fld":"U_DC","unit":"V","val":"16.70"},{"fld":"I_DC","unit":"A","val":"0.02"},{"fld":"P_DC","unit":"W","val":"0.30"},{"fld":"YieldDay","unit":"Wh","val":"2162.00"},{"fld":"YieldTotal","unit":"kWh","val":"34.94"},{"fld":"Irradiation","unit":"%","val":"0.08"},{"fld":"U_AC","unit":"V","val":"227.90"},{"fld":"I_AC","unit":"A","val":"0.00"},{"fld":"P_AC","unit":"W","val":"0.00"},{"fld":"Q_AC","unit":"var","val":"0.00"},{"fld":"F_AC","unit":"Hz","val":"49.99"},{"fld":"PF_AC","unit":"","val":"0.00"},{"fld":"Temp","unit":"°C","val":"16.20"},{"fld":"ALARM_MES_ID","unit":"","val":"4.00"},{"fld":"YieldDay","unit":"Wh","val":"4334.00"},{"fld":"YieldTotal","unit":"kWh","val":"69.97"},{"fld":"P_DC","unit":"W","val":"0.60"},{"fld":"Efficiency","unit":"%","val":"0.00"}]]}

Fooose
Beiträge: 4
Registriert: Mi 5. Apr 2023, 11:22
Hat sich bedankt: 5 Mal
Danksagung erhalten: 1 Mal

Re: Hoymiles mit Ahoy DTU und Grafana

Beitrag von Fooose »

Guten Abend zusammen,

wie es scheint ist das "Problem" von "nick-tech" noch nicht gelöst und ich habe die gleichen Fehler mit der AhoyDTU-Version 0.60.
Nun habe ich einen anderen Ansatz versucht und zwar die Daten mit MQTT an von AhoyDTU zur Solaranzeige zu senden.

Bild

Das funktioniert auch ohne Probleme, nur müssten jetzt die Daten auch in die Datenbank (InfluxDB) geschrieben werden.
Als Inspiration habe ich dieses Python Script https://schroederdennis.de/monitoring/t ... db-script/ von Dennis Schröder versucht, jedoch leider ohne Erfolg.

Gibt es eine Möglichkeit das in Solaranzeige per PHP zu integrieren ?

Beste Grüße & Frohe Ostern

Fooose

Antworten

Zurück zu „Allgemeines“