When creating the ESPHome .bin file do I just select “generic esp8266” for most items (eg the Arlec plugs and inline switches)?
Yes.
Its generally the safest option unless you specifically know its something else
Thanks, that is not suitable for two way switching.
Not sure if you have seen, but Kogan sell a three plug power board with USB and Energy Monitoring ! Link
Haven’t seen a template for it… but might be a good next stop instead of plugs
I just use tuya-convert to upload ESPHome bin files directly.
Any reason not to do this?
I have 1 Wiz, 1 X Mirabella CWWW, 1 Mirabella RHBW and 1 Arlec bulb done. Also 5 Arlec smartplugs.
You could dummy the second switch to toggle the main switch.
Yes you could, if people weren’t obsessed about their switches still working if home assistant/wifi stops.
You could control those outputs and integrate with HA using ESPhome. I know it’s not WLED but it should at least get you working
A worthy obsession !
I’ve been there and didn’t enjoy it.
I don’t disagree.
Giving it a go myself friend, landlord bought me a Mitsubishi split, sparky coming Wednesday to install it …
What is the arduino for?
No reason at all @SimonPth, I have always used the tasmota file included in tuya-convert then upload the esphome file, I identify my esphome devices with the last 4 digits of the mac address and this was an easy way to get it.
Kogan PSA
Not sure if anyone buys much Smart kit from Kogan - but it seems their prices are going up?
Diffuser jumped from $49 to $99
Smart Kettle jumped from $59 to $149
I got an email about “limited time deal” for the Gen2 Smart Plugs… naturally assumed it was trash… but given these other changes they might be increasing also?
… Could also just be a marketing ploy and they mark up prices now and then?
Apparently the esp8266 has timing issues with SPI, so an Arduino is used
What are you using spi for?
to communicate with the air conditioner that doesnt have a cn105 port…
https://github.com/rjdekker/MHI2MQTT
I had a quick seach in this topic, but didnt find anything.
I recently bought an Arlec CWWW globe and with the cwww2 custom component, had this up and running with ESPHome quite nicely.
output:
- platform: esp8266_pwm
id: output2
pin: GPIO13
- platform: esp8266_pwm
id: output1
pin: GPIO5
light:
- platform: cwww2
id: arleclight
name: "Arlec Smart LED Globe CWWW"
brightness: output1
color_temperature: output2
cold_white_color_temperature: 5700 K
warm_white_color_temperature: 3000 K
restore_mode: ALWAYS_ON
These globes are a bit different because they don’t use separate GPIOs for the cold white/warm white.
Instead 1 GPIO is for brightness, one is for colour temperature.
I also bought an Arlec RGB CCT globe, but this one is proving trickier.
I’ve flashed it with ESPHome, and tired the Mirabella ESPHome config, but that doesn’t work properly.
I get brightness, white value and colour wheel controls but the white value slider doesnt work as intended.
I tehn found some code for a similar setup, the Novostella globes, but the also have separate GPIOs for cold/warm light and I have a sneaky suspicion that I need one GPIO for each RGB colour, one for overall brightness and one for colour temp.
Unfortunately the RGBWW module in ESPHome doesnt allow for this.
Does anyone know if there is a similar plugin like cwww2 but for RGB CCT globes.
This is what I’m currently using, but the colour temperature and brightness sliders in HA don’t work as intended.
output:
- platform: esp8266_pwm
id: output_red
pin: GPIO4
inverted: False
- platform: esp8266_pwm
id: output_green
pin: GPIO12
inverted: False
- platform: esp8266_pwm
id: output_blue
pin: GPIO14
inverted: False
- platform: esp8266_pwm
id: output_cold_white
pin: GPIO5
inverted: False
- platform: esp8266_pwm
id: output_warm_white
pin: GPIO13
inverted: False
light:
- platform: rgbww
name: "rgbw_e27_01"
red: output_red
green: output_green
blue: output_blue
cold_white: output_cold_white
warm_white: output_warm_white
cold_white_color_temperature: 5700 K
warm_white_color_temperature: 3000 K
restore_mode: ALWAYS_ON