let me preface by saying that I’ve flashed about 8 Tuya based devices with the tuya-convert without issue. So this week when they were on a flash sale I quickly jumped on it.
It seems they’ve got smart and caught on to what the community is doing and it looks like tuya convert isn’t working anymore… So I had to revert back to the old solder and flash method.
Just an FYI for anyone adding these to your home.
If you updated your tuya lights firmware, you are fried.
Huh? I don’t understand what you mean
I’m not using tuya firmwares though. I don’t even use the Tuya app(s). I’m flashing third party FW on them.
Its not just an update, they’re being shipped with newer firmwares.
Klagio
(Klagio)
June 17, 2019, 8:37am
6
forsquirel:
It seems they’ve got smart and caught on to what the community is doing and it looks like tuya convert isn’t working anymore… So I had to revert back to the old solder and flash method.
Just an FYI for anyone adding these to your home.
Hi,
can anyone post a link to flashable power plugs? Or by now is just pure luck?
Alternatively power plugs that can be open easily (possibly just a screw driver) , and that pins are easily found/connectable
I ordered some of these on 21st and again 29th May and they flashed with no problems. I flashed them straight out the box.
https://www.amazon.co.uk/gp/product/B07MQYN1K4/ref=ppx_yo_dt_b_asin_title_o08_s00?ie=UTF8&psc=1
Proceed with caution!
Coedy
(Peter Ebenezer )
June 17, 2019, 10:10am
8
I bought the Teckin square plugs from Amazon UK 2 weeks back. I flashed them straight from the box over the weekend with no issues.
However I’ve no idea if I got lucky and received some older stock…
Klagio
(Klagio)
June 17, 2019, 1:11pm
9
Thanks a lot. Currently looking for EU plug version
daanje
(Daniel Palstra)
June 24, 2019, 7:05pm
10
Any luck finding “still flashable” EU devices? I am currently in the same boat
Klagio
(Klagio)
June 24, 2019, 7:44pm
11
haven’t had the courage to order …
I ordered two sets of plugs from the same supplier within 1 week; first set wash flashable, second set not now trying to crack the cases open to flash the open firmware…
daanje
(Daniel Palstra)
July 9, 2019, 9:01am
13
Which one did you buy? I am currently deciding which one to buy that should be fairly easy to open up and solder.
I bought this one: https://www.amazon.de/dp/B07D5V139R/ref=pe_3044161_185740101_TE_item
I haven’t opened any of them yet but heard that using a rubber hammer is the best way in doing so (simply hammer the sides a few times until the inside falls out)
I finally found a bit of time to open my Teckin SP22’s and used the hammer approach. To be honest; I initially didn’t believe it would be so incredibly easy to open them by using a hammer! I didn’t have a rubber hammer with me, so just used a steel one and hit the sides of the Teckins a few times. After a few blows you will see the back of the plug coming out of its casing without any damage.
Now I just need to solder and upload the esphome firmware
nylund
(Nicklas Nylund)
August 15, 2019, 8:12am
16
Blitzwolf bw-shp6 are great! Feels like good quality, small and easy to open up with one screw.
I soldered some pogo pins on a pcb experimental board and used that for the initial flash since I did not want to solder the test points.
I have four of them and so far they are working great. Plan to buy more of them soon.
In UK stock:
is there any documentation for converting these tuya converted plugs to ESP home firmware? Is it just a case of downloading and flashing a new .bin?
Any links would be appreciated - I find the ESP home site very confusing.
JasonRS
(Jason)
August 22, 2019, 3:55pm
18
I used this, but the GPIO values for my UK sockets were slightly different. Only took a short while to work the right ones out though.
which sockets do you have? Mine are Teckin SP27
JasonRS
(Jason)
August 22, 2019, 4:13pm
20
I have 8 of these
WiFi Smart Plug Mini Outlet, Aoycocr Smart Socket Energy Monitoring Remote Control, Alexa Plug Works with Amazon Alexa, Echo, Google Home, Timer Function, No Hub Required (4pack): Amazon.co.uk: DIY & Tools
£36.99
My ESPHome config is below. This example is configured to default to on in the case of a power outage.
substitutions:
plug_name: dishwasher
# Higher value gives lower watt readout
current_res: "0.00221"
# Lower value gives lower voltage readout
voltage_div: "955"
esphome:
name: ${plug_name}
platform: ESP8266
board: esp8285
on_boot:
priority: 100
then:
- switch.turn_on: switch1
wifi:
ssid: 'ssid'
password: 'password'
# Enable logging
logger:
# Enable Web server
web_server:
port: 80
# Enable Home Assistant API
api:
password: 'password'
ota:
password: 'passowrd'
time:
- platform: homeassistant
id: homeassistant_time
binary_sensor:
- platform: gpio
pin:
number: GPIO13
inverted: True
name: "${plug_name}_button"
on_press:
- switch.toggle: switch1
output:
- platform: gpio
pin: GPIO15
id: relay
- platform: gpio
pin: GPIO02
inverted: True
id: led1
status_led:
pin:
number: GPIO00
inverted: True
switch:
- platform: template
id: switch1
icon: mdi:power-socket-eu
optimistic: true
name: "${plug_name}_Relay"
turn_on_action:
- output.turn_on: relay
- output.turn_on: led1
turn_off_action:
- output.turn_off: relay
- output.turn_off: led1
sensor:
- platform: hlw8012
sel_pin:
number: GPIO12
inverted: True
cf_pin: GPIO05
cf1_pin: GPIO14
current_resistor: ${current_res}
voltage_divider: ${voltage_div}
current:
name: "${plug_name}_Amperage"
unit_of_measurement: A
accuracy_decimals: 3
icon: mdi:flash-circle
voltage:
name: "${plug_name}_Voltage"
unit_of_measurement: V
icon: mdi:flash-circle
power:
name: "${plug_name}_Wattage"
unit_of_measurement: W
id: "${plug_name}_Wattage"
icon: mdi:flash-circle
change_mode_every: 4
update_interval: 10s
- platform: total_daily_energy
name: "${plug_name}_Total Daily Energy"
power_id: "${plug_name}_Wattage"
filters:
# Multiplication factor from W to kW is 0.001
- multiply: 0.001
unit_of_measurement: kWh
icon: mdi:clock-alert
# Extra sensor to keep track of plug uptime
- platform: uptime
name: ${plug_name}_Uptime Sensor
icon: mdi:clock-outline