Új hozzászólás Aktív témák

  • Monkey

    tag

    Előre is bocsánat, ez hosszabb lesz, nem tudom, hogy lehet összehúzni.

    Még egy észrevétel, nem tudom, hogy van -e jelentősége, de teljesen más gpio-k szerepelnek a konfigban, mint a logban, az időbélyegző mögött. Hátha valakinek mond valamit. Azt tudom, hogy egy esp32-nek nincs is annyi gpio-ja, mint amilyen számokat a logban olvasni.

    Konfig:
    switch:.
    - platform: gpio
    pin: 2
    name: "Relay_1"
    id: relay_1
    - platform: gpio
    pin: 4
    name: "Relay_2"
    id: relay_2
    - platform: gpio
    pin: 13
    name: "Relay_3"
    id: relay_3
    - platform: gpio
    pin: 16
    name: "Relay_4"
    id: relay_4
    - platform: gpio
    pin: 32
    name: "Relay_5"
    id: relay_5
    - platform: gpio
    pin: 33
    name: "Relay_6"
    id: relay_6

    Log részlet:

    [21:20:17][C][switch.gpio:042]: GPIO Switch 'Relay_1'
    [21:20:17][C][switch.gpio:043]: Pin: GPIO2 (Mode: OUTPUT)
    [21:20:17][C][switch.gpio:059]: Restore Mode: Restore (Defaults to OFF)
    [21:20:17][C][switch.gpio:042]: GPIO Switch 'Relay_2'
    [21:20:17][C][switch.gpio:043]: Pin: GPIO4 (Mode: OUTPUT)
    [21:20:17][C][switch.gpio:059]: Restore Mode: Restore (Defaults to OFF)
    [21:20:17][C][switch.gpio:042]: GPIO Switch 'Relay_3'
    [21:20:17][C][switch.gpio:043]: Pin: GPIO13 (Mode: OUTPUT)
    [21:20:17][C][switch.gpio:059]: Restore Mode: Restore (Defaults to OFF)
    [21:20:17][C][switch.gpio:042]: GPIO Switch 'Relay_4'
    [21:20:17][C][switch.gpio:043]: Pin: GPIO16 (Mode: OUTPUT)
    [21:20:17][C][switch.gpio:059]: Restore Mode: Restore (Defaults to OFF)
    [21:20:17][C][switch.gpio:042]: GPIO Switch 'Relay_5'
    [21:20:17][C][switch.gpio:043]: Pin: GPIO32 (Mode: OUTPUT)
    [21:20:17][C][switch.gpio:059]: Restore Mode: Restore (Defaults to OFF)
    [21:20:17][C][switch.gpio:042]: GPIO Switch 'Relay_6'
    [21:20:17][C][switch.gpio:043]: Pin: GPIO33 (Mode: OUTPUT)
    [21:20:17][C][switch.gpio:059]: Restore Mode: Restore (Defaults to OFF)

Új hozzászólás Aktív témák