-
Notifications
You must be signed in to change notification settings - Fork 638
Maxim Prokhorov edited this page Dec 7, 2022
·
1 revision
Currently, this module only gets enabled programatically. For example, see Lights module
Command | description |
---|---|
pwm.write <channel> <duty> | Set PWM channel duty (percentage) |
Key | Description | Possible values | Default value |
---|---|---|---|
pwmFreq | (depends on the provider) | 500 (Hz) | |
pwmRes | Output duty resolution, in bits | 8...12bit (depends on the provider) | 10 (bit) |
pwmLimit | Maximum duty allowed | 0...100 (%) | 100 (%) |
Option | Note |
---|---|
PWM_PROVIDER=... |
Either PWM_PROVIDER_GENERIC or PWM_PROVIDER_ARDUINO . Default, PWM_PROVIDER_GENERIC
|
PWM_FREQUENCY |
500 (default) |
PWM_RESOLUTION |
10 (default) |
PWM_DUTY_LIMIT |
100 (default) |
If you're looking for support:
- Issues: this is the most dynamic channel at the moment, you might find an answer to your question by searching open or closed issues.
- Wiki pages: might not be as up-to-date as we all would like (hey, you can also contribute in the documentation!).
- Gitter channel: you have better chances to get fast answers from project contributors or other ESPurna users. (also available with any Matrix client!)
- Issue a question: as a last resort, you can open new question issue on GitHub. Just remember: the more info you provide the more chances you'll have to get an accurate answer.
- Backup the stock firmware
- Flash a pre-built binary image
- Flash a virgin Itead Sonoff device without opening
- Flash TUYA-based device without opening
- Flash Shelly device without opening
- Using PlatformIO
- from Visual Studio Code
- Using Arduino IDE
- Build the Web Interface
- Over-the-air updates
- Two-step updates
- ESPurna OTA Manager
- NoFUSS
- Troubleshooting
- MQTT
- REST API
- Domoticz
- Home Assistant
- InfluxDB
- Prometheus metrics
- Thingspeak
- Alexa
- Google Home
- Architecture
- 3rd Party Plugins
- Coding style
- Pull Requests