Unfortunately not yet. The heater is in daily use at the moment, so I can’t open it up to see if it’s actually ESP-based and how the thermostat is controlled.
Fallback scenario is to use an IR blaster to emulate the remote control, but for a heater I’d prefer to actually get feedback.
That’s right - they sold out pretty fast it seems.
this was the post I found on ozbargain that lead me to it. (also showing as sold out now)
I’ve had success automating my pool pump and heater using the TP-Link 3-way smart board (https://www.jbhifi.com.au/products/tp-link-kasa-smart-wi-fi-power-strip) and a waterproof box (https://www.bunnings.com.au/excalibur-6-outlet-outdoor-safety-box_p4360215)
The TP-link responds on a local IP address and there’s an existing plugin for Home Assistant.
Kogan Smart Plug with usb … hi, I’m trying to flash my smart plugs with ESPHome, I never flashed anything before and now I’m stuck.
I’ve successfully flashed them with tasmota and connected to my WiFi following a youtube tutorial, so now I have that web interface with the menu option to “Firmware Upgrade”.
So then I grab the ESPHome yaml in this thread and created a bin.
And here’s the problem, when I click on firmware upgrade and point to the bin it fails. It starts off OK, it looks like it’s working, but then it fails.
I must of missed a step or done something wrong.
Any help appreciated, here’s my yaml ->
substitutions:
device_name: kogan_plug_1
device_ip: 192.168.1.73
device_icon: mdi:power-socket-au
device_restore: ALWAYS_ON
# Higher value gives lower watt readout
current_res: "0.00225"
# Lower value gives lower voltage readout
voltage_div: "805"
esphome:
name: ${device_name}
platform: ESP8266
board: esp8285
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: ${device_ip}
gateway: 192.168.1.1
subnet: 255.255.255.0
logger:
api:
reboot_timeout: 15min
password: !secret api_password
ota:
password: !secret ota_password
binary_sensor:
- platform: gpio
pin:
number: 03
mode: INPUT_PULLUP
inverted: true
name: "${device_name}_button"
on_press:
- switch.toggle: relay
- platform: status
name: "${device_name}_status"
switch:
- platform: gpio
id: led
pin:
number: GPIO13
inverted: true
- platform: gpio
name: "${device_name}_plug"
pin: GPIO14
id: relay
icon: ${device_icon}
restore_mode: ${device_restore}
on_turn_on:
- switch.turn_on: led
on_turn_off:
- switch.turn_off: led
sensor:
- platform: hlw8012
sel_pin:
number: GPIO12
inverted: true
cf_pin: GPIO04
cf1_pin: GPIO05
current:
name: "${device_name}_current"
unit_of_measurement: A
voltage:
name: "${device_name}_voltage"
unit_of_measurement: V
power:
id: ${device_name}_wattage
name: "${device_name}_wattage"
unit_of_measurement: W
current_resistor: ${current_res}
voltage_divider: ${voltage_div}
change_mode_every: 8
update_interval: 15s
- platform: total_daily_energy
name: "${device_name}_daily_energy"
power_id: ${device_name}_wattage
filters:
- multiply: 0.001
unit_of_measurement: kWh
- platform: wifi_signal
name: "${device_name}_rssi"
update_interval: 5min
- platform: uptime
id: uptime_sec
name: "${device_name}_uptime"
update_interval: 5min
text_sensor:
- platform: template
name: "${device_name}_upformat"
lambda: |-
uint32_t dur = id(uptime_sec).state;
int dys = 0;
int hrs = 0;
int mnts = 0;
if (dur > 86399) {
dys = trunc(dur / 86400);
dur = dur - (dys * 86400);
}
if (dur > 3599) {
hrs = trunc(dur / 3600);
dur = dur - (hrs * 3600);
}
if (dur > 59) {
mnts = trunc(dur / 60);
dur = dur - (mnts * 60);
}
char buffer[17];
sprintf(buffer, "%ud %02uh %02um %02us", dys, hrs, mnts, dur);
return {buffer};
icon: mdi:clock-start
update_interval: 5min
time:
- platform: homeassistant
id: homeassistant_time
Does the error message say “ERROR - Not compatible”? If so, this might help: Migrating to ESPHome from Tasmota - #2 by ab0tj
You fuckin legend, I owe you a beer - “Setoption78 1”
What’s the top sensor for … what would it be off when the plug is on
binary_sensor:
- platform: gpio
pin:
number: 03
mode: INPUT_PULLUP
inverted: true
name: "${device_name}_button"
on_press:
- switch.toggle: relay
- platform: status
name: "${device_name}_status"
It monitors the state of the button on the front of the plug. Not really that useful.
If you reprogrammed the plug, you could use that as a momentary switch
Ooooooo … right,I’ve got it, it flashes on when you press the physical button, nice
Ok I’m all set, 4 flashed kogan plugs, thanks to everyone on this thread
Where did you put the component. I have put the files in a cwww2 folder in the esphome config folder which is where I believe that he has said it goes but I get an error:
Failed config
light.cwww2: [source /config/globe_front_door.yaml:44]
Platform not found: 'light.cwww2'.
Read the comments in my yaml carefully, there you’ll see
/config/esphome/custom_components/
Cheers for replying.
Yep. Saw that. Have the cccw2 folder in /config/esphome/custom_components/
Tried to restart the ESPhome container. Still throws platform not found: light.cwww2
Now working. For my setup it needed to be /config/custom_components/ (no esphome folder)
Has anyone had experience with kogan SmarterHome heaters? Thinking of getting one of these to mount outdoors:
Keen to know if anyone has used these or any of the other SmarterHome heaters, and whether they integrate to HA through Tuya.
So answering my own question from a few months ago, I just tried a Stitchy switch and a Stitchy dimmer (Zigbee modules) in HA with a ConBeeII USB stick and the DeCONZ addon. Paired successfully first time and showed up in Deconz no problems. There’s a min dim switch on the dimmer module that I needed to prevent flickering below 25 / 255. Other than that all good! The response time is very fast although I only have 9 zigbee devices on my network.
They are physically larger than say Fibaro Z-Wave devices, and Shelly. Here’s some photos compared to a Shelly 2.5 and Shelly 1. They seem very well made with sturdy plastic enclosure compared to say a Sonoff mini, and I quite like the unterminated fly leads as opposed to screw terminals. Oh yeah and certified for use in Aus!
i got the 4 pack … flashed and integrated in HA in about 15 mins … with coffee too
How much do they cost per unit?
That’s my question too. Reluctant to get a price only after becoming a member.