ESPHome-Devices

Orvibo B25

Orvibo B25

Device Type: plug
Electrical Standard: euukus

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
platform: ESP8266
board: esp01_1m
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
logger:
api:
ota:
# 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:
number: GPIO12
sensor:
- platform: wifi_signal
name: "B25 WiFi signal"
update_interval: 60s
- platform: uptime
name: "B25 Uptime"
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