lintmars / home-automation

Home automation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Home automation

Work in progress

Software

  • Home Assistant
    • The central open-source hub for home automation
    • Configuration is provided in the home_assistant folder.
    • Can be run in a Docker container, but to use Bluetooth-connected devices the server must have a Bluetooth adapter.
    • Can be controlled with an Android app.
  • Tasmota
    • Open-source firmware for ESP8266- and ESP32-based IoT devices
    • When buying IoT devices, prefer ones that have support for Tasmota or some other custom firmware. This ensures that you won't be dependent on the software updates by the manufacturer.
    • Prefer devices with ESP32 over other chips, including the second-best option ESP8266, as ESP32 has pre-built TLS support in Tasmota. This improves security significantly.
  • Tuya-Convert
    • OTA jailbreak for ESP8266-based devices with old stock firmware
  • OpenBeken
    • Tasmota-like firmware for devices based on Tuya modules
    • Not as feature-rich as Tasmota, but rapidly improving.
  • Tuya Cloudcutter
    • OTA jailbreak for Tuya-based devices

Devices

Control panel

Egobas Smart Monitor 15.6"

  • Do not buy this without considering the drawbacks below!
  • AliExpress
  • With Android, touchscreen and Bluetooth remote
  • SoC: MediaTek MT5862
  • CPU: 4x ARM Cortex A53
  • RAM: 1 GB
  • Flash: 8 GB
  • As of 2021-12 the device comes with
    • Android 9.0 (version eng.jinwen.20211209.155520)
    • Android security patch 2021-01-05
    • Kernel 4.9.118+
  • As of 2022-05-16 the device can be manually updated to
    • Android 9.0 (version eng.jingwen.20220418.080715)
    • The security patch level and kernel stay the same
    • The update adds the Google Play Store to the main menu
    • SHA256 checksum for the update file: e6684517a2f3256ee9b34e736a441b455c0c4217de3b39ebf8e7643fbe37333b
  • How to update the firmware manually
    • Note that this may factory reset the device! (Or at least it did so for me without warning.)
    • Get the firmware file from the manufacturer (~ 1.5 GB) by e.g. asking in the AliExpress chat
    • Place the file to the root of a USB flash drive with the filename MTK368P.bin
    • Turn off the device and disconnect the power cable
    • Connect the USB drive to the Micro-USB port of the device
    • Hold the power button and connect the power cable
    • The device should boot to the firmware update screen
    • Release the power button and wait for the update to complete
  • The recovery is unusable
    • It can be entered by holding down the menu button when booting. However, the menu cannot be navigated with the buttons, nor can the entries be selected.
  • The USB port works only in OTG mode, not client mode
    • Therefore ADB is not supported
  • These limitations are intentional by the manufacturer
    • According to the customer support: "It is closed by default and will not be opened specifically"
    • This means, that if the user interface of the device crashes for some reason, there is no way to reset the device, and you have to throw it away.
    • However, they may be willing to make exceptions for big corporate clients but not for individual customers
  • Sometimes the touchscreen stops working, and the menu dot from the top-left corner disappears This can be fixed by factory resetting the device using the remote or an external USB mouse, but this wipes all the data on the device.
  • There is no way to lock the screen with a PIN code or password, or to encrypt the device.
    • This is horrible for security, and therefore no sensitive information should be stored on the device.
  • The display has good colors but there's some ghosting
    • The backlight may make an audible high-pitched hum for brightness levels between 20 - 90 %.
    • Excess pressure will make the affected region of the display permanently brighter, resulting in uneven image brightness. Use an additional cover when carrying the monitor in a backpack!
  • There are several issues with Netflix
    • The device is not certified by Netflix, and therefore Netflix for Android TV does not work. This gives the error "Sorry, your account can't be used on this device." tvq-pb-101 (1.10.5005)
    • The device theoretically has support for Widevine L1 DRM, but Netflix sees only Widevine L3, limiting the resolution to 480p.
  • The device is not suitable for children
    • The main menu of the device showcases trending videos recommended by some weird algorithm, and this includes NSFW videos. There is no way to disable this except by switching to an alternative launcher such as Nova Launcher.

Bluetooth adapter

Zexmte

  • Amazon
  • AliExpress
  • Bluetooth 5.0
    • Bluetooth >= 4.0 is required for Bluetooth LE (BLE)
  • Class 1 radio (100 m range)
  • Realtek RTL8761B
    • Requires Linux kernel >= 5.8, which can be installed on Ubuntu 20.04 with sudo apt-get install linux-generic-hwe-20.04
    • Requires additional firmware for Linux
      • On Ubuntu the firmware and config should be copied to /lib/firmware/rtl_bt with the file extension .bin.

Lighting

Philips Hue

Socket

Only buy sockets with 16 A current rating and energy monitoring!

Athom 16A EU V2

  • AliExpress
  • Tasmota preinstalled
  • Energy monitoring is provided by the integrated HLW8032 power monitoring chip. No calibration is necessary.
  • 16 A / 3680 W

CozyLife 16A

  • AliExpress
  • Tasmota
  • Looks promising, but I haven't tested these yet
  • Energy monitoring
  • Based on ESP32-SOLO1
  • Requires flashing over serial
  • 16 A / 3750 W

Nous A1T

  • Same hardware as Nous A1 used to have, but with Tasmota preinstalled
  • Amazon
  • Energy monitoring
  • 16 A / 3450 W

Nous A1

  • Amazon
  • No longer compatible with Tasmota
    • Used to be flashable with Tuya-Convert
  • Energy monitoring
  • 16 A / 3450 W

Gosund SP112

  • Amazon (no longer available)
  • Tasmota
  • 2 USB ports with a separate relay (but no physical button)
  • 16 A / 3680 W

Gosund SP211

  • Amazon (no longer available)
  • AliExpress
  • Tasmota
    • At least previously flashable with Tuya-Convert
    • Used to be flashable over serial, can be opened with screws.
    • Now probably comes with a Wi-Fi module that is not compatible with Tasmota.
  • Energy monitoring (total only, not per socket)
  • 15 A

Power strip

Nous A5T

Gosund P1

  • Amazon (no longer available)
  • Tasmota
    • Required flashing over serial
    • Now probably comes with a Wi-Fi module that is not compatible with Tasmota.
  • Buttons are quirky with default settings, and pressing one button may affect another socket.
  • Energy monitoring (total only, not per socket)

Power strip box

Kettle

ProfiCook PC-WKS 1167G 1.5L

  • Amazon
  • Tasmota
    • Flashable over serial
    • Requires custom configuration, but instructions are available on the template page.

Surge protection

APC Surge Protector PME1WU2B-GR

  • Amazon
  • Verkkokauppa.com
  • 16 A / 4000 W
  • EMI/RFI filtering < 40 dB
  • With USB ports
  • Slightly obstructs adjacent sockets

Hama Surge Protection Adaptor

  • Amazon
  • 16 A / 3500 W
  • Small, does not obstruct adjacent sockets

Temperature and humidity sensor

Xiaomi LYWSD03MMC

Xiaomi MHO-C303

  • AliExpress
  • With clock and timer
  • Not compatible with the custom firmware. Therefore I recommend buying one of the supported models instead.
  • Adjusting the settings with a phone requires that the Xiaomi Home app is set to the mainland China region, which is a privacy concern.
  • Supported by the Passive BLE Monitor integration for Home Assistant

Plant sensor

MiFlora HHCCJCY01

Smoke alarm

Tuya YG400A

  • AliExpress
  • Tasmota
  • New version comes with a different chip (CB3S instead of TYWE3S) that is not compatible with Tasmota.
  • The CB3S is based on BK7231N and should therefore be compatible with OpenBeken. However, as of 2022, there is no configuration template.

Thermometer

Withings Thermo

  • Controlled with the Withings Thermo Android app

Scale

Withings ASDFASDF

  • Controlled with the Withings Health Mate Android app

Toothbrush

Oral-B Genius X

Philips Sonicare

  • The Philips Sonicare app refuses to start on rooted phones. Therefore stay away from their products!

About

Home automation


Languages

Language:Shell 100.0%