ioBroker / AdapterRequests

This Place is used to track the status of new Adapter-Requests.
248 stars 36 forks source link

IoBroker Bluetooth connection for Daly-BMS #712

Open GitJan75 opened 2 years ago

GitJan75 commented 2 years ago

I´d like to have an IoBroker Adpater for my Daly LiFePO4 smart BMS to read out all the values of my 3 battery´s. image

Are other libraries for an integration available? I know that there is a protocol description available, afaik someone implemented it in ESP8266.......I´ll add the information if i find it again.

After you created the issue vote for yourself in the first post of the issue using the "+1"/"Thumbs up" button

GitJan75 commented 2 years ago

+1

Apollon77 commented 2 years ago

@GitJan75 "me too posts" help noone one GitHub ... never ... and especially not for ioBroker adapter Requests ... better "thumb up" on the first post, because else it is totally invisible

softwarecrash commented 2 years ago

you mean this? https://github.com/softwarecrash/DALY-BMS-to-MQTT you can integrate your bms over mqtt.

else you need for every bms a special USB cable with a max232 inside, and when someting goes wrong you kill your pi/pc when you connect the ground from all bms over usb... i have seen burning cables with this constelations

GitJan75 commented 2 years ago

Hi Rocky,

almost yes!

I would have nearly the same but without the RS232 connection and the ESP.

My suggestion is that i can use the present BT Bluetooth-Modules on my DalyBms of my accus and read them out with Iobroker directly by the Raspberry integrated BT-Module.

BUT:

Your link is a really good alternative for me! I´ll start to try it out on one of my 5 accus.

Thank you very much!

Jan

