Skip to content

havnfun/micropython-sonoff-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Control sonoff-basic using mqtt. Written in micropython.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages