devices.esphome.io

Orvibo B25

Orvibo B25

Device Type: plug
Electrical Standard: euukus
Board: esp8266

GPIO Pinout

PinFunction
GPIO14Push Button (HIGH = off, LOW = on)
GPIO05Relay
GPIO12Red LED (Used for status)
GPIO04Blue LED (Used for active state)

Basic Configuration

# Basic Config
esphome:
name: orvibo_b25
esp8266:
board: esp01_1m
# OTA flashing
ota:
- platform: esphome
wifi: # Your Wifi network details
# Enable fallback hotspot in case wifi connection fails
ap:
# Enabling the logging component
logger:
# Enable Home Assistant API
api:
# Enable the captive portal
captive_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
Edit this page on GitHub