Daly BMS in FHEM

Begonnen von Henno, 02 Juni 2024, 20:22:03

Vorheriges Thema - Nächstes Thema

Henno

Hallo zusammen,

ich habe soweit erfolgreich meine Daly BMS in FHEM, was mit fehlt sind die set Kommandos zum Schalten der FETs
Es gibt dazu hier Infos
https://github.com/softwarecrash/Daly2MQTT/wiki/Editable-values-over-MQTT-and-Json
Allerding habe ich keine Ahnung wie ich das in FHEM umsetzen kann.

setlist
true cmnd/DEVICETOPIC/Device_Control/Pack_DischargeFET true\
false cmnd/DEVICETOPIC/Device_Control/Pack_DischargeFET false\

sowie
Pack_DischargeFET:true,false $DEVICETOPIC/set {"Pack_DischargeFET": "$EVTPART1"}
oder auch
Pack_DischargeFET:true,false $DEVICETOPIC/Device_Control/Pack_DischargeFET {"Pack_DischargeFET": "$EVTPART1"}

funktionieren nicht.


Kann mir da jemand helfen??




Otto123

Hi,

zeig doch mal ein list vom jetzigen Device. https://forum.fhem.de/index.php/topic,71806.0.html

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

Henno

Internals:
   CID        Daly2MQTT_EEFDEF
   DEF        Daly2MQTT_EEFDEF
   FUUID      665a34d1-f33f-46e2-a0a7-8121d7ebe2f1e079
   IODev      myBroker
   LASTInputDev myBroker
   MSGCNT     1598
   NAME       Daly_280Ah
   NR         808
   STATE      52.3
   TYPE       MQTT2_DEVICE
   eventCount 1615
   myBroker_CONN myBroker_192.168.178.126_63168
   myBroker_MSGCNT 1598
   myBroker_TIME 2024-06-02 20:53:44
   READINGS:
     2024-06-02 20:53:43   Alive           true
     2024-06-02 20:53:44   Cell_1          3.271
     2024-06-02 20:53:44   Cell_10         3.272
     2024-06-02 20:53:44   Cell_11         3.272
     2024-06-02 20:53:44   Cell_12         3.272
     2024-06-02 20:53:44   Cell_13         3.272
     2024-06-02 20:53:44   Cell_14         3.272
     2024-06-02 20:53:44   Cell_15         3.272
     2024-06-02 20:53:44   Cell_16         3.271
     2024-06-02 20:53:44   Cell_2          3.272
     2024-06-02 20:53:44   Cell_3          3.272
     2024-06-02 20:53:44   Cell_4          3.272
     2024-06-02 20:53:44   Cell_5          3.272
     2024-06-02 20:53:44   Cell_6          3.272
     2024-06-02 20:53:44   Cell_7          3.272
     2024-06-02 20:53:44   Cell_8          3.272
     2024-06-02 20:53:44   Cell_9          3.272
     2024-06-02 17:50:46   Device_IP       192.168.178.126
     2024-06-02 17:50:26   IODev           myBroker
     2024-06-02 20:53:43   Pack_BMS_Temperature 17
     2024-06-02 20:53:44   Pack_Balance_Active false
     2024-06-02 20:53:43   Pack_Cell_Difference 1
     2024-06-02 20:53:43   Pack_Cell_High  2
     2024-06-02 20:53:43   Pack_Cell_High_Voltage 3.272
     2024-06-02 20:53:43   Pack_Cell_Low   1
     2024-06-02 20:53:43   Pack_Cell_Low_Voltage 3.271
     2024-06-02 20:53:44   Pack_Cell_Temperature_1 17
     2024-06-02 20:53:43   Pack_Cells      16
     2024-06-02 20:53:43   Pack_ChargeFET  true
     2024-06-02 20:53:43   Pack_Current    -3.6
     2024-06-02 20:53:43   Pack_Cycles     7
     2024-06-02 20:53:43   Pack_DischargeFET true
     2024-06-02 20:53:44   Pack_Failure   
     2024-06-02 20:53:43   Pack_Heartbeat  145
     2024-06-02 20:53:43   Pack_Power      -188.3
     2024-06-02 20:53:44   Pack_Relais     false
     2024-06-02 20:53:44   Pack_Relais_Manual false
     2024-06-02 20:53:43   Pack_Remaining_Ah 146.4
     2024-06-02 20:53:43   Pack_Remaining_kWh 7.66
     2024-06-02 16:46:50   Pack_Remaining_mAh 152320
     2024-06-02 20:53:43   Pack_SOC        52.3
     2024-06-02 20:53:43   Pack_Status     Discharge
     2024-06-02 20:53:43   Pack_Voltage    52.3
     2024-06-02 20:53:43   Wifi_RSSI       -63
     2024-06-02 20:16:59   state           false
     2024-06-02 20:53:43   sw_version      2.14.0