Von: Rocky @.> Gesendet: Montag, 25. Juli 2022 19:33 An: ioBroker/AdapterRequests @.> Cc: GitJan75 @.>; Mention @.> Betreff: Re: [ioBroker/AdapterRequests] IoBroker Bluetooth connection for Daly-BMS (Issue #712)

you mean this? https://github.com/softwarecrash/DALY-BMS-to-MQTT you can integrate your bms over mqtt

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/AdapterRequests/issues/712#issuecomment-1194392227 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNAKGFATYU7KOAUNDV6FDLVV3FTZANCNFSM5RUILOCQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNAKGCCJHIQSRN6YYZPCDDVV3FTZA5CNFSM5RUILOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI4YPVIY.gif Message ID: @. @.> >

-- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus

softwarecrash commented 2 years ago

Hi Rocky, almost yes! I would have nearly the same but without the RS232 connection and the ESP. My suggestion is that i can use the present BT Bluetooth-Modules on my DalyBms of my accus and read them out with Iobroker directly by the Raspberry integrated BT-Module. BUT: Your link is a really good alternative for me! I´ll start to try it out on one of my 5 accus. Thank you very much! Jan Von: Rocky @.> Gesendet: Montag, 25. Juli 2022 19:33 An: ioBroker/AdapterRequests @.> Cc: GitJan75 @.>; Mention @.> Betreff: Re: [ioBroker/AdapterRequests] IoBroker Bluetooth connection for Daly-BMS (Issue #712) you mean this? https://github.com/softwarecrash/DALY-BMS-to-MQTT you can integrate your bms over mqtt — Reply to this email directly, view it on GitHub <#712 (comment)> , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNAKGFATYU7KOAUNDV6FDLVV3FTZANCNFSM5RUILOCQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNAKGCCJHIQSRN6YYZPCDDVV3FTZA5CNFSM5RUILOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI4YPVIY.gif Message ID: @. @.> > -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus

I think the simple Problem is that a Lot of BMS is in the Market and uses different protocols, so an Adapter explizit for Daly is useless. It needs an Adapter for all BMS, gut This can handle the solarlog system. So i have written This Code for daly to get Data ober mqtt. The cost are minimal, all you need is a esp8266(01 is enugh) and a icoupler

GitJan75 commented 2 years ago

Hi Rocky,

Hello Rocky, Yes, I know the protocol problem. My hope was that because almost all YouTube channels work with the DalyBms, there might be a Bluetooth solution. But your solution is very good and also very suitable for me, I will try it.

Von: Rocky @.> Gesendet: Dienstag, 26. Juli 2022 18:59 An: ioBroker/AdapterRequests @.> Cc: GitJan75 @.>; Mention @.> Betreff: Re: [ioBroker/AdapterRequests] IoBroker Bluetooth connection for Daly-BMS (Issue #712)

Hi Rocky, almost yes! I would have nearly the same but without the RS232 connection and the ESP. My suggestion is that i can use the present BT Bluetooth-Modules on my DalyBms of my accus and read them out with Iobroker directly by the Raspberry integrated BT-Module. BUT: Your link is a really good alternative for me! I´ll start to try it out on one of my 5 accus. Thank you very much! Jan Von: Rocky @.> Gesendet: Montag, 25. Juli 2022 19:33 An: ioBroker/AdapterRequests @.> Cc: GitJan75 @.>; Mention @.> Betreff: Re: [ioBroker/AdapterRequests] IoBroker Bluetooth connection for Daly-BMS (Issue #712 https://github.com/ioBroker/AdapterRequests/issues/712 ) you mean this? https://github.com/softwarecrash/DALY-BMS-to-MQTT you can integrate your bms over mqtt — Reply to this email directly, view it on GitHub <#712 (comment) https://github.com/ioBroker/AdapterRequests/issues/712#issuecomment-1194392227 > , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNAKGFATYU7KOAUNDV6FDLVV3FTZANCNFSM5RUILOCQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNAKGCCJHIQSRN6YYZPCDDVV3FTZA5CNFSM5RUILOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI4YPVIY.gif Message ID: @. @.> > … -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus

I think the simple Problem is that a Lot of BMS is in the Market and uses different protocols, so an Adapter explizit for Daly is useless. It needs an Adapter for all BMS, gut This can handle the solarlog system. So i have written This Code for daly to get Data ober mqtt. The cost are minimal, all you need is a esp8266(01 is enugh) and a icoupler

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/AdapterRequests/issues/712#issuecomment-1195740735 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNAKGEGBQIKKHX4CCTDYBLVWAKNJANCNFSM5RUILOCQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNAKGB44AE422R5QBE25HDVWAKNJA5CNFSM5RUILOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5CY4PY.gif Message ID: @. @.> >

softwarecrash commented 2 years ago

Hi Rocky, Hello Rocky, Yes, I know the protocol problem. My hope was that because almost all YouTube channels work with the DalyBms, there might be a Bluetooth solution. But your solution is very good and also very suitable for me, I will try it. Von: Rocky @.> Gesendet: Dienstag, 26. Juli 2022 18:59 An: ioBroker/AdapterRequests @.> Cc: GitJan75 @.>; Mention @.> Betreff: Re: [ioBroker/AdapterRequests] IoBroker Bluetooth connection for Daly-BMS (Issue #712) Hi Rocky, almost yes! I would have nearly the same but without the RS232 connection and the ESP. My suggestion is that i can use the present BT Bluetooth-Modules on my DalyBms of my accus and read them out with Iobroker directly by the Raspberry integrated BT-Module. BUT: Your link is a really good alternative for me! I´ll start to try it out on one of my 5 accus. Thank you very much! Jan Von: Rocky @.> Gesendet: Montag, 25. Juli 2022 19:33 An: ioBroker/AdapterRequests @.> Cc: GitJan75 @.>; Mention @.> Betreff: Re: [ioBroker/AdapterRequests] IoBroker Bluetooth connection for Daly-BMS (Issue #712 <#712> ) you mean this? https://github.com/softwarecrash/DALY-BMS-to-MQTT you can integrate your bms over mqtt — Reply to this email directly, view it on GitHub <#712 (comment) <#712 (comment)> > , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNAKGFATYU7KOAUNDV6FDLVV3FTZANCNFSM5RUILOCQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNAKGCCJHIQSRN6YYZPCDDVV3FTZA5CNFSM5RUILOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI4YPVIY.gif Message ID: @. @.> > … -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus I think the simple Problem is that a Lot of BMS is in the Market and uses different protocols, so an Adapter explizit for Daly is useless. It needs an Adapter for all BMS, gut This can handle the solarlog system. So i have written This Code for daly to get Data ober mqtt. The cost are minimal, all you need is a esp8266(01 is enugh) and a icoupler — Reply to this email directly, view it on GitHub <#712 (comment)> , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNAKGEGBQIKKHX4CCTDYBLVWAKNJANCNFSM5RUILOCQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNAKGB44AE422R5QBE25HDVWAKNJA5CNFSM5RUILOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5CY4PY.gif Message ID: @. @.> >

When you need some Features or someelse feel free to write a issue on the Project (english/German)

GitJan75 commented 2 years ago

Thank you Rocky!

Von: Rocky @.> Gesendet: Dienstag, 26. Juli 2022 19:24 An: ioBroker/AdapterRequests @.> Cc: GitJan75 @.>; Mention @.> Betreff: Re: [ioBroker/AdapterRequests] IoBroker Bluetooth connection for Daly-BMS (Issue #712)

Hi Rocky, Hello Rocky, Yes, I know the protocol problem. My hope was that because almost all YouTube channels work with the DalyBms, there might be a Bluetooth solution. But your solution is very good and also very suitable for me, I will try it. Von: Rocky @.> Gesendet: Dienstag, 26. Juli 2022 18:59 An: ioBroker/AdapterRequests @.> Cc: GitJan75 @.>; Mention @.> Betreff: Re: [ioBroker/AdapterRequests] IoBroker Bluetooth connection for Daly-BMS (Issue #712 https://github.com/ioBroker/AdapterRequests/issues/712 ) Hi Rocky, almost yes! I would have nearly the same but without the RS232 connection and the ESP. My suggestion is that i can use the present BT Bluetooth-Modules on my DalyBms of my accus and read them out with Iobroker directly by the Raspberry integrated BT-Module. BUT: Your link is a really good alternative for me! I´ll start to try it out on one of my 5 accus. Thank you very much! Jan Von: Rocky @.> Gesendet: Montag, 25. Juli 2022 19:33 An: ioBroker/AdapterRequests @.> Cc: GitJan75 @.>; Mention @.> Betreff: Re: [ioBroker/AdapterRequests] IoBroker Bluetooth connection for Daly-BMS (Issue #712 https://github.com/ioBroker/AdapterRequests/issues/712 <#712 https://github.com/ioBroker/AdapterRequests/issues/712 > ) you mean this? https://github.com/softwarecrash/DALY-BMS-to-MQTT you can integrate your bms over mqtt — Reply to this email directly, view it on GitHub <#712 https://github.com/ioBroker/AdapterRequests/issues/712 (comment) <#712 (comment) https://github.com/ioBroker/AdapterRequests/issues/712#issuecomment-1194392227 > > , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNAKGFATYU7KOAUNDV6FDLVV3FTZANCNFSM5RUILOCQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNAKGCCJHIQSRN6YYZPCDDVV3FTZA5CNFSM5RUILOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI4YPVIY.gif Message ID: @. @.> > … -- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus I think the simple Problem is that a Lot of BMS is in the Market and uses different protocols, so an Adapter explizit for Daly is useless. It needs an Adapter for all BMS, gut This can handle the solarlog system. So i have written This Code for daly to get Data ober mqtt. The cost are minimal, all you need is a esp8266(01 is enugh) and a icoupler — Reply to this email directly, view it on GitHub <#712 (comment) https://github.com/ioBroker/AdapterRequests/issues/712#issuecomment-1195740735 > , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNAKGEGBQIKKHX4CCTDYBLVWAKNJANCNFSM5RUILOCQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNAKGB44AE422R5QBE25HDVWAKNJA5CNFSM5RUILOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5CY4PY.gif Message ID: @. @.> >

When you need some Features or someelse feel free to write a issue on the Project (english/German)

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/AdapterRequests/issues/712#issuecomment-1195765906 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNAKGDYD6VMBVGYHTE5HIDVWANKJANCNFSM5RUILOCQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNAKGCG2L573ARXT4CS2NLVWANKJA5CNFSM5RUILOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5C7BEQ.gif Message ID: @. @.> >

GitJan75 commented 1 year ago

Hallo Ingo,

vielen Dank für deine Info!........leider habe ich keine Ahnung, wie ich den Daumen hoch setzen kann…..muss ich da auf eine Antwort zu meinem Request warten und dann den Daumen hoch geben?

Ich steig da ehrlich gesagt nicht durch…..

PS: Weil ich deinen Namen in Umfeld meiner Eltern kenne……….warst du mal in einem Tanzkreis in Plochingen?

Von: Ingo Fischer @.> Gesendet: Samstag, 26. März 2022 21:29 An: ioBroker/AdapterRequests @.> Cc: GitJan75 @.>; Mention @.> Betreff: Re: [ioBroker/AdapterRequests] IoBroker Bluetooth connection for Daly-BMS (Issue #712)

@GitJan75 https://github.com/GitJan75 "me too posts" help noone one GitHub ... never ... and especially not for ioBroker adapter Requests ... better "thumb up" on the first post, because else it is totally invisible

— Reply to this email directly, view it on GitHub https://github.com/ioBroker/AdapterRequests/issues/712#issuecomment-1079769278 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYNAKGEQ7TZJ3PX5QCXANQDVB5XRBANCNFSM5RUILOCQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/AYNAKGE5QW7OPXT3M3NELS3VB5XRBA5CNFSM5RUILOC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIBN7RPQ.gif Message ID: @. @.> >

-- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus

Apollon77 commented 1 year ago

@GitJan75 einfach oben beim ersten post auf den "Daumen hoch" der schon gesetzt ist nochmal klicken. dann fügst Du deinen dazu.

Ich war zwar mal vor über 15 Jahren im Tanzkreis, aber nicht in Plochingen ;-)

Ranzig93 commented 1 year ago

@GitJan75 Hallo GitJan75, falls du noch eine Lösung suchst zum Auslesen der Daten mit IoBroker. Ist noch in der Testphase. Ich hab es mit einem normalen RS458 Adapter in Betrieb. Sollte aber mit einem RS232 UART Adapter auch funktionieren, da die Schnittstelle gleich ist.

https://github.com/Ranzig93/Daly_BMS_IoBroker

GitJan75 commented 1 year ago

@Ranzig93 Hallo Ranzig93, vielen Dank für die Info. Ich will zuerst die Lösung von Rocky versuchen (jeder Akku bekommt nen ESP, liest die Daten über 232/485 ein und schickt es per MQQT zum IoB). Meine Akkus sind modular und "mobil" aufgebaut, so dass ich einfach nur den Hauptsteckverbinder ziehen muss und eine Einheit z.B. in den Garten mitnehmen kann. Darum versuche ich das erst mal mit MQTT um mir weitere Verkabelung zu ersparen. War als Winterprojekt geplant und ich wollte schon längst fertig sein, aber es kommt zu viel dazwischen ;-( Aber auf jeden Fall: vielen Dank! Gruß Jan

softwarecrash commented 1 year ago

@Ranzig93 Hallo Ranzig93, vielen Dank für die Info. Ich will zuerst die Lösung von Rocky versuchen (jeder Akku bekommt nen ESP, liest die Daten über 232/485 ein und schickt es per MQQT zum IoB). Meine Akkus sind modular und "mobil" aufgebaut, so dass ich einfach nur den Hauptsteckverbinder ziehen muss und eine Einheit z.B. in den Garten mitnehmen kann. Darum versuche ich das erst mal mit MQTT um mir weitere Verkabelung zu ersparen. War als Winterprojekt geplant und ich wollte schon längst fertig sein, aber es kommt zu viel dazwischen ;-( Aber auf jeden Fall: vielen Dank! Gruß Jan

dann warte noch ein wenig mit dem bauen, es gibt demnächst eine V2 in der sich fast die komplette verkabelung ändert