Replies: 14 comments 13 replies
-
added the following in the section broadcast_to_all_bms: false and it works, but whats the porpose of the broadcast? jk_rs485_sniffer:
|
Beta Was this translation helpful? Give feedback.
-
Hi, Mate INFO ESPHome 2024.7.3 jk_rs485_sniffer: [source /config/esphome/jk-bms.yaml:59] 'broadcast_to_all_bms' is a required option for [jk_rs485_sniffer].
|
Beta Was this translation helpful? Give feedback.
-
tank vezry good no good no speack englich @ |
Beta Was this translation helpful? Give feedback.
-
Hi Mate, looks same problem with me try to add "broadcast_to_all_bms: true" into jk_rs485_sniffer: part uart:
|
Beta Was this translation helpful? Give feedback.
-
substitutions: esphome: libraries:- "ArduinoJson"includes:
- ./components/json/json_util.hesp32: #esp8266: board: d1_miniexternal_components: - source: ${external_components_source}refresh: 0s#- source: type: giturl: https://github.com/txubelaxu/esphome-jk-bms/ref: devcomponents: [ json ]#- source: ./components refresh: 0scomponents: [ jk_rs485_sniffer , jk_rs485_bms ]
wifi: Enable Home Assistant APIapi: ota:
logger: If you use Home Assistant please remove this
|
Beta Was this translation helpful? Give feedback.
-
broadcast_to_all_bms is a new mandatory parameter that must be configured inside jk_rs485_sniffer part:
You can set this parameter to true or to false. Why this parameter? |
Beta Was this translation helpful? Give feedback.
-
With last changes, some parameters have been moved from "sensor" type to "number" type. Why? Because I have got the capacity to change a lot of values. With "sensor" type those values could be only "READ", with "number" type are "READ & WRITE" You can see this example --> esp32-S3-example-jkpb-rs485_0master_2slaves.yaml |
Beta Was this translation helpful? Give feedback.
-
Congratulations!!!!
Have you tested if the "broadcast" is working for you? I mean, if you set
"broadcast" parameter to True, when you change a setting for one slave,
then all other slaves should get that same value.
Could you confirm, please?
Many thanks!!!
El dom, 11 ago 2024 a las 18:35, x230-thinkpad ***@***.***>)
escribió:
… OK. I have reviewed your config and, as I changed from "sensor" to
"number" types, in order to be able to changing the values, it is the cause
that your config does not work now. As number type, a lot of params are
READ & WRITE now.
So, you can get the new 7 slaves example from here:
https://github.com/txubelaxu/esphome-jk-bms/blob/main/esp32-S3-example-jkpb-rs485_0master_7slaves.yaml
Please, change it to adapt to your needs. I hope this could help you.
Thank you so much mate, all you have done is so great :)
image.png (view on web)
<https://github.com/user-attachments/assets/a63a11ff-d766-48e3-80c9-25b14700eaf4>
—
Reply to this email directly, view it on GitHub
<#20 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFHIJMHBVDCOL26AUC7ODETZQ6HGLAVCNFSM6AAAAABMDKMYJ6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZQGYZTSNQ>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
thank you
11 août 2024 17:45 "Txubelaxu" ***@***.*** ***@***.******@***.***>)> a écrit:
OK. I have reviewed your config and, as I changed from "sensor" to "number" types, in order to be able to changing the values. Now are READ & WRITE.
So, you can get the new 7 slaves example from here: https://github.com/txubelaxu/esphome-jk-bms/blob/main/esp32-S3-example-jkpb-rs485_0master_7slaves.yaml (https://github.com/txubelaxu/esphome-jk-bms/blob/main/esp32-S3-example-jkpb-rs485_0master_7slaves.yaml)
Please, change it to adapt to your needs. I hope this could help you.
—
Reply to this email directly, view it on GitHub (#20 (reply in thread)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/BDOKYWETX7QNUSKBACSGAJLZQ6BIDAVCNFSM6AAAAABMDKMYJ6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZQGYYDMNQ).
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
i am getting this when i try to send to esp: INFO ESPHome 2024.7.3 sensor.jk_rs485_bms: [source /config/esphome/esphome-web-0d4878.yaml:1106] line 1106 seems correct to me… and around line 2147 bms2 is missing and there is two bms6 in newest iteration. BMS6 starts at 2247 and 2280 |
Beta Was this translation helpful? Give feedback.
-
hello I put the file 2.0 the last on my ESP32 with Uart TTL Adapator and I still observe an error I took the Zero Master 2 Slave I am in Victron so on the BMS Master oblige to put the Dip all to Zero so Problem with ESP32 which has a 0x00 addressing so if I take as you tell me the file 0 master 2se I obtain an error see photos is the compilation and what you do !!! hhhhiiii
12 août 2024 14:08 "affer" ***@***.*** ***@***.******@***.***>)> a écrit:
i am getting this when i try to send to esp:
INFO ESPHome 2024.7.3
INFO Reading configuration /config/esphome/esphome-web-0d4878.yaml...
INFO Updating ***@***.*** ***@***.***)
Failed config
sensor.jk_rs485_bms: [source /config/esphome/esphome-web-0d4878.yaml:1106]
platform: jk_rs485_bms
jk_rs485_bms_id: bms2
balancing_direction:
name: rs485-bms2 balancing direction
cell_voltage_min:
name: rs485-bms2 cell voltage min
cell_voltage_max:
line 1106 seems correct to me…Screenshot.2024-08-12.at.14.07.27.png (view on web) (https://github.com/user-attachments/assets/bb269158-db57-4974-8392-28cdca6d4bb3)
------------------------------------
and around line 2147 bms2 is missing and there is two bms6 in newest iteration. BMS6 starts at 2247 and 2280
—
Reply to this email directly, view it on GitHub (#20 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/BDOKYWFTC3NPKZG6GXRIPKLZRCQSHAVCNFSM6AAAAABMDKMYJ6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZRGM3DAMQ).
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
INFO ESPHome 2024.4.2
INFO Reading configuration /config/jk.yaml...
INFO Updating https://github.com/txubelaxu/esphome-jk-bms.git@main
Failed config
jk_rs485_sniffer: [source /config/jk.yaml:71]
'broadcast_to_all_bms' is a required option for [0].
protocol_version: JK02_32S
rx_timeout: 500ms
uart_id: uart_0
talk_pin: GPIO4
Beta Was this translation helpful? Give feedback.
All reactions