Attributes:
   readingList Daly2MQTT_EEFDEF:BMS01/Alive:.* Alive
Daly2MQTT_EEFDEF:BMS01/Device_IP:.* Device_IP
Daly2MQTT_EEFDEF:BMS01/Wifi_RSSI:.* Wifi_RSSI
Daly2MQTT_EEFDEF:BMS01/sw_version:.* sw_version
Daly2MQTT_EEFDEF:BMS01/Pack_Voltage:.* Pack_Voltage
Daly2MQTT_EEFDEF:BMS01/Pack_Current:.* Pack_Current
Daly2MQTT_EEFDEF:BMS01/Pack_Power:.* Pack_Power
Daly2MQTT_EEFDEF:BMS01/Pack_SOC:.* Pack_SOC
Daly2MQTT_EEFDEF:BMS01/Pack_Remaining_mAh:.* Pack_Remaining_mAh
Daly2MQTT_EEFDEF:BMS01/Pack_Cycles:.* Pack_Cycles
Daly2MQTT_EEFDEF:BMS01/Pack_BMS_Temperature:.* Pack_BMS_Temperature
Daly2MQTT_EEFDEF:BMS01/Pack_Cell_High:.* Pack_Cell_High
Daly2MQTT_EEFDEF:BMS01/Pack_Cell_Low:.* Pack_Cell_Low
Daly2MQTT_EEFDEF:BMS01/Pack_Cell_High_Voltage:.* Pack_Cell_High_Voltage
Daly2MQTT_EEFDEF:BMS01/Pack_Cell_Low_Voltage:.* Pack_Cell_Low_Voltage
Daly2MQTT_EEFDEF:BMS01/Pack_Cell_Difference:.* Pack_Cell_Difference
Daly2MQTT_EEFDEF:BMS01/Pack_ChargeFET:.* Pack_ChargeFET
Daly2MQTT_EEFDEF:BMS01/Pack_DischargeFET:.* Pack_DischargeFET
Daly2MQTT_EEFDEF:BMS01/Pack_Status:.* Pack_Status
Daly2MQTT_EEFDEF:BMS01/Pack_Cells:.* Pack_Cells
Daly2MQTT_EEFDEF:BMS01/Pack_Heartbeat:.* Pack_Heartbeat
Daly2MQTT_EEFDEF:BMS01/Pack_Balance_Active:.* Pack_Balance_Active
Daly2MQTT_EEFDEF:BMS01/Pack_Failure:.* Pack_Failure
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_1:.* Cell_1
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_1:.* Cell_1
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_2:.* Cell_2
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_2:.* Cell_2
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_3:.* Cell_3
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_3:.* Cell_3
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_4:.* Cell_4
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_4:.* Cell_4
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_5:.* Cell_5
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_5:.* Cell_5
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_6:.* Cell_6
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_6:.* Cell_6
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_7:.* Cell_7
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_7:.* Cell_7
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_8:.* Cell_8
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_8:.* Cell_8
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_9:.* Cell_9
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_9:.* Cell_9
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_10:.* Cell_10
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_10:.* Cell_10
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_11:.* Cell_11
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_11:.* Cell_11
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_12:.* Cell_12
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_12:.* Cell_12
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_13:.* Cell_13
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_13:.* Cell_13
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_14:.* Cell_14
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_14:.* Cell_14
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_15:.* Cell_15
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_15:.* Cell_15
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Voltage/Cell_16:.* Cell_16
Daly2MQTT_EEFDEF:BMS01/Pack_Cells_Balance/Cell_16:.* Cell_16
Daly2MQTT_EEFDEF:BMS01/Pack_Cell_Temperature_1:.* Pack_Cell_Temperature_1
Daly2MQTT_EEFDEF:BMS01/Pack_Relais:.* Pack_Relais
Daly2MQTT_EEFDEF:BMS01/Pack_Relais_Manual:.* Pack_Relais_Manual
Daly2MQTT_EEFDEF:BMS01/Pack_Remaining_Ah:.* Pack_Remaining_Ah
Daly2MQTT_EEFDEF:BMS01/Pack_Remaining_kWh:.* Pack_Remaining_kWh
   room       Interessant,MQTT2_DEVICE
   stateFormat Pack_SOC

TomLee

Hallo,

nimm mal:

attr Daly_280Ah setList Pack_DischargeFET:true,false BMS01/Device_Control/Pack_DischargeFET $EVTPART1
Klappt das ?

Henno