# IoT

Internet of Things done securely.

IoT devices can use a range of technologies for communication, Wi-Fi, Bluetooth, Zigbee, Z-Wave, Thread, Matter ...

Companies like Tuya provide smart chip integration for existing devices of other manufacturer's, so the quality of varioius \<Company\>-enabled devices can vary.

IoT devices tend to have a lot of issues:
* Run closed source firmware which is not secure from the get go
* The manufacturer gives up on supporting it near immediately
* The manufacturer requires a subscription to keep it running
* The device is impossible to integrate with open source solution like Home Assistant

Important resources:
* [LibreTiny chip list](https://docs.libretiny.eu/docs/status/supported/)
* [Elektroda.com](https://www.elektroda.com) - Forum with teardowns, home of OpenBeken
* [OpenBeken device list](https://openbekeniot.github.io/webapp/devicesList.html)
* [Tasmota device support](https://templates.blakadder.com/)
* [Zigbee device support](https://zigbee.blakadder.com/index.html)
* [ESPHome device list](https://devices.esphome.io/)
* [Custom firmware for Zigbee 3.0 IoT devices](https://github.com/pvvx/ZigbeeTLc)

Zigbee:
* Zigbee2MQTT
* [ZHA](https://www.home-assistant.io/integrations/zha/)

Wi-Fi has much higher power consumption than other solutions like Zigbee, therefore do not rely on Wi-Fi for devices that are battery powered, you'll end up replacing the battery way more often.

Zigbee is a mesh network - battery powered devices are generally only End Devices, but AC powered devices usually also act as a Router.

LEDs:
* LED lights have various configurations like RGB, RGBW, RGBCW, RGBCCT, ... read more about that [here](https://www.ledyilighting.com/rgb-vs-rgbw-vs-rgbic-vs-rgbww-vs-rgbcct-led-strip-lights/#What_is_RGBCCT_LED_Strip_Light) - some sellers will state combined wattage of the light when selling lights, for example, so 3(R)+3(G)+3(B)+5.5(CW)+5.5(WW) would be 20W, and then you may be surprised that a 9W light is brighter in CW/WW mode.