I2C bus scan after deep sleep recovery

I found the working config:

  on_boot:
    priority: 600
    then:
     - lambda: |-
        Wire.begin();
        delay(100);

It was important to set the priority at 600 (the power up of the enabling pins had a highest priority).

3 Likes