Ritar BAT-5KWH-51.2V LiFePo4 Battery integration to homeassistant.
Hello, everyone. Im working on it. Maybe it will be usefull for someone, enjoy and join to my project.
Ritar BAT-5KWH-51.2V LiFePo4 Battery integration to homeassistant.
Hello, everyone. Im working on it. Maybe it will be usefull for someone, enjoy and join to my project.
(post deleted by author)
(post deleted by author)
(post deleted by author)
Approved what Neuton Power batteries (YHI Energy) have same BMS, atleast in NPL12-100/BT original bluetooth software spare with Ritar native BT software
How about other models - IDK
(post deleted by author)
(post deleted by author)
(post deleted by author)
(post deleted by author)
(post deleted by author)
(post deleted by author)
Hello, thanks for your work, there is almost no info about the Ritar batteries online.
I have two of 51.2V and four of 12.8V with Bluetooth batteries.
Im triying to add all of them to HA but Im still new.
Could you add support for direct RS485 comunication? or give me some tips to add this myself.
Regards
hello, im my integration rs485 ethernet gate - just used like remote com port (not modbus RTU), but here can be used just rs485 to usb, like this one Перетворювач RS-485 на USB (CH340) купити в Києві та Україні (this one im tested) or some like thats : Інтерфейсний модуль MAX485 UART-RS485 купити в Києві та Україні or Захищений модуль адаптера USB-RS485 на FT232 купити в Києві та Україні - if you have not too long distance to computer where work homeassistant
in homeassistant at this moment you can share on self usb-ip server (or on any another linux computer or rapsberry pi) and mount on self. it will work like selfgate ethernet to rs485
then you can set in my integration ip:port with shared over network usb rs485 stick
but still more easy and more cheap way is use any hardware rs485 to ethernet
and sure, here is alot DIY projects based on esp32+uart-to-rs485 whats work over wifi (just selfmaiden gate)
situation why im done all for remote rs485 ethernet gate - because batteries can be in one place, inverter too (work with same second gate over ethernet but with converting to modbus RTU) and homeassiastant can be in any location (datacenter) in virtual machine. in this case you just need bounce rs485 ethernet gate port over NAT on router, and remote homeassistant be able to connect and monitoring batteries on another world side
anyway rs232, UART, rs485 - similar but different ports, and you still need some device for rs485 connecting with batteries, even if they in couple meters range from homeassistant machine
Thanks, I get it working on a local serial port, the code is awful but it’s working, someday I will clean it.
I want to use the local serial port because I have the raspberry running home assistant in the same wall as the inverter and batteries.
with local rapsberry you need uart to rs485 converter like this one - Интерфейсный модуль MAX485 UART-RS485 купить в Киеве и Украине because direct connection from uart will not work, on one side connect to uart on rabsberry and on output connect to battery rs485 two wires in hole (brown pair in regular patchcord to master battery and regular short pathcord from master battery out to slave battery in) or usb to rs485 dongle
just now look on your fork, nice work, pal ) im now trying re do queries part, and add multigate support, but no important successes yet. will back to thats alot later
P.s. and yep, i know what done alot dirty code, but not found yet ways for clearing some things.
UPDATE 1.8 - added support for serial connection, now you can choose what connection type you prefer. Major reworks and optimizations.
hello, can you please, test new 1.8 version on yours serial connection setup ? im just not have equipment close to batteries
Hi, I tested it today, its not working, there is a permision error with the serial port, you need to add “uart: true” to the config.yaml file to enable the use of the port.
Do you know if I can edit the python file that is already “install” in the docker directly? That would make the test a lot faster.