Zac I have also got a kogan kettle and have got it updating in HA as sensor in degress celcius.
I am getting some blank periods pop up as it looks like I get three different MQT result in HA
dpid1 - I can get the temp from this result
dpid5 - I can get the temp from this result
the last one has no dpid associated its just the standard {“TuyaReceived”:{“Data”:“55AA000000010101”,“Cmnd”:0,“CmndData”:“01”}}
Also all I have done in the Tasmota console is “setoption66 1” running tasmota 7.1.2 standard
Just wondering if you get three different MQT responses as above
Have a look at the template, I updated it.
55AA000000010101 is just heartbeat.
I use dpid 5 as it will publish every time temp changes, whereas dpid 1 is every 5 seconds.
Let me know if you need more help
Hi all. I have a Kogan video doorbell. I’m trying into add it to the Tuya app but can find it when I select add device. Should I select camera under security
I recently converted all my Kogan Smart Plugs (both new and old type) into ESPHome and calibrated them using a fixed draw incandescent bulb and an in-line power meter for accurate readings (~+/- 2v, +/- 0.1W). The only things that don’t work properly are the LEDs, but I don’t care about those. For anyone interested, the ESPHome configurations are below:
Old Kogan Plugs (thicker size, no USB):
substitutions:
devid: <DEVICEID>
devname: <DEVICENAME>
devicon: <DEVICEMDIREF>
esphome:
name: $devid
platform: ESP8266
board: esp8285
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_pass
# Enable logging
logger:
# Enable Web Server (optional)
web_server:
port: 80
# Enable Home Assistant API
api:
ota:
switch:
- platform: gpio
id: led
pin:
number: GPIO13
inverted: true
- platform: gpio
name: $devname
pin: GPIO14
id: relay
icon: $devicon
time:
- platform: homeassistant
id: homeassistant_time
sensor:
- platform: hlw8012
sel_pin:
number: GPIO12
inverted: true
cf_pin: GPIO4
cf1_pin: GPIO5
current:
name: $devname Current
unit_of_measurement: A
voltage:
name: $devname Voltage
unit_of_measurement: V
power:
name: $devname Power
unit_of_measurement: W
### HIGHER VALUE GIVES LOWER WATTAGE
current_resistor: 0.000812
### LOWER VALUE GIVES LOWER VOLTAGE
voltage_divider: 2100
New Kogan Plugs (2x 2.4a USB):
substitutions:
devid: <DEVICEID>
devname: <DEVICENAME>
devicon: <DEVICEMDIREF>
esphome:
name: $devid
platform: ESP8266
board: esp8285
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_pass
# Enable logging
logger:
# Enable Web Server (optional)
web_server:
port: 80
# Enable Home Assistant API
api:
ota:
switch:
- platform: gpio
id: led
pin:
number: GPIO13
inverted: true
- platform: gpio
name: $devname
pin: GPIO14
id: relay
icon: $devicon
time:
- platform: homeassistant
id: homeassistant_time
sensor:
- platform: hlw8012
sel_pin:
number: GPIO12
inverted: true
cf_pin: GPIO4
cf1_pin: GPIO5
current:
name: $devname Current
unit_of_measurement: A
voltage:
name: $devname Voltage
unit_of_measurement: V
power:
name: $devname Power
unit_of_measurement: W
### HIGHER VALUE GIVES LOWER WATTAGE
current_resistor: 0.00215
### LOWER VALUE GIVES LOWER VOLTAGE
voltage_divider: 799
You should be able to ‘convert’ the Tasmota template posted above to work out the GPIO and create the ESPhome config. I did this once for a different device
I’m having a bit of trouble getting the temperture information included in the mqtt output. I’ve compiled Tasmota firmware with Option66 enabled, but that doesn’t seem to have done the trick.
I’ve had a ready through the comments above and can’t work out what I’m missing.
Hey Zacnut,
Did you make any changes to the firmware config before compiling it? I have the same kettle but am struggling to get the current temperature out of it. I enabled setoption66 but the temp isn’t being output to mqtt. It’s also not displayed in the web ui.
Hey trankillity, you mention the LEDs not working, but do your physical buttons work on the new 2x USB plugs? No matter what I try, I can’t seem to get these to function.
Thanks Dave, I used the following instructions in my YAML file but I can’t get the sliders in HA to be correctly mapped, the pin assignment for the output_white is probably not right or something is missing. The “white value” slider seems inactive. What do you recommend reading to understand how to figure out the pins mapping?