4 pack received today of the Kogan Energy Meter plugs, and can confirm they can easily be flashed with Tuya-convert.
I have only flashed 1 so far for testing, I updated the firmware to the latest available from here after using Tuya-Convert and then went into the console and used these 2 backlog commands to set all of my settings. You can adjust the names and MQTT server and other settings to suit yourself.
Native API rather than MQTT which is apparently slightly faster, and also therefore doesn’t require a broker (I disabled my MQTT broker when I migrated all my devices to the ESPhome API). I have used it on a number of devices now and it’s been awesome. It’s also very easy to incorporate device run automations which can then operate without needing HA, either for simple local control or to make it sort of failsafe in the event that HA (or wifi) is unavailable.
For a device such as a smart plug there probably isn’t much in it regarding benefits etc, however given that I use it for more complicated things such as my retic controller, its great. It supports many auxiliary devices such as displays, I2C boards etc.
Cool, good to know. I might have to give it a spin sometime.
On another note, I did notice the voltage reporting of the plug was sitting about 280v, without testing and calibrating, I just sent the console command VoltageSet 240 to sort it for the moment.
Also, flashed the other 3 of the 4 pack, all worked the same as the first with Tuya-Convert. Super happy to essentially have replacements for my WeMo insights plugs for $20 each that run MQTT.
Hey, great stuff, have it working with my system. Is it possible to take this a step further to record the data so you can look back on a monthly, or bi-monthly basis??
I got about 10 of those tuya with power monitoring, different brand have different chipset. All of them converted to tasmota and self calibration is REQUIRED but not hard. Power change is update almost immediate via tasmota MQTT.
However, this feature request is to enable tuya power monitoring data to be accesible by home assistant not via tasmota.
So far all 4 brand if have still flashable via tuya convert. Their are version 1.0.0 firmware.
Most brand does not update their firmware to block it. The company may not even exist anymore.
I am using all UK plug so i dont have recomendation for you
This page probably give you some flashable device but do check the tuya convert issue page before buying.
it creates correctly vtrust-flash, and I connect it to the smartphone
on the rapberry pi3 all seems ok, but I just see the dots …
maybe this cannot be flashed? How can I check ?
smarthack.web.log
e[33m[W 190708 11:25:33 web:2246]e[m 404 GET /api/333/config/wifi/ (127.0.0.1) 6.02ms
e[33m[W 190708 11:25:33 web:2246]e[m 404 PUT /api/333/config/wifi/updated (127.0.0.1) 6.54ms
e[33m[W 190708 11:25:33 web:2246]e[m 404 PUT /api/333/config/wifi/updated (127.0.0.1) 6.17ms
e[33m[W 190708 11:25:34 web:2246]e[m 404 PUT /api/333/config/wifi/updated (127.0.0.1) 6.05ms
e[33m[W 190708 11:25:34 web:2246]e[m 404 PUT /api/333/config/wifi/updated (127.0.0.1) 6.22ms
e[33m[W 190708 11:25:34 web:2246]e[m 404 GET /api/1CFA908992/groups?_=1562573480529 (192.168.1.3) 5.62ms
e[33m[W 190708 11:25:35 web:2246]e[m 404 GET /api/333/config/wifi/ (127.0.0.1) 5.87ms
e[33m[W 190708 11:25:35 web:2246]e[m 404 PUT /api/333/config/wifi/updated (127.0.0.1) 6.39ms
e[33m[W 190708 11:25:35 web:2246]e[m 404 PUT /api/333/config/wifi/updated (127.0.0.1) 6.47ms
e[33m[W 190708 11:25:35 web:2246]e[m 404 PUT /api/333/config/wifi/updated (127.0.0.1) 7.19ms
e[33m[W 190708 11:25:35 web:2246]e[m 404 PUT /api/333/config/wifi/updated (127.0.0.1) 6.28ms
in wifi log
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
wlan0: Could not connect to kernel driver
Using interface wlan0 with hwaddr b8:27:eb:xxxxxx and ssid "vtrust-flash"
wlan0: interface state UNINITIALIZED->ENABLED
wlan0: AP-ENABLED
wlan0: STA 4c:49:e3:xxxx IEEE 802.11: associated
wlan0: AP-STA-CONNECTED 4c:49:e3:xxxx
wlan0: STA 4c:49:e3xxx RADIUS: starting accounting session 17F14F828CCxxxx
wlan0: STA 4c:49:e3:xxx WPA: pairwise key handshake completed (RSN)