devices.esphome.io
Orvibo B25
Orvibo B25
Device Type: plugBoard: esp8266
GPIO Pinout
| Pin | Function |
|---|---|
| GPIO14 | Push Button (HIGH = off, LOW = on) |
| GPIO05 | Relay |
| GPIO12 | Red LED (Used for status) |
| GPIO04 | Blue LED (Used for active state) |
Basic Configuration
# Basic Configesphome: name: orvibo_b25
esp8266: board: esp01_1m # OTA flashingota: - platform: esphome
wifi: # Your Wifi network details # Enable fallback hotspot in case wifi connection fails ap:
# Enabling the logging componentlogger:
# Enable Home Assistant APIapi:
# Enable the captive portalcaptive_portal:
# Device Specific Config
binary_sensor: - platform: gpio pin: number: GPIO14 mode: INPUT_PULLUP inverted: True name: "B25 Plug button" on_press: - switch.toggle: relay - platform: status name: "B25 Plug Status"
switch: - platform: gpio name: "B25 Plug relay" pin: GPIO05 id: relay on_turn_on: - output.turn_on: activity_led on_turn_off: - output.turn_off: activity_led
status_led: # Display red flashing LED when connecting to Wifi pin:
output: # Blue LED, set for Off when switch = Off / On when switch = On - id: activity_led platform: gpio pin: GPIO04