-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Device: King Art - King Q4 Cover switch #1513
Comments
It seems compatible, it has IC ESP8285. You have to change the firmware for Spurna and map input number pins for buttons and output number pins for relays. It's no easy if you don't know how. Folow the instructions in the wiki. |
I trust you it's no easy, too much for me right know as I can't either find how in the wiki... 🤣 I would need some more explanations... |
You might need to consider the role of the nuvoton chip, I believe it's got a small amount of flash and may also be used for gpio expansion. If it can be made to work, it'll be a much better match than Sonoff T1's that people are trying to use to control blinds/shutters. |
Yes, it's looks better that Sonoff T1's for blinds at first look. Anyway I'm controling blinds with Sonoff T1 without a problem for now. |
h ithere...any solution for this? |
Hello everyone, it is possible to send the official firmware of any of these blind control devices. Whatever the official Sonoff or other brand, a greeting. |
Hi, could you tell me what you do for controlling a curtain with sonoff T1. Your wiring and configuration. |
Any news on this ? |
I found the buttons PINS, but cant find the GPIO0 to flash it, any help to identify it ? |
Really? I have flash with tasmota but I don't know the pin x using. Tomorrow I send you the information for flashing |
For flashing collegate sw a gdn before connect the power... Use this guides https://github.com/arendst/Sonoff-Tasmota/wiki/KingArt |
Referencing that wiki page, it looks like the exact ITEAD_SONOFF_T1_3CH clone (see ..._PIN values) |
The t1 3ch is very difference, I have 10 king art n3(the t1 3ch CLONE) and I use tasmota for t1 3 ch and is perfect but for this is very different |
Could you explain your statement? Do you use the Sonoff T1 3 ch konfiguration in Tasmota for your king art n3 devices? |
OK. So it works out of the box with the Sonoff T1 3CH setup in Tasmota. |
I ve the same problem but more people using the dimmer panel over tasmota for control this device |
That is great and all, but how can we fix Espurna firmware for this device? This is not Tasmota discussion forum 😕 |
Espurna, tasmota is a firmware, the problem is the map of gpio if I know the gpio I can use all firmware |
You are right - sorry. I would also use Espurna if it would support the device. |
Are you using mains to power the device while testing? Looks like that single LED is directly controlled by the ESP. Comparing with Digoo NX sp202 that I have with 6.5.0 (basic) version, LED depends on relay status from the SW side, ON when relay is OFF and OFF when relay is ON There was another discussion about a similar device, where direct GPIO access seemed to work just fine #1855 (comment) |
No, up to now I just powered it via the FTDI adapter but this is the next thing I am going to do. |
I checked it with mains power and it works the same - you can completely control the switch with the touch buttons and the relays are switching but with the Tasmota web interface just the control LED at the corner of the board reacts if the switches are used. |
LED is working based on software state and it happens at the same time it tries to write relay (either 0 or 1, based on wanted state). Running Espurna you'd get the same LED behaviour, as we don't get any feedback from relay and only assume that it is on. Touching buttons should trigger button action though, despite that relay pin is likely wrong. Maybe something in the logs? |
I have try with generic but I Don, t know the gpio... |
Thank you for sharing this! I will give it a try. |
That ´s a tricky one! As the ESP communicates with the switching IC via serial commands we don´t get it working by just assigning GPIOs correctly. |
Hi all, Read data (COM4) Looks fairly straight-forward really. "switch":"on" goes up/open, "switch":"off" goes down/closed, and "switch":"pause" seems to be the missing link for halting the motor without causing the switch to turn "off" and therefore down/closed again. Now I'm not particularly well versed with code, but I've knocked out a version of the PS-16-DZ xdrv file (attached). I've not compiled it (mostly because I expect it would need to be integrated with the rest of the code in ways I'm so not in the mood to work out right now), so consider it "untested". I'm also not sure whether it would be better integrated with the xdrv_27_shutter module. I'm hoping someone who knows more about these things than I do can take this and run with it, but hopefully I've done the worst of the legwork here. Separately, I've attached the Template string that I've been using for this - the only difference from the PS-16-DZ Template is that the LED on GPIO13 is inverted so that SetOption31 and LedPower commands work as intended: {"NAME":"KingArt Cover","GPIO":[255,148,255,149,255,255,0,0,255,56,255,255,255],"FLAG":0,"BASE":58} Happy hacking! |
I have the same device and it would be great if someone could integrate it in the next version of the official firmware |
Note that the PS16DZ original driver mentioned above is here: I guess we could add some new device driver, separate from lights / dimmer, that will have 0...100 range for possible values + a separate direction switch |
Hello, I'm slowly digging into the ESPHome maze to use with King Q4. By the way, did you manage to work with king Q4 or do you recall the GPIO map ? Many thanks in advance. |
How did You manage to flash KingArt Q4? I've tried several times and I can't flash it. Serial connection seems to be OK, because when I connect with Hercules I can see some commands coming from the device, but I'm not able to get it in the flashing mode. Shorting GND to pad designated as SW on PCB, but no success. I've even measure that pas SW is connected to GPIO0 on ESP8285. |
@psasin you should be able to use serial monitor apps to see ESP bootloader messages, which are usually sent out with 74480 baudrate. e.g. this should come up when chip is ready to flash when it is just had been powered on:
And note that you should disconnect the GPIO0 after the boot to be able to actually flash the board |
this could help: |
Hello! |
I would like to control by MQTT two cover switch which are shown on ewelink as king Q4:
https://es.aliexpress.com/item/EWeLink-App-UE-Reino-Unido-Wifi-Smart-Touch-cortina-interruptor-de-Control-de-voz-por-Alexa/32956776611.html?spm=a2g0s.9042311.0.0.3fc163c0VL8sRB
From ewelink we can:
Don't know really what else I have to send to develop it.
Thanks!
The text was updated successfully, but these errors were encountered: