tfyoung / esphome-junctek_kgf

Component for esphome to read status from a Junctek KG-F coulometer/battery monitor via UART
MIT License
27 stars 20 forks source link

Setup for dummies !!! #3

Closed Quattrohead closed 1 year ago

Quattrohead commented 1 year ago

Hello, I am no programmer at all but a good electro-mechanical engineer. As such, I am slowly working out how to use HA with my home and would like to add this module to it. I have the Junctek and RS485 to UART and USB converters and the HA computer is near enough to connect directly via USB. Can you give me some idea of how to set this up in HA. Thanks, Kevin.

tfyoung commented 1 year ago

Hi Kevin,

Sorry for the delayed reply. Things have been busy lately. I'm not sure whether to hope this reply is useful, or that you've manged to solve your problem already.

The way this works is via esphome, so you'll also need an esp chip wired to an RS485 UART. Either esp8266 or esp32. That esp chip would then use WIFI to connect to HA. There are lots of tutorials on esphome with the esp chips.

It would also be possible to have it work directly plugged into HA via the USB, but you'd need to essentially rewrite this module from scratch in python to work directly with HA, not esphome.