Hello,
i got some Kingart Dimmer, and i want to use esphome. Can anyone show me an example of the yaml, please?
Come on. No link to the device? Ni research done at all? Is there a tasmota template? What does google say?
Sorry, http://userguide.kingartsc.com/m/view.php?aid=68, in Tasmota is it PS-16-DZ. At Google i can‘t find anything.
Hi, I cannot find it at the tasmota templates page https://templates.blakadder.com/index.html, but their search is often not working well.
Can you point me to the tasmota config?
{ "PS-16-DZ", // PS-16-DZ Dimmer (ESP8266 w/ separate Nuvoton MCU dimmer)
// https://www.aliexpress.com/item/SM-Smart-WIFI-Wall-Dimmer-Light-Switch-US-Ewelink-APP-Remote-Control-Wi-Fi-Wirele-Work/32871151902.html
GPIO_USER,
GPIO_TXD, // GPIO01 MCU serial control
GPIO_USER,
GPIO_RXD, // GPIO03 MCU serial control
GPIO_USER,
GPIO_USER,
// GPIO06 (SD_CLK Flash)
// GPIO07 (SD_DATA0 Flash QIO/DIO/DOUT)
// GPIO08 (SD_DATA1 Flash QIO/DIO/DOUT)
0, // GPIO09 (SD_DATA2 Flash QIO or ESP8285)
0, // GPIO10 (SD_DATA3 Flash QIO or ESP8285)
// GPIO11 (SD_CMD Flash)
GPIO_USER,
GPIO_LED1, // GPIO13 WiFi LED - Link and Power status
GPIO_USER,
GPIO_USER,
GPIO_USER,
0
},
That is a PS-16-DZ. Presumably different to your PS-16-PZ.
sorry my mistake. I meant PS-16-DZ.
Looking deeper, looks like the code for the serial commands that are sent to the sub-chip (Nuvoton N76E003) are described here https://templates.blakadder.com/PS-16-DZ.html and the tasmota code is here. https://github.com/arendst/Tasmota/blob/9b9b9e7d3572a79cdabda78ce7f4980f132a76fa/tasmota/xdrv_19_ps16dz_dimmer.ino
In esphome you’ll nneed to write some serial code to send the commands. I would use tasmota and leave it to someone smarter than me to figure it out
So nobody is willing to help us?
Is there not enough help there?
i would say so. how can i convert this AT command in esphome?
AT+UPDATE=“sequence”:“1572536577552”,“switch”:“on”[1B]
i’ve tried something like this:
- platform: uart
name: “Prova”
data: AT+UPDATE=“sequence”:“1572536577552”,“switch”:“on”[1B]
but nothing happen
Sorry for kinda necro-ing this thread, but I’ve been in the same boat as you folks.
I managed to write an external component for esphome. It’s pretty barebones, however functional. Optimization might follow. Examples provided.