What a GREAT start to the new year.In case you don’t know, IoTorero is the new name for Athom.I was expecting some boring old lights for our new home from AliExpress, but no, a package from IoTorero arrived this morning and the very first thing I spotted was a large RGBCW LAMP.
You likely don’t know but the Athom (Tasmota firmware) lamps have been my long-time favourite as they are large and BRIGHT.I’ve not realised how bright until in the process of moving home right now I took a couple out and replaced them with old 60 watt filament lights which are absolutely pathetic by comparison.This particular light is the LB10-12W and it’s a full RGBCW light working NOT on Tasmota as the ones I’ve used before but on ESPHome which should mean easy installation straight into Home Assistant.
As in the past, I plugged the light into the mains, and it started flashing incessantly (in colour) and told my phone to use the new Wi-Fi access point that magically appeared.Under router settings on the phone, I told the phone to look at the home page for the router, which was the usual 192.168.4.1 and that page pointed out all of my Wi-Fi access points at which point I chose my nearest 2.4Ghz access point and put that and its password into the page (i.e.into the lamp.
Job done.I didn’t have to power cycle the lamp or anything.I then went into Home Assistant on my PC, and a new colour light magically appeared.
Did I want to use it? Yes, but with a name change.Really – THAT simple.Wonderful start to the new year.
I’ve a load of IoTorero stuff to look at but that’s all I have time for, for now.Here’s the lamp as it appears in Home Assistant – I just took one of my existing lamp tiles and renamed the Entity for the new light.I use custom tiles and add in the ha-card code to make the tiles look pretty.
See the light name I gave it on line 2.Of course none of that complication ns necessary but I do it once then cut and paste to the rest of my lights.See also (below the yaml code) the list of entities that HA provided for use with the lamp.
type: custom:mushroom-legacy-template-card
entity: light.athom_esphome_1_rgbcw_bulb
primary: First new Athom
secondary: "{{ { 'on': 'On', 'off': 'Off' }.get(states(config.entity), 'Unavailable') }}"
icon: mdi:lightbulb
icon_color: >
{% set color = state_attr(config.entity, 'rgb_color') %} {% if
is_state(config.entity, 'on') and color %}
#{{ '%02x' % color[0] }}{{ '%02x' % color[1] }}{{ '%02x' % color[2] }}
{% else %}
#a9a9a9
{% endif %}
tap_action:
action: toggle
hold_action:
action: more-info
card_mod:
style: |
ha-card {
border: 1px solid darkcyan;
text-align: right;
--card-primary-color: cyan;
--card-secondary-color:
{% if is_state(config.entity, 'on') %} #00ff00
{% else %} #a9a9a9
{% endif %};
background:
{% if is_state(config.entity, 'on') %} radial-gradient(circle, #882800 30%, #461006);
{% else %} radial-gradient(circle, #113864 30%, #261033);
{% endif %};
}
Note that in the device settings I ensured the bulb is assigned to an area as it is also a Bluetooth proxy by default as it uses an ESP32-C3 – my HA Bermuda integration automatically flagged this up – could be useful in the future.All-in, very impressed.