In platformio_override.ini
uncomment the line with tasmota32
and set the correct COM port.
In user_config_override.h
add:
#define USE_BMP
#define USE_I2C
#define USE_SPI
#define USE_DISPLAY
#define USE_DISPLAY_SSD1306
#define SHOW_SPLASH
#define USE_WEBCAM
Upload via USB, then apply the following Template:
{"NAME":"TTGO_V05","GPIO":[1,1,1,1,5090,5088,1,1,5056,5024,5089,5091,1,1,5092,5184,0,640,608,5093,0,5152,4928,5120,0,0,0,0,4992,160,32,1,5094,0,0,5095],"FLAG":0,"BASE":2}
The PIR will turn ON/OFF the display and send over MQTT the POWER status. The display shows the sensor data. To make the device work nicely, change the following settings in the Console:
Camera settings to correct orientation (USB on the bottom):
WCFlip ON
WCMirror ON
WCResolution 6
WCSaturation 0
WCBrightness -1
WCContrast 1
Display Settings (USB on the bottom):
DisplayRotate 2
DisplayCols 21
DisplayRows 7
DisplayMode 2
BME280 Settings (it is not very trustable):
HumOffset 10
TempOffset -15
PIR/Button Settings:
SwitchMode1 1
SetOption73 1
is supported via build Tasmota32-lvgl. Upload firmware and configure via Menu Auto-configuration
To make the device work nicely, change the following settings in the Console:
adcparam3 6,0,4095,0,6160
Rule for Joystick to dim the display:
on analog#joy2=1 do dimmer - endon on analog#joy2=2 do dimmer + endon
{"NAME":"AITHINKER CAM","GPIO":[4992,1,672,1,416,5088,1,1,1,6720,736,704,1,1,5089,5090,0,5091,5184,5152,0,5120,5024,5056,0,0,0,0,4928,576,5094,5095,5092,0,0,5093],"FLAG":0,"BASE":2}
{"NAME":"wESP32","GPIO":[0,0,1,0,1,1,0,0,1,1,1,1,5568,5600,1,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1],"FLAG":0,"BASE":1}
{"NAME":"WT32-ETH01","GPIO":[1,1,1,1,1,1,0,0,1,0,1,1,3840,576,5600,0,0,0,0,5568,0,0,0,0,0,0,0,0,1,1,0,1,1,0,0,1],"FLAG":0,"BASE":1}
{"NAME":"Denky (Teleinfo)","GPIO":[1,1,1,1,5664,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,1376,1,1,0,0,0,0,1,5632,1,1,1,0,0,1],"FLAG":0,"BASE":1}
{"NAME":"Olimex ESP32-PoE","GPIO":[1,1,1,1,1,1,0,0,5536,1,1,1,1,0,5600,0,0,0,0,5568,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1],"FLAG":0,"BASE":1}
{"NAME":"M5Stack Atom","GPIO":[1,1,1,1,1,1,1,1,1056,1,1,1,1,1,1,1,0,609,1,1,0,641,640,1376,0,0,0,0,608,1,1,1,1,0,0,32],"FLAG":0,"BASE":1}
{"NAME":"M5Stack Atom Lite","GPIO":[1,1,1,1,1,1,1,1,1056,1,1,1,1,1,1,1,0,1,1,1,0,1,640,1376,0,0,0,0,608,1,1,1,1,0,0,32],"FLAG":0,"BASE":1}
{"NAME":"LilyGO ttgo-t-eth-poe","GPIO":[0,1,1,1,1,1,1,1,1,1,1,1,1,1,5600,1,0,1,1,5568,0,1,1,1,0,0,0,0,1,1,1,1,1,0,0,1],"FLAG":0,"BASE":1}
For working Ethernet, change the following setting in the Console:
EthClockMode 1
these 3 devices are also fully supported, more detailed info will be added later
fully supported with all sensors
fully supported
is fully supported with all sensors and SD card. Upload firmware Tasmota32-lvgl and configure via Menu Auto-configuration
OLED display needs the following template
{"NAME":"WiFi Kit 32","GPIO":[1,1,1,1,640,1,1,1,1,1,1,608,3840,1,1,1,0,1,1,1,0,224,1,1,0,0,0,0,1,1,1,1,1,0,0,1],"FLAG":0,"BASE":1}
verified support for board plus I2C sensors
to use I2C, set IO21 to SDA and IO22 to SCL
displays: (most probably all I2C displays will work)
USE_DISPLAY_SH1106
USE_DISPLAY_EPAPER_29
USE_DISPLAY_EPAPER_42
USE_DISPLAY_ILI9341
USE_DISPLAY_ILI9488
USE_DISPLAY_SSD1351
USE_DISPLAY_RA8876
USE_DISPLAY_ST7789
USE_DISPLAY_ILI9341_2
USE_DISPLAY_ILI9342
sensors: (most probably all I2C sensors will work)
USE_SHT3X
USE_BMP
USE_VL53L0X
USE_MLX90614
USE_IBEACON
USE_SML_M
misc:
USE_MP3_PLAYER
USE_SCRIPT (scripting and all its options)
USE_24C256
USE_SENDMAIL
USE_ESP32MAIL