Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 762 Bytes

README.md

File metadata and controls

30 lines (27 loc) · 762 Bytes

micropython-sonoff-basic

Alternate firmware for sonoff-basic written in micropython.

Status (work in progress):

Example: home-assistant config.yaml

mqtt:
  broker: 10.0.1.5

switch:
  - platform: mqtt
    name: "Sonoff1"
    state_topic: "stat/sonoff1/power"
    command_topic: "cmnd/sonoff1/power"
    payload_on: "ON"
    payload_off: "OFF"
    state_on: "ON"
    state_off: "OFF"
    optimistic: false
    qos: 0
    retain: true