# Drivers
Here is the latest, up to date drivers list.
This file was autogenerated by running 'node scripts/getcommands.js' in the repository.
All descriptions were taken from code.
Remember that some drivers might not be yet enabled on certain platforms,
but we can enable them for you per request. Some drivers might also be WIP.
Do not add anything here, as it will overwritten with next rebuild.
| Driver        | Description  |
|:------------- | -----:|
| TuyaMCU |  TuyaMCU is a protocol used for communication between WiFI module and external MCU. This protocol is using usually RX1/TX1 port of BK chips. See [TuyaMCU dimmer example](https://www.elektroda.com/rtvforum/topic3929151.html), see [TH06 LCD humidity/temperature sensor example](https://www.elektroda.com/rtvforum/topic3942730.html), see [fan controller example](https://www.elektroda.com/rtvforum/topic3908093.html), see [simple switch example](https://www.elektroda.com/rtvforum/topic3906443.html).<br/>See also [TuyaMCU on forum](https://www.elektroda.com/rtvforum/find.php?q=TuyaMCU). |
| tmSensor |  The tmSensor must be used only when TuyaMCU is already started. tmSensor is a TuyaMcu Sensor, it's used for Low Power TuyaMCU communication on devices like TuyaMCU door sensor, or TuyaMCU humidity sensor. After device reboots, tmSensor uses TuyaMCU to request data update from the sensor and reports it on MQTT. Then MCU turns off WiFi module again and goes back to sleep. See an [example door sensor here](https://www.elektroda.com/rtvforum/topic3914412.html).<br/>See also [tmSensor on forum](https://www.elektroda.com/rtvforum/find.php?q=tmSensor). |
| FREEZE |  Freeze is a test driver for watchdog. Enabling this will freeze device main loop.<br/>See also [FREEZE on forum](https://www.elektroda.com/rtvforum/find.php?q=FREEZE). |
| PIR |  PIR.<br/>See also [PIR on forum](https://www.elektroda.com/rtvforum/find.php?q=PIR). |
| PixelAnim |  PixelAnim provides a simple set of WS2812B animations.<br/>See also [PixelAnim on forum](https://www.elektroda.com/rtvforum/find.php?q=PixelAnim). |
| Drawers |  WS2812B driver wrapper with REST API for [smart drawers project](https://www.elektroda.com/rtvforum/topic4054134.html).<br/>See also [Drawers on forum](https://www.elektroda.com/rtvforum/find.php?q=Drawers). |
| HGS02 |  [HGS02](https://www.elektroda.com/rtvforum/viewtopic.php?p=21177061#21177061).<br/>See also [HGS02 on forum](https://www.elektroda.com/rtvforum/find.php?q=HGS02). |
| TCL |  TODO.<br/>See also [TCL on forum](https://www.elektroda.com/rtvforum/find.php?q=TCL). |
| OpenWeatherMap |  OpenWeatherMap integration allows you to fetch current weather for your lat/long. You can later extract temperatura, humidity and pressure data and display it on main page.<br/>See also [OpenWeatherMap on forum](https://www.elektroda.com/rtvforum/find.php?q=OpenWeatherMap). |
| Widget |  Widget driver allows you to create custom HTML snippets that are displayed on main OBK page. Snippets are loaded from LittleFS file system and can use OBK REST API.<br/>See also [Widget on forum](https://www.elektroda.com/rtvforum/find.php?q=Widget). |
| TestCharts |  Development only driver - a sample of chart generation with chart.js.<br/>See also [TestCharts on forum](https://www.elektroda.com/rtvforum/find.php?q=TestCharts). |
| Charts |  Charts driver allows you to create a customizable chart directly on your device. See [tutorial](https://www.elektroda.com/rtvforum/topic4075289.html).<br/>See also [Charts on forum](https://www.elektroda.com/rtvforum/find.php?q=Charts). |
| NTP |  NTP driver is required to get current time and date from web. Without it, there is no correct datetime. Put 'startDriver NTP' in short startup line or autoexec.bat to run it on start.<br/>See also [NTP on forum](https://www.elektroda.com/rtvforum/find.php?q=NTP). |
| HTTPButtons |  This driver allows you to create custom, scriptable buttons on main WWW page. You can create those buttons in autoexec.bat and assign commands to them.<br/>See also [HTTPButtons on forum](https://www.elektroda.com/rtvforum/find.php?q=HTTPButtons). |
| TESTPOWER |  This is a fake POWER measuring socket driver, only for testing.<br/>See also [TESTPOWER on forum](https://www.elektroda.com/rtvforum/find.php?q=TESTPOWER). |
| TESTLED |  This is a fake I2C LED driver, only for testing.<br/>See also [TESTLED on forum](https://www.elektroda.com/rtvforum/find.php?q=TESTLED). |
| TESTUART |  G.<br/>See also [TESTUART on forum](https://www.elektroda.com/rtvforum/find.php?q=TESTUART). |
| Test |  Self test of the device.<br/>See also [Test on forum](https://www.elektroda.com/rtvforum/find.php?q=Test). |
| I2C |  Generic I2C, not used for LED drivers, but may be useful for displays or port expanders. Supports both hardware and software I2C.<br/>See also [I2C on forum](https://www.elektroda.com/rtvforum/find.php?q=I2C). |
| RN8209 |  WIP driver for power-metering chip RN8209 found in one of Zmai-90 versions.<br/>See also [RN8209 on forum](https://www.elektroda.com/rtvforum/find.php?q=RN8209). |
| BL0942 |  BL0942 is a power-metering chip which uses UART protocol for communication. It's usually connected to TX1/RX1 port of BK. You need to calibrate power metering once, just like in Tasmota. See [LSPA9 teardown example](https://www.elektroda.com/rtvforum/topic3887748.html). By default, it uses 4800 baud, but you can also enable it with baud 9600 by using 'startDriver BL0942 9600', see [related topic](https://www.elektroda.com/rtvforum/viewtopic.php?p=20957896#20957896).<br/>See also [BL0942 on forum](https://www.elektroda.com/rtvforum/find.php?q=BL0942). |
| PWMG |  PWM Groups (synchronized PWMs) driver for OpenBeken.<br/>See also [PWMG on forum](https://www.elektroda.com/rtvforum/find.php?q=PWMG). |
| BL0942SPI |  BL0942 driver version for SPI protocol. It's usually connected to SPI1 port of BK. You need to calibrate power metering once, just like in Tasmota. See [PZIOT-E01 teardown example](https://www.elektroda.com/rtvforum/topic3945667.html). .<br/>See also [BL0942SPI on forum](https://www.elektroda.com/rtvforum/find.php?q=BL0942SPI). |
| ChargingLimit |  Mechanism to perform an action based on a max. delta value and max time. Used to control Electric Vehicle chargers. See [discussion](https://github.com/openshwprojects/OpenBK7231T_App/issues/892).<br/>See also [ChargingLimit on forum](https://www.elektroda.com/rtvforum/find.php?q=ChargingLimit). |
| BL0937 |  BL0937 is a power-metering chip which uses custom protocol to report data. It requires setting 3 pins in pin config: CF, CF1 and SEL.<br/>See also [BL0937 on forum](https://www.elektroda.com/rtvforum/find.php?q=BL0937). |
| CSE7761 |  TODO.<br/>See also [CSE7761 on forum](https://www.elektroda.com/rtvforum/find.php?q=CSE7761). |
| CSE7766 |  CSE7766 is a power-metering chip which uses UART protocol for communication. It's usually connected to TX1/RX1 port of BK.<br/>See also [CSE7766 on forum](https://www.elektroda.com/rtvforum/find.php?q=CSE7766). |
| MAX6675 |  Thermocouple driver for measuring high temperatures, see [presentation](https://www.elektroda.com/rtvforum/topic4055231.html).<br/>See also [MAX6675 on forum](https://www.elektroda.com/rtvforum/find.php?q=MAX6675). |
| PT6523 |  Car radio LCD driver, see [teardown and presentation](https://www.elektroda.com/rtvforum/topic3983111.html).<br/>See also [PT6523 on forum](https://www.elektroda.com/rtvforum/find.php?q=PT6523). |
| TextScroller |  Wrapper utility that can do text scrolling animation on implemented displays (WIP).<br/>See also [TextScroller on forum](https://www.elektroda.com/rtvforum/find.php?q=TextScroller). |
| SM16703P |  SM16703P is an individually addressable LEDs controller like WS2812B. Currently SM16703P LEDs are supported through hardware SPI, LEDs data should be connected to P16 (MOSI), [here you can read](https://www.elektroda.com/rtvforum/topic4005865.html) how to break it out on CB2S.<br/>See also [SM16703P on forum](https://www.elektroda.com/rtvforum/find.php?q=SM16703P). |
| SM15155E |  SM15155E is a WS2812B-like single wire LED controller. It's also always using P16 (SPI out) on Beken. See [reverse-engineering topic](https://www.elektroda.com/rtvforum/topic4060227.html).<br/>See also [SM15155E on forum](https://www.elektroda.com/rtvforum/find.php?q=SM15155E). |
| IR |  IRLibrary wrapper, so you can receive remote signals and send them. See [forum discussion here](https://www.elektroda.com/rtvforum/topic3920360.html), also see [LED strip and IR YT video](https://www.youtube.com/watch?v=KU0tDwtjfjw).<br/>See also [IR on forum](https://www.elektroda.com/rtvforum/find.php?q=IR). |
| IR2 |  TODO.<br/>See also [IR2 on forum](https://www.elektroda.com/rtvforum/find.php?q=IR2). |
| DDP |  DDP is a LED control protocol that is using UDP. You can use xLights or any other app to control OBK LEDs that way. See [DDP topic](https://www.elektroda.com/rtvforum/topic4040325.html).<br/>See also [DDP on forum](https://www.elektroda.com/rtvforum/find.php?q=DDP). |
| SSDP |  SSDP is a discovery protocol, so BK devices can show up in, for example, Windows network section.<br/>See also [SSDP on forum](https://www.elektroda.com/rtvforum/find.php?q=SSDP). |
| DGR |  Tasmota Device groups driver. See [forum example](https://www.elektroda.com/rtvforum/topic3925472.html) and [video tutorial](https://www.youtube.com/watch?v=e1xcq3OUR5M&ab_channel=Elektrodacom).<br/>See also [DGR on forum](https://www.elektroda.com/rtvforum/find.php?q=DGR). |
| Wemo |  Wemo emulation for Alexa. You must also start SSDP so it can run, because it depends on SSDP discovery.<br/>See also [Wemo on forum](https://www.elektroda.com/rtvforum/find.php?q=Wemo). |
| Hue |  Hue emulation for Alexa. You must also start SSDP so it can run, because it depends on SSDP discovery.<br/>See also [Hue on forum](https://www.elektroda.com/rtvforum/find.php?q=Hue). |
| PWMToggler |  PWMToggler is a custom abstraction layer that can run on top of raw PWM channels. It provides ability to turn off/on the PWM while keeping it's value, which is not possible by direct channel operations. It can be used for some custom devices with extra lights/lasers. See example [here](https://www.elektroda.com/rtvforum/topic3939064.html).<br/>See also [PWMToggler on forum](https://www.elektroda.com/rtvforum/find.php?q=PWMToggler). |
| DoorSensor |  DoorSensor is using deep sleep to preserve battery. This is used for devices without TuyaMCU, where BK deep sleep and wakeup on GPIO is used. This drives requires you to set a DoorSensor pin. Change on door sensor pin wakes up the device. If there are no changes for some time, device goes to sleep. See example [here](https://www.elektroda.com/rtvforum/topic3960149.html). If your door sensor does not wake up in certain pos, please use DSEdge command (try all 3 options, default is 2). .<br/>See also [DoorSensor on forum](https://www.elektroda.com/rtvforum/find.php?q=DoorSensor). |
| ADCButton |  This allows you to connect multiple buttons on single ADC pin. Each button must have a different resistor value, this works by probing the voltage on ADC from a resistor divider. You need to select AB_Map first. See forum post for [details](https://www.elektroda.com/rtvforum/viewtopic.php?p=20541973#20541973).<br/>See also [ADCButton on forum](https://www.elektroda.com/rtvforum/find.php?q=ADCButton). |
| MAX72XX_Clock |  Simple hardcoded driver for MAX72XX clock. Requires manual start of MAX72XX driver with MAX72XX setup and NTP start.<br/>See also [MAX72XX_Clock on forum](https://www.elektroda.com/rtvforum/find.php?q=MAX72XX_Clock). |
| SM2135 |  SM2135 custom-'I2C' LED driver for RGBCW lights. This will start automatically if you set both SM2135 pin roles. This may need you to remap the RGBCW indexes with SM2135_Map command.<br/>See also [SM2135 on forum](https://www.elektroda.com/rtvforum/find.php?q=SM2135). |
| BP5758D |  BP5758D custom-'I2C' LED driver for RGBCW lights. This will start automatically if you set both BP5758D pin roles. This may need you to remap the RGBCW indexes with BP5758D_Map command. This driver is used in some of BL602/Sonoff bulbs, see [video flashing tutorial here](https://www.youtube.com/watch?v=L6d42IMGhHw).<br/>See also [BP5758D on forum](https://www.elektroda.com/rtvforum/find.php?q=BP5758D). |
| BP1658CJ |  BP1658CJ custom-'I2C' LED driver for RGBCW lights. This will start automatically if you set both BP1658CJ pin roles. This may need you to remap the RGBCW indexes with BP1658CJ_Map command.<br/>See also [BP1658CJ on forum](https://www.elektroda.com/rtvforum/find.php?q=BP1658CJ). |
| SM2235 |  SM2335 andd SM2235 custom-'I2C' LED driver for RGBCW lights. This will start automatically if you set both SM2235 pin roles. This may need you to remap the RGBCW indexes with SM2235_Map command. This driver also works for SM2185N.<br/>See also [SM2235 on forum](https://www.elektroda.com/rtvforum/find.php?q=SM2235). |
| BMP280 |  BMP280 is a Temperature and Pressure sensor with I2C interface.<br/>See also [BMP280 on forum](https://www.elektroda.com/rtvforum/find.php?q=BMP280). |
| MAX72XX |  MAX72XX LED matrix display driver with font and simple script interface. See [protocol explanation](https://www.elektroda.pl/rtvforum/viewtopic.php?p=18040628#18040628).<br/>See also [MAX72XX on forum](https://www.elektroda.com/rtvforum/find.php?q=MAX72XX). |
| BMPI2C |  Driver for BMP085, BMP180, BMP280, BME280, BME68X sensors with I2C interface.<br/>See also [BMPI2C on forum](https://www.elektroda.com/rtvforum/find.php?q=BMPI2C). |
| CHT83XX |  CHT8305, CHT8310 and CHT8315 are a Temperature and Humidity sensors with I2C interface.<br/>See also [CHT83XX on forum](https://www.elektroda.com/rtvforum/find.php?q=CHT83XX). |
| MCP9808 |  MCP9808 is a Temperature sensor with I2C interface and an external wakeup pin, see [docs](https://www.elektroda.pl/rtvforum/topic3988466.html).<br/>See also [MCP9808 on forum](https://www.elektroda.com/rtvforum/find.php?q=MCP9808). |
| KP18058 |  KP18058 I2C LED driver. Supports also KP18068. Working, see reverse-engineering [topic](https://www.elektroda.pl/rtvforum/topic3991620.html).<br/>See also [KP18058 on forum](https://www.elektroda.com/rtvforum/find.php?q=KP18058). |
| ADCSmoother |  ADCSmoother is used for 3-way stairs switches synchronized via extra wire.<br/>See also [ADCSmoother on forum](https://www.elektroda.com/rtvforum/find.php?q=ADCSmoother). |
| SHT3X |  Humidity/temperature sensor. See [SHT Sensor tutorial topic here](https://www.elektroda.com/rtvforum/topic3958369.html), also see [this sensor teardown](https://www.elektroda.com/rtvforum/topic3945688.html).<br/>See also [SHT3X on forum](https://www.elektroda.com/rtvforum/find.php?q=SHT3X). |
| SGP |  SGP Air Quality sensor with I2C interface. See [this DIY sensor](https://www.elektroda.com/rtvforum/topic3967174.html) for setup information.<br/>See also [SGP on forum](https://www.elektroda.com/rtvforum/find.php?q=SGP). |
| ShiftRegister |  Simple Shift Register driver that allows you to map channels to shift register output. See [related topic](https://www.elektroda.com/rtvforum/viewtopic.php?p=20533505#20533505).<br/>See also [ShiftRegister on forum](https://www.elektroda.com/rtvforum/find.php?q=ShiftRegister). |
| AHT2X |  AHT Humidity/temperature sensor. Supported sensors are: AHT10, AHT2X, AHT30. See [presentation guide](https://www.elektroda.com/rtvforum/topic4052685.html).<br/>See also [AHT2X on forum](https://www.elektroda.com/rtvforum/find.php?q=AHT2X). |
| DS1820 |  Very simple driver for oneWire temperature sensor DS1820.<br/>See also [DS1820 on forum](https://www.elektroda.com/rtvforum/find.php?q=DS1820). |
| HT16K33 |  Driver for 16-segment LED display with I2C. See [protocol explanation](https://www.elektroda.pl/rtvforum/topic3984616.html).<br/>See also [HT16K33 on forum](https://www.elektroda.com/rtvforum/find.php?q=HT16K33). |
| TM1637 |  Driver for 7-segment LED display with DIO/CLK interface. See [TM1637 information](https://www.elektroda.com/rtvforum/viewtopic.php?p=20468593#20468593).<br/>See also [TM1637 on forum](https://www.elektroda.com/rtvforum/find.php?q=TM1637). |
| GN6932 |  Driver for 7-segment LED display with DIO/CLK/STB interface. See [this topic](https://www.elektroda.com/rtvforum/topic3971252.html) for details.<br/>See also [GN6932 on forum](https://www.elektroda.com/rtvforum/find.php?q=GN6932). |
| TM1638 |  Driver for 7-segment LED display with DIO/CLK/STB interface. TM1638 is very similiar to GN6932 and TM1637. See [this topic](https://www.elektroda.com/rtvforum/viewtopic.php?p=20553628#20553628) for details.<br/>See also [TM1638 on forum](https://www.elektroda.com/rtvforum/find.php?q=TM1638). |
| HD2015 |  Driver for 7-segment LED display with I2C-like interface. Seems to be compatible with TM1650. HD2015 is very similiar to GN6932 and TM1637. See [this topic](https://www.elektroda.com/rtvforum/topic4052946.html) for details.<br/>See also [HD2015 on forum](https://www.elektroda.com/rtvforum/find.php?q=HD2015). |
| Battery |  Custom mechanism to measure battery level with ADC and an optional relay. See [example here](https://www.elektroda.com/rtvforum/topic3959103.html).<br/>See also [Battery on forum](https://www.elektroda.com/rtvforum/find.php?q=Battery). |
| Bridge |  A bridge relay driver, added for [TONGOU TO-Q-SY1-JWT Din Rail Switch](https://www.elektroda.com/rtvforum/topic3934580.html). See linked topic for info.<br/>See also [Bridge on forum](https://www.elektroda.com/rtvforum/find.php?q=Bridge). |
| UART to TCP bridge |  UART to TCP, mainly for WiFi Zigbee coordinators.<br/>See also [UART to TCP bridge on forum](https://www.elektroda.com/rtvforum/find.php?q=UART to TCP bridge). |
