Skip to content

Find Hoval canbus addresses

Nicolas Liaudat edited this page Aug 27, 2023 · 2 revisions

You have to find the hoval canbus addresses of homevent and toptronic and set it under config.yaml

To do that, activate the code under the section "Find can_id " in canbus.yaml

#### Find can_id `
`- can_id: 0  # listen to all messages`
  `can_id_mask: 0`
  `use_extended_id: true`
  `then:`
  `- lambda: |-`
        `if(x[1] == 0x42) { // response frame`
            `ESP_LOGI("can_id_find", "Response frame : hoval_homevent_canID is probably : %x", can_id);`
        `}else if(x[1] == 0x40) { // request frame`
            `ESP_LOGI("can_id_find", "Request frame : hoval_toptronic_canID is probably : %x", can_id);`
        `}

It will output messages on web interface like that :

[15:14:30][I][can_id_find:203]: Request frame : hoval_toptronic_canID is probably : 1fe04208

[15:14:30][I][can_id_find:201]: Response frame : hoval_homevent_canID is probably : 1fd047ff

Clone this wiki locally