-
Notifications
You must be signed in to change notification settings - Fork 639
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
Support for Litesun LA-WF7 ? #2281
Comments
Thanks! Based on https://templates.blakadder.com/ce_smart_home_LA-WF7.html, we already have something like it via SPHX_V23. Ratios for power measurement are different though. espurna/code/espurna/config/hardware.h Lines 3124 to 3163 in 7aec0c5
You might want to follow the button config with pull-up and disable serial output, this may cause some minor issues. |
This comment has been minimized.
This comment has been minimized.
Thanks @zuberio for this post, was able to recover my failed OTA flashing of my LA-WF7 without blowing up the whole case: |
@wipeout666 glad I could help! |
Closing via https://github.com/xoseperez/espurna/wiki/Hardware-Litesun-LA-WF7 |
I just wanted to say thank you for this by describing a technique that allows these plugs to be opened without destroying the case and allowing "as good as factory" resealing after flashing. See pics attached. The basic process (and one that can be used on many glued products) is to use a heat gun and (sacrificial) plastic guitar picks. Hold the heat gun around 1ft from the plug so as not to burn the plastic and have patience. Heat around the sides and on the top. Find a slight gap on one of the two long sides and insert a fine guitar pick as a wedge. Slide the guitar picks firmly through the gap, gradually opening up more and more of the cover. The corners are the hardest and the key to success -- when you've slid through all 4 corners, you know it's going to work. Reheat if needed. Once you can slide the picks all the way around, if it hasn't popped off yet, just keep on going around and apply firm pressure down -- it will pop off within a couple of passes. I used two thicknesses of guitar picks: 0.58mm as a starter and 0.73mm as a finisher. Once the cover is off, the PCB is just pushed out by applying pressure to the prongs against a hard surface. Once reprogramming is finished, a little glue seals it all up. DO NOT PLUG INTO AC MAINS WHILE OUT OF THE CASE!!! |
Nice! Do you also find that the button doesn't feel the same once the cover has been popped off? |
That’s a good question. First, there is a trick to putting the plastic plunger back in: use tape on top of the cover to hold it by the sticky side in place against the back when installing the cover carefully back on. Second, yes, it does feel a little different, just a little less travel, but still works fine. |
CE Smart Home Wi-Fi Smart Plug with Energy Monitoring, 2-pack sold by Costco in Canada for $20.
https://www.costco.ca/ce-smart-home-wi-fi-smart-plug-with-energy-monitoring%2C-2-pack.product.100476838.html
Tuya Device, compatible with Tuya-Convert (if you've never paired with the app).
code/espurna/config/arduino.h:
//#define LITESUN_LA-WF7
code/espurna/config/hardware.h:
code/espurna/migrate.ino:
code/platformio.ini:
IF you made the mistake (like me) of pairing these devices with the CE Smart Home app & also 'upgrading' the device WiFi firmware via said app (like me) - then Tuya-Convert won't work. So I measured out where to drill into the device casing in order to reach the TYWE2S: GPIO0, 3V3, GND, RX and TX pins for physical flashing.
The text was updated successfully, but these errors were encountered: