Closed TheNexter closed 1 year ago
Your automation looks good to me. I guess the on_value_range
action triggers only if a defined value is crossed (79 -> 80). The transition from NaN
to 80
won't be enough to turn off charging probably.
Please create a template number
entity as fake state of charge value. Move the automation to this template and play around with the values of the number. Does your automation trigger as expected?
Your automation looks good to me. I guess the
on_value_range
action triggers only if a defined value is crossed (79 -> 80). The transition fromNaN
to80
won't be enough to turn off charging probably.Please create a template
number
entity as fake state of charge value. Move the automation to this template and play around with the values of the number. Does your automation trigger as expected?
Thank you, men, your message help me allot to understand the problem i have, i am gonna finish the perfect automation to manage battery charge and make a pull request for anyone who want to limit charge of there battery 😁 (and thx GPT4 too)
‼️ For anyone who use : 🛴🚲 If you use ebrake on your scooter, do not forget to enable charge before going on your scooter, without charge switch up on your BMS you cannot use ebrake to brake. If you leave in house, you can have another esp32 that enable charge again when your scooter is close to go out of your garden.
I left some comments. Could you improve your PR?
I left some comments. Could you improve your PR?
reply on PR
Do you use a DIY battery pack for your scooter or was your scooter battery shipped with a JBD BMS?
Do you use a DIY battery pack for your scooter or was your scooter battery shipped with a JBD BMS?
DIY 😉
Hello guy,
Your project is awsome, thankkk you. (sorry for my english) I have setup an esp32 with home assistant and automation work great in home assistant but i do need to automate the charging stop at 80% for my office then i am trying to do it on the esp32 but it's not working, i disable the charge, i flash my esp32, home assistant have full control over my bms without any problem but after i plug the esp32 the charge need to start because my scooter is at 51%, do you have an idea ? 😞
Latest version is install 👍
my yml automation :
my full yml config :