Skip to content

Homekit firmware for the Sonoff basic module to control a PWM dimmable power supply

License

Notifications You must be signed in to change notification settings

PA7T/sonoff_basic_pwm_with_relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sonoff basic pwm with relay

Homekit firmware for the Sonoff basic module to control a PWM dimmable power supply

This is an example for esp-homekit-demo

Demo of Apple HomeKit accessory server library.

Usage

See build instructions

Then build it by running

docker run -it --rm -v `pwd`:/project -w /project esp-rtos make -C sonoff_basic_pwm_with_relay all

Then flash it (and optionally immediately run monitor)

docker run -it --rm -v `pwd`:/project -w /project --device=/dev/ttyUSB0 esp-rtos make -C sonoff_basic_pwm_with_relay flash

NOTE: you can have the following helper function in ~/.bashrc:

docker-run() {
  docker run -it --rm -v $(pwd):/project -w /project "$@"
}

Then, to run a container to build flash and monitor just do

docker-run --device=/dev/ttyUSB0 esp-rtos make -C sonoff_basic_pwm_with_relay all flash monitor

About

Homekit firmware for the Sonoff basic module to control a PWM dimmable power supply

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published