ESPHome Can BUS ID modification from websever

Dear All!

I would like to change the can bus sender ID and receive ID from webserver in runtime. How can I do this? I made a firmware for esp32c3 which acts as a thermostat and I don’t wan to burn in the canbus IDs to the firmware, because the firmware will be used on 5 devices. I would like to make it changeable by user from webserver, to set different ID on all of the devices.

David

Try with template number for id and point to that with lambda on your actions.