Closed Liionboy closed 8 months ago
This isn't really a topic for LibreTiny, this is a general ESPHome component configuration question. It sounds like you have the basics down, including having all the relevant GPIO, but LibreTiny is just a platform, it's goal is to make ESPHome functional, not specific device configurations. It will guide as best it can, but many things are beyond that scope.
I'd suggest you check out the official ESPHome discord for advice on how to tweak configurations of ESPHome components.
Keep in mind, ESPHome may not fully support all functionality that the OEM firmware had. Your alternate option would be to return to the OEM firmware (and possibly run it in cut mode if it is vulnerable).
Hello,
Anyone can help me to tell how i can control this new device via Esphome, what i do until now i can control LED as light and see PIR sensor and LUX sensor but don't work like on tuya App
https://vi.aliexpress.com/item/1005005671485856.html?spm=a2g0o.order_list.order_list_main.16.4e5f1c24BrcPTA&gatewayAdapt=glo2vnm
Code from ESPHome:
esphome: name: lumina-hol1
bk72xx: board: generic-bk7231n-qfn32-tuya
logger:
web_server:
captive_portal:
mdns:
api: password: ""
ota: password: ""
wifi: ssid: !secret wifi_smart password: !secret wifi_smart_pass ap:
button:
debug: update_interval: 30s
text_sensor:
sensor:
light:
binary_sensor:
What i extracted with Beken Flasher:
Device configuration, as extracted from Tuya:
Chip is CBU so i am using libretiny tuya, i saw on the pcb a LN4506:
http://www.natlinear.com/uploadfiles/LNXT/LN4506_E.pdf
And PIR sensor is:
W216S Anti- WiFi Type PIR Sensor
I will let some picture with device:
Tuya APP:
Thanks