Hallo zusammen,
ich bin mir nicht sicher, ob es ein Template Problem ist, oder das Gerät, oder gar das größte Problem was technische Dinge angeht, nämlich zwischen dem linken und rechten Ohr ::) ...... daher wusste ich nicht, ob das ins Template soll. Falls ja, bitte verschieben oder drauf hinweisen, dann mache ich es (wenn möglich)
Ich habe ein Balkonkraftwerk, das mit einem Hoymiles Wechselrichter funktioniert und außerdem mit der AHOY DTU Software ausgewertet wird. Soweit funktioniert alles gut, allerdings wird immer mal wieder das MQTT -device neu angelegt, obwohl die readings(quellen) bereits exisiteren:
Das angelegte und eingerichtete Device das korrekt ist:
define Flummy_DTU MQTT2_DEVICE Flummy_DTU
attr Flummy_DTU DbLogExclude .*
attr Flummy_DTU DbLogInclude P_DC.,P_AC,Irradiation.
attr Flummy_DTU IODev brok_MQTT2
attr Flummy_DTU autocreate 1
attr Flummy_DTU bridgeRegexp Flummy_DTU/([^/]+)/ch[0-9]+/.*:.* "Flummy_DTU_$1"
attr Flummy_DTU disabledForIntervals {sunset_abs()}-24 {sunrise_abs()}-08
attr Flummy_DTU event-min-interval ._DC.:3600,YieldDay:28800,YieldTotal:86400
attr Flummy_DTU event-on-change-reading U_DC.:3,P_DC.:20,P_AC:5,YieldDay:50,Irradiation.:2.0
attr Flummy_DTU group Zähler
attr Flummy_DTU icon solar
attr Flummy_DTU model hoymiles_microinverter_inverter
attr Flummy_DTU readingList Flummy_DTU/Garage/ch0/P_DC:.* P_DC\
Flummy_DTU/Garage/ch0/U_AC:.* U_AC\
Flummy_DTU/Garage/ch0/I_AC:.* I_AC\
Flummy_DTU/Garage/ch0/P_AC:.* P_AC\
Flummy_DTU/Garage/ch0/Q_AC:.* Q_AC\
Flummy_DTU/Garage/ch0/F_AC:.* F_AC\
Flummy_DTU/Garage/ch0/PF_AC:.* PF_AC\
Flummy_DTU/Garage/ch0/Freq:.* Freq\
Flummy_DTU/Garage/ch0/Temp:.* temperature\
Flummy_DTU/Garage/ch0/YieldDay:.* YieldDay\
Flummy_DTU/Garage/ch0/YieldTotal:.* YieldTotal\
Flummy_DTU/Garage/ch0/ALARM_MES_ID:.* ALARM_MES_ID\
Flummy_DTU/Garage/ch0/Efficiency:.* Efficiency\
Flummy_DTU/Garage/ch0/FWVersion:.* FWVersion\
Flummy_DTU/Garage/ch0/FWBuildYear:.* FWBuildYear\
Flummy_DTU/Garage/ch0/FWBuildMonthDay:.* FWBuildMonthDay\
Flummy_DTU/Garage/ch0/HWPartId:.* HWPartId\
Flummy_DTU/Garage/ch0/PowerLimit:.* limit\
Flummy_DTU/Garage/ch1/I_DC:.* I_DC1\
Flummy_DTU/Garage/ch1/P_DC:.* P_DC1\
Flummy_DTU/Garage/ch1/U_DC:.* U_DC1\
Flummy_DTU/Garage/ch1/Irradiation:.* Irradiation1\
Flummy_DTU/Garage/ch1/YieldDay:.* YieldDay1\
Flummy_DTU/Garage/ch1/YieldTotal:.* YieldTotal1\
Flummy_DTU/Garage/ch2/I_DC:.* I_DC2\
Flummy_DTU/Garage/ch2/P_DC:.* P_DC2\
Flummy_DTU/Garage/ch2/U_DC:.* U_DC2\
Flummy_DTU/Garage/ch2/Irradiation:.* Irradiation2\
Flummy_DTU/Garage/ch2/YieldDay:.* YieldDay2\
Flummy_DTU/Garage/ch2/YieldTotal:.* YieldTotal2\
Flummy_DTU:Flummy_DTU/uptime:.* uptime\
Flummy_DTU:Flummy_DTU/wifi_rssi:.* wifi_rssi\
Flummy_DTU:Flummy_DTU/free_heap:.* free_heap\
Flummy_DTU:Flummy_DTU/total/P_AC:.* P_AC\
Flummy_DTU:Flummy_DTU/total/YieldTotal:.* YieldTotal\
Flummy_DTU:Flummy_DTU/total/YieldDay:.* YieldDay\
Flummy_DTU:Flummy_DTU/total/P_DC:.* P_DC\
Flummy_DTU:Flummy_DTU/Garage/available:.* available\
Flummy_DTU:Flummy_DTU/Garage/last_success:.* last_success\
Flummy_DTU:Flummy_DTU/status:.* status\
Flummy_DTU:Flummy_DTU/sunrise:.* sunrise\
Flummy_DTU:Flummy_DTU/sunset:.* sunset\
Flummy_DTU:Flummy_DTU/comm_start:.* comm_start\
Flummy_DTU:Flummy_DTU/comm_stop:.* comm_stop\
Flummy_DTU:Flummy_DTU/dis_night_comm:.* dis_night_comm\
attr Flummy_DTU room Garten,Keller
attr Flummy_DTU setList reboot:noArg Flummy_DTU/devcontrol/0/2 restart\
limit Flummy_DTU/devcontrol/0/11/0 $EVTPART1\
limit_pct:slider,2,1,100 Flummy_DTU/devcontrol/0/11/1 $EVTPART1\
limit_persistent_abs Flummy_DTU/devcontrol/0/11/256 $EVTPART1\
limit_persistent_pct:slider,2,1,100 Flummy_DTU/devcontrol/0/11/257 $EVTPART1
attr Flummy_DTU stateFormat CH1 (Heute) / CH2 (Heute)\
<br>\
P_DC1 W (YieldDay1 W)/ P_DC2 W (YieldDay2 W)\
<br>\
<br>Ausgang<br> Aktuell / Heute / Total: <br>\
P_AC W /\
YieldDay Wh\
/\
YieldTotal Wh
# CID Flummy_DTU
# DEF Flummy_DTU
# FVERSION 10_MQTT2_DEVICE.pm:0.268600/2022-12-16
# IODev brok_MQTT2
# LASTInputDev brok_MQTT2
# MSGCNT 66708
# NAME Flummy_DTU
# NR 380
# STATE CH1 (Heute) / CH2 (Heute)
#<br>
#48.5 W (317 W)/ 87.1 W (464 W)
#<br>
#<br>Ausgang<br> Aktuell / Heute / Total: <br>
#129.4 W /
#781 Wh
#/
#12.745 Wh
# TYPE MQTT2_DEVICE
# brok_MQTT2_CONN brok_MQTT2_0.0.0.0_52570
# brok_MQTT2_MSGCNT 66708
# brok_MQTT2_TIME 2023-02-15 15:17:16
# eventCount 10842
# Helper:
# DBLOG:
# CH1_I_DC:
# DBLogging:
# TIME 1676211077.58677
# VALUE 0.52
# CH1_Irradiation:
# DBLogging:
# TIME 1676211077.7251
# VALUE 5.594
# CH1_P_DC:
# DBLogging:
# TIME 1676208467.62797
# VALUE 22.1
# CH1_U_DC:
# DBLogging:
# TIME 1676207507.55483
# VALUE 34.4
# CH1_YieldDay:
# DBLogging:
# TIME 1676207807.69462
# VALUE 151
# CH1_YieldTotal:
# DBLogging:
# TIME 1676190077.94195
# VALUE 4.566
# CH2_I_DC:
# DBLogging:
# TIME 1676210357.72389
# VALUE 0.64
# CH2_Irradiation:
# DBLogging:
# TIME 1676211077.87621
# VALUE 6.5
# CH2_P_DC:
# DBLogging:
# TIME 1676210477.73664
# VALUE 21.5
# CH2_U_DC:
# DBLogging:
# TIME 1676209547.68275
# VALUE 34
# CH2_YieldDay:
# DBLogging:
# TIME 1676204477.81881
# VALUE 151
# CH2_YieldTotal:
# DBLogging:
# TIME 1676126809.01563
# VALUE 5.459
# Irradiation1:
# DBLogging:
# TIME 1676469346.643
# VALUE 14.687
# Irradiation2:
# DBLogging:
# TIME 1676470543.80101
# VALUE 27.219
# P_AC:
# DBLogging:
# TIME 1676470543.8712
# VALUE 129.4
# P_DC:
# DBLogging:
# TIME 1676370525.56342
# VALUE 189
# P_DC1:
# DBLogging:
# TIME 1676468173.54938
# VALUE 46.7
# P_DC2:
# DBLogging:
# TIME 1676470543.72065
# VALUE 87.1
# YieldDay:
# DBLogging:
# TIME 1676370195.34136
# VALUE 101
# YieldTotal:
# DBLogging:
# TIME 1676366865.39726
# VALUE 11.216
# OLDREADINGS:
# READINGS:
# 2023-02-15 15:17:16 ALARM_MES_ID 76
# 2023-02-15 15:17:16 Efficiency 95.428
# 2023-02-15 15:17:16 F_AC 49.99
# 2023-02-15 15:17:16 I_AC 0.54
# 2023-02-15 15:17:16 I_DC1 1.3
# 2023-02-15 15:17:16 I_DC2 2.39
# 2023-02-15 15:17:16 Irradiation1 15.156
# 2023-02-15 15:17:16 Irradiation2 27.219
# 2023-02-15 15:17:16 PF_AC 1
# 2023-02-15 15:17:16 P_AC 129.4
# 2023-02-15 15:17:16 P_DC 135.6
# 2023-02-15 15:17:16 P_DC1 48.5
# 2023-02-15 15:17:16 P_DC2 87.1
# 2023-02-15 15:17:16 Q_AC 0
# 2023-02-14 10:27:45 Temp 11.4
# 2023-02-15 15:17:16 U_AC 239
# 2023-02-15 15:17:16 U_DC1 37.4
# 2023-02-15 15:17:16 U_DC2 36.5
# 2023-02-15 15:17:16 YieldDay 781
# 2023-02-15 15:17:16 YieldDay1 317
# 2023-02-15 15:17:16 YieldDay2 464
# 2023-02-15 15:17:16 YieldTotal 12.745
# 2023-02-15 15:17:16 YieldTotal1 5.707
# 2023-02-15 15:17:16 YieldTotal2 7.038
# 2023-02-14 10:27:52 attrTemplateVersion 20200905
# 2023-02-15 09:52:44 available 2
# 2023-02-15 01:00:10 comm_start 1676442979
# 2023-02-15 01:00:10 comm_stop 1676480078
# 2023-02-15 15:00:51 dev_cla power
# 2023-02-15 15:00:51 dev_cu
# 2023-02-15 15:00:51 dev_ids xxxx
# 2023-02-15 15:00:51 dev_name Garage
# 2023-02-15 01:00:10 dis_night_comm true
# 2023-02-15 15:00:51 exp_aft 65
# 2023-02-15 15:16:41 free_heap 18128
# 2023-02-15 09:52:44 last_success 1676451162
# 2023-02-15 15:00:51 name Garage Efficiency
# 2023-02-15 15:00:51 stat_cla measurement
# 2023-02-15 15:00:51 stat_t Flummy_DTU/Garage/ch0/Efficiency
# 2023-02-15 09:52:44 status 2
# 2023-02-15 01:00:10 sunrise 1676443579
# 2023-02-15 01:00:10 sunset 1676479478
# 2023-02-15 15:17:16 temperature 18.1
# 2023-02-15 15:00:51 uniq_id xxxxx_ch0_Efficiency
# 2023-02-15 15:00:51 unit_of_meas %
# 2023-02-15 15:16:41 uptime 622740
# 2023-02-15 15:16:41 wifi_rssi -67
#
setstate Flummy_DTU CH1 (Heute) / CH2 (Heute)\
<br>\
48.5 W (317 W)/ 87.1 W (464 W)\
<br>\
<br>Ausgang<br> Aktuell / Heute / Total: <br>\
129.4 W /\
781 Wh\
/\
12.745 Wh
setstate Flummy_DTU 2023-02-15 15:17:16 ALARM_MES_ID 76
setstate Flummy_DTU 2023-02-15 15:17:16 Efficiency 95.428
setstate Flummy_DTU 2023-02-15 15:17:16 F_AC 49.99
setstate Flummy_DTU 2023-02-15 15:17:16 I_AC 0.54
setstate Flummy_DTU 2023-02-15 15:17:16 I_DC1 1.3
setstate Flummy_DTU 2023-02-15 15:17:16 I_DC2 2.39
setstate Flummy_DTU 2023-02-15 15:17:16 Irradiation1 15.156
setstate Flummy_DTU 2023-02-15 15:17:16 Irradiation2 27.219
setstate Flummy_DTU 2023-02-15 15:17:16 PF_AC 1
setstate Flummy_DTU 2023-02-15 15:17:16 P_AC 129.4
setstate Flummy_DTU 2023-02-15 15:17:16 P_DC 135.6
setstate Flummy_DTU 2023-02-15 15:17:16 P_DC1 48.5
setstate Flummy_DTU 2023-02-15 15:17:16 P_DC2 87.1
setstate Flummy_DTU 2023-02-15 15:17:16 Q_AC 0
setstate Flummy_DTU 2023-02-14 10:27:45 Temp 11.4
setstate Flummy_DTU 2023-02-15 15:17:16 U_AC 239
setstate Flummy_DTU 2023-02-15 15:17:16 U_DC1 37.4
setstate Flummy_DTU 2023-02-15 15:17:16 U_DC2 36.5
setstate Flummy_DTU 2023-02-15 15:17:16 YieldDay 781
setstate Flummy_DTU 2023-02-15 15:17:16 YieldDay1 317
setstate Flummy_DTU 2023-02-15 15:17:16 YieldDay2 464
setstate Flummy_DTU 2023-02-15 15:17:16 YieldTotal 12.745
setstate Flummy_DTU 2023-02-15 15:17:16 YieldTotal1 5.707
setstate Flummy_DTU 2023-02-15 15:17:16 YieldTotal2 7.038
setstate Flummy_DTU 2023-02-14 10:27:52 attrTemplateVersion 20200905
setstate Flummy_DTU 2023-02-15 09:52:44 available 2
setstate Flummy_DTU 2023-02-15 01:00:10 comm_start 1676442979
setstate Flummy_DTU 2023-02-15 01:00:10 comm_stop 1676480078
setstate Flummy_DTU 2023-02-15 15:00:51 dev_cla power
setstate Flummy_DTU 2023-02-15 15:00:51 dev_cu http://0.0.0.0
setstate Flummy_DTU 2023-02-15 15:00:51 dev_ids xxxxx
setstate Flummy_DTU 2023-02-15 15:00:51 dev_name Garage
setstate Flummy_DTU 2023-02-15 01:00:10 dis_night_comm true
setstate Flummy_DTU 2023-02-15 15:00:51 exp_aft 65
setstate Flummy_DTU 2023-02-15 15:16:41 free_heap 18128
setstate Flummy_DTU 2023-02-15 09:52:44 last_success 1676451162
setstate Flummy_DTU 2023-02-15 15:00:51 name Garage Efficiency
setstate Flummy_DTU 2023-02-15 15:00:51 stat_cla measurement
setstate Flummy_DTU 2023-02-15 15:00:51 stat_t Flummy_DTU/Garage/ch0/Efficiency
setstate Flummy_DTU 2023-02-15 09:52:44 status 2
setstate Flummy_DTU 2023-02-15 01:00:10 sunrise 1676443579
setstate Flummy_DTU 2023-02-15 01:00:10 sunset 1676479478
setstate Flummy_DTU 2023-02-15 15:17:16 temperature 18.1
setstate Flummy_DTU 2023-02-15 15:00:51 uniq_id xxxx_ch0_Efficiency
setstate Flummy_DTU 2023-02-15 15:00:51 unit_of_meas %
setstate Flummy_DTU 2023-02-15 15:16:41 uptime 622740
setstate Flummy_DTU 2023-02-15 15:16:41 wifi_rssi -67
und das mqtt2device, das immer mal wieder angelegt wird:
define MQTT2_Flummy_DTU_Garage MQTT2_DEVICE Flummy_DTU_Garage
attr MQTT2_Flummy_DTU_Garage DbLogExclude .*
attr MQTT2_Flummy_DTU_Garage event-on-change-reading .*
attr MQTT2_Flummy_DTU_Garage readingList Flummy_DTU/Garage/ch1/U_DC:.* U_DC\
Flummy_DTU/Garage/ch1/I_DC:.* I_DC\
Flummy_DTU/Garage/ch1/P_DC:.* P_DC\
Flummy_DTU/Garage/ch1/YieldDay:.* YieldDay\
Flummy_DTU/Garage/ch1/YieldTotal:.* YieldTotal\
Flummy_DTU/Garage/ch1/Irradiation:.* Irradiation\
Flummy_DTU/Garage/ch2/U_DC:.* U_DC\
Flummy_DTU/Garage/ch2/I_DC:.* I_DC\
Flummy_DTU/Garage/ch2/P_DC:.* P_DC\
Flummy_DTU/Garage/ch2/YieldDay:.* YieldDay\
Flummy_DTU/Garage/ch2/YieldTotal:.* YieldTotal\
Flummy_DTU/Garage/ch2/Irradiation:.* Irradiation\
Flummy_DTU/Garage/ch0/U_AC:.* U_AC\
Flummy_DTU/Garage/ch0/I_AC:.* I_AC\
Flummy_DTU/Garage/ch0/P_AC:.* P_AC\
Flummy_DTU/Garage/ch0/Q_AC:.* Q_AC\
Flummy_DTU/Garage/ch0/F_AC:.* F_AC\
Flummy_DTU/Garage/ch0/PF_AC:.* PF_AC\
Flummy_DTU/Garage/ch0/Temp:.* Temp\
Flummy_DTU/Garage/ch0/ALARM_MES_ID:.* ALARM_MES_ID\
Flummy_DTU/Garage/ch0/YieldDay:.* YieldDay\
Flummy_DTU/Garage/ch0/YieldTotal:.* YieldTotal\
Flummy_DTU/Garage/ch0/P_DC:.* P_DC\
Flummy_DTU/Garage/ch0/Efficiency:.* Efficiency
attr MQTT2_Flummy_DTU_Garage room MQTT2_DEVICE
# CFGFN
# CID Flummy_DTU_Garage
# DEF Flummy_DTU_Garage
# FUUID 63ec820d-f33f-6adc-d39d-b39bf3cd32f1478a
# IODev brok_MQTT2
# LASTInputDev brok_MQTT2
# MSGCNT 6384
# NAME MQTT2_Flummy_DTU_Garage
# NR 129593
# STATE ???
# TYPE MQTT2_DEVICE
# brok_MQTT2_CONN brok_MQTT2_0.0.0.0_52570
# brok_MQTT2_MSGCNT 6384
# brok_MQTT2_TIME 2023-02-15 15:20:44
# eventCount 5273
# READINGS:
# 2023-02-15 15:20:44 ALARM_MES_ID 76
# 2023-02-15 15:20:44 Efficiency 95.428
# 2023-02-15 15:20:43 F_AC 49.99
# 2023-02-15 07:56:13 IODev brok_MQTT2
# 2023-02-15 15:20:43 I_AC 0.48
# 2023-02-15 15:20:43 I_DC 2.07
# 2023-02-15 15:20:43 Irradiation 23.625
# 2023-02-15 15:20:43 PF_AC 1
# 2023-02-15 15:20:43 P_AC 114.8
# 2023-02-15 15:20:44 P_DC 120.3
# 2023-02-15 15:20:43 Q_AC 0
# 2023-02-15 15:20:44 Temp 18.2
# 2023-02-15 15:20:43 U_AC 239.7
# 2023-02-15 15:20:43 U_DC 36.6
# 2023-02-15 15:20:44 YieldDay 791
# 2023-02-15 15:20:44 YieldTotal 12.755
# 2023-02-15 07:56:15 associatedWith Flummy_DTU
#
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:44 ALARM_MES_ID 76
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:44 Efficiency 95.428
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:43 F_AC 49.99
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 07:56:13 IODev brok_MQTT2
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:43 I_AC 0.48
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:43 I_DC 2.07
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:43 Irradiation 23.625
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:43 PF_AC 1
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:43 P_AC 114.8
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:44 P_DC 120.3
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:43 Q_AC 0
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:44 Temp 18.2
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:43 U_AC 239.7
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:43 U_DC 36.6
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:44 YieldDay 791
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 15:20:44 YieldTotal 12.755
setstate MQTT2_Flummy_DTU_Garage 2023-02-15 07:56:15 associatedWith Flummy_DTU
Ich habe im korrekten Device bereits autocreate 0/1 gesetzt oder die Adressen manuell hinzugefügt, leider ohne Erfolg.
Jetzt wäre für mich die einzige Lösung in autocreate das device auf ignoreRegExp zu setzen, allerdings habe ich das bisher immer so gelöst, wie oben beschrieben und hab "Angst" dass ich das mal vergesse, und auf einmal notwendige Sachen (nach Änderungen oder so) nicht wieder aktiviert werden.
Vielleicht hat ja noch jemand eine andere Idee.
Vielen Dank im Voraus und viele Grüße
Andreas
Das Attribut "bridgeRegexp" sorgt dafür, dass bei passendem MQTT-Topic das evtl. fehlende FHEM-Device angelegt wird ...
Flummy_DTU/Garage/... wird zu Flummy_DTU_Garage bzw. MQTT2_Flummy_DTU_Garage
Hey,
vielen Dank für Deine Antwort....
Zitat von: OdfFhem am 15 Februar 2023, 16:42:26
Flummy_DTU/Garage/... wird zu Flummy_DTU_Garage bzw. MQTT2_Flummy_DTU_Garage
Wenn man das RegExp falsch versteht (oder nicht richtig versteht), dann kann man das Problem natürlich nicht erkennen. Ich lösche das Attribut und dann sollte es das Problem auch nicht mehr geben ;)
Vielen Dank & VG
Andreas
Zitat von: flummy1978 am 15 Februar 2023, 23:00:56
Ich lösche das Attribut und dann sollte es das Problem auch nicht mehr geben ;)
Klingt nach einer Lösung, vielleicht aber auch nur vorübergehend ...
Ist Flummy_DTU insgesamt dein erstes MQTT2-Device ?
Und soll auch dauerhaft insgesamt dein einziges MQTT2-Device bleiben ?
Nein. Es ist weder das Einzige (hab sehr viele mqtt Geräte drin - zumeist Shelly / Tasmota Geräte) und wird demnach nicht das Einzige bleiben :)
Ich hab das selbe Thema.
Eine Antwort ist noch offen. Schau dir dazu mal den Thread an.
https://forum.fhem.de/index.php/topic,121282.180.html
So hab ich es verstanden:
1. AHOYDUT über MQTT mit FHEM verbinden.
2. Diesem MQTT Device das das Attribut template "Homiles-Microinverter-Hub_Bridge" zuweisen
3. Dann wird ein neues MQTT device per Autocreate angelegt.
4. Dieses Device soll dann das Attribut Template "oymiles_microinverter_inverter" bekommen. (wenn das Template da ist ???)
Vielleicht kommst du zu er Erleuchtung wie es geht.
Gruss Gerd
@flummy1978
Das klingt danach, dass du bereits ein zentrales MQTT2-Device mit einem bridgeRegexp-Attribut haben könntest(/müsstest)
... oder hast Du ein solches Attribut mehrfach im Einsatz ?
Ist ein Gerät mit bridgeRegexp-Attribut quasi ohne Readings (IODev ausgenommen) ?
Wurde Flummy_DTU autom. oder manuell angelegt ?
@GeZi3560
Es gibt zwei Templates, die auf Deinen Fall passen müssten.
hoymiles_microinverter_hub_bridge
hoymiles_microinverter_inverter
Wenn Du auf einem Updatestand nach 20200905 bist, solltest Du hoymiles_microinverter_hub_bridge angeboten bekommen.
Wenn nicht, hast Du vermutlich kein MQTT2_DEVICE ...
Hast Du es gefunden und angewendet und "irgendwann" wurde ein neues MQTT2_DEVICE angelegt, sollte auch hoymiles_microinverter_inverter angeboten werden ...
Ja, genau so hatte ich es ja beschrieben.
Nun, nach zwei Tagen ist dann auch das Inverter Template verfügbar.
Manchmal hilft Geduld.
DANKE !
Gerd
Hallöchen,
so jetzt zu Hause am Rechner da kann ich alles entpsrechend beantworten:
Zitat von: OdfFhem am 16 Februar 2023, 09:01:04
@flummy1978
.........
Das klingt danach, dass du bereits ein zentrales MQTT2-Device mit einem bridgeRegexp-Attribut haben könntest(/müsstest)
Wurde Flummy_DTU autom. oder manuell angelegt ?Nein, ich habe (wissentlich) kein anderes zentrales MQTT2-Device mit einem bridgeRegexp-Attribut (siehe Frage unten)
Das oben geliste Device, wurde:
zunächst
automatisch angelegt wurde -> dann mit Hilfe von attrTemplate in -> hoymiles_microinverter_inverter -> umgewandelt.
Danach war dann das Device, welches das o.g. List hatte. Mir war nicht bewusst, dass ich für diese Funktion speziell eine Bridge brauche. Ich habe mich lediglich gewundert, warum ich zwei Geräte brauche um mit einem Endgerät zu kommunizieren (Andere MQTT Geräte schaffen das ja auch so?) GeZi3560 s Hinweis brauchte dann bisher (scheinbar) die Lösung. Habe es nach der Form gemacht. Nun habe ich zwei Geräte...... aber es scheint ok zu sein?
... oder hast Du ein solches Attribut mehrfach im Einsatz ?Falls Du damit das bridgeRegexp attr meinst, nein. Das habe ich (auch wissentlich) nicht im Einsatz. Hier wurde es ja auch durch das attr Template angelegt.
Zitat von: GeZi3560 am 16 Februar 2023, 08:47:36
Ich hab das selbe Thema.
Eine Antwort ist noch offen. Schau dir dazu mal den Thread an.
.....
Hallo Gerd,
auch wenn es bei Dir jetzt ebenfalls funktioniert hat, danke ich Dir für den Hinweis. Ich habe es genau nach der Variante gemacht, wobei das invertrer Template bei mir sofort vorhanden war ???
Dummerweise würde ich in solchen Fällen gern verstehen, was ich da falsch gemacht habe, oder warum es jetzt doch geht, oder warum man hier zwei Geräte braucht um mit einem Endgerät zu kommuniziern. Das ist alles ein wenig verwirrend.
Dennoch bis hierhin auf jeden Fall schon mal vielen Dank für die Hilfe und bisherigen Hinweise :)
VG
Andreas
Dummerweise würde ich in solchen Fällen gern verstehen, was ich da falsch gemacht habe, oder warum es jetzt doch geht, oder warum man hier zwei Geräte braucht um mit einem Endgerät zu kommuniziern.
Das ist alles ein wenig verwirrend.
Es ist eigentlich ganz logisch.. du brauchst zwei Devices weil du zwei Geräte hast. :)
1. ist die DTU (vergleichbar mit dem CUL)
2. ist der Inverter, also die Homiles Box
Hast du mehrere Homiles können die mit der 1. DTU kommunizieren, die gibts dann also nur einmal.
Wird dir das so klarer?
Moinsen,
Zitat von: GeZi3560 am 16 Februar 2023, 17:48:27
Es ist eigentlich ganz logisch.. du brauchst zwei Devices weil du zwei Geräte hast. :)
Wird dir das so klarer?
Aber sowas von :D. Vielen Dank für die Erklärung. Wenn man das so sieht, wird es in der Tat ganz logisch Nun ist such seitdem ich das so eingestellt habe, auch kein neues Gerät mehr dazu gekommen (und das ist auch die Erklärung dafür und auch eine Erklärung für das vorherige Gerät)
Vielen Dank noch mal dafür :)
VG
Andreas
PS ich markiere dann mal als erledigt. Ist ja in meinem Fall so