-
Notifications
You must be signed in to change notification settings - Fork 52
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
Light Switch (3rd Party) code export issue #16
Comments
In addition, I have tried rmt.db approach and getting the same issue. |
@Paxy I don't have 3rd party switches to test can you provide the content of the broadlink SharedData folder so i can run some tests ? |
Sure, https://www.dropbox.com/s/tyyyvu186j0yzei/bl.zip?dl=0. |
@Paxy What is the name you gave to the switch ? |
WC and Kupatilo both are 3rd Party remotes that works over e-Control |
@Paxy ou can remove it, what type of switches are the WC and Kupatilo ? |
@Paxy did you got the codes from the cloud or did you capture it using the rm pro ? |
They are RF controlled light switches that looks like the some cheaper version of Broadlink TC2. https://www.aliexpress.com/item/Vhome-EU-UK-Standard-Touch-Switch-2-Gang-1-Way-Wall-Light-Touch-Switch-Crystal-Glass/32820533118.html?spm=a2g0s.9042311.0.0.9yr2bY I have not captured the codes, e-Control have generated the code that is now working with RF switch. I am trying to export this codes so I can use them from Home Assistant. Not sure did e-Control generate those codes, or downloaded from the cloud, but I have used 3rd party as SANKOU brand from the brand list to get working codes. |
@Paxy When you do it doest it scans a QR code ? |
@Paxy which brand did you choose ? |
No. I do not have QR code for this device. Once it enter in QR code scan mode, chose "tap here ...." and select brand SANKOU. |
@Paxy It looks like it downloads something, the issue is that it doesn't work like the tc switches the codes are not written to the 'jsonIrCode' at all which means that this option is not implemented in the script at all just like cloud codes that are not supported. In order to get it working it requires time (which i don't have) to research how it works. |
Tnx Nigh anyway. |
My findings shows that 3rd Party remote is downloading its codes to "broadlink/newremote/SharedData/Scripts" folder and file like "000000000000000000000000949c0000.script" that 11520 bytes. I will try to separate some part of this binary data, encode it, and test by sending it to RM2. |
@Paxy Is there any progress?if you need, I can send you my |
Not really a progress in contribution manner, but I have solved my problem by using two RM devices. One to send, and other to listen and show codes. Now I can use those codes from HASS to automate lights controll. |
Well done. I've come across this solution. Due to cost considerations, I have purchased a radio remote controller for pairing with switches. And then get the RF code through the device. |
Nice if you made it. I have tried 3 different remotes that I already have. All of them did not make clear code that is not triggering something else (or multiple switches at once). Only BL generated code did not make any unintended trigger to other devices. |
Hi, I'm about buying a second Broadlink to learn and see wall switch codes. |
@Teie, you do not need second BL if you already have one. One device can catch code from the physical wall switch. The problem is if you generate code from e-Control APP and want to use it in different applications like python script or Home Assistant. Then you need two devices, one for e-Control to send a code, and other to catch it and show in base64 form. |
Thanks @Paxy . |
The manufacturer of Livolo just needed to publish a library with about 50 codes "on" and "off" to solve 80% of annoying consumer issues with this product. |
Hi Night,
First of all, great job with this exporter.
I have found the issue when trying to export codes from Light Switch (3rd Party) remote. It is a generic RF remote with predefined RF codes for On/Off's buttons.
Once I export configuration over WLAN, zip broadlink folder and transfer to PC with your project, getBroadlinkSharedData.py shows that remote and let me chose it number. After selecting number, it create txt file with its name, but file is empty.
Steps to reproduce:
Create Light Switch (3rd Party) in e-Control.
Export configuration over WLAN.
Zip broadlink folder form internal storage.
Unzip required files in your project.
Run getBroadlinkSharedData.py.
Chose number in front of Light Switch remote.
Check content of newly created file.
Expected:
RF codes just like with Light Switch (Broadlink).
Getting:
Emtpy TXT file with Light Switch name
The text was updated successfully, but these errors were encountered: