Table of Contents

Smart home

Smart Home docker

Smart home devices

Устройство Технология Описание Ссылка Дата Комментарий
Комнатный датчик CO2 EFEKTA iAQ S II Zigbee DIY zigbee connect to z2mqt
converter
2024-03-17 links .
SPG - current sensor

Interesting

Проекты

Monitoring

HA Configuration

#TODO sensors with battery list - https://simple-ha.ru/posts/468

MQTT

Zigbee

  1. database of zigbee devices https://zigbee.blakadder.com/all.html

Zigbee2mqtt

  1. * Run Zigbee2MQTT on Tuya T6E Android Smart Home Panels - https://blakadder.com/t6e-z2m/
  2. * start with debug ZIGBEE2MQTT_DATA=/etc/zigbee2mqtt/ ; DEBUG=zigbee-herdsman* ; node –inspect=0.0.0.0:5858 cli.js

Home assistant

https://www.awesome-ha.com/ config energy
https://wiki.ip2u.ru/smart-home#home_assistant - multiroom

HA. install

:!: HAAS HAOS install on armbian additional HAAS addons repository
:!: in docker HA right docker old Smart home Russia HA on armbian in docker
:!: in proxmox HA in proxmox 8
:!: in openwrt install HA on openwrt https://github.com/openlumi/homeassistant_on_openwrt

HA hardware

открываем домофон https://habr.com/ru/articles/533812/

HA configure tracking user on wifi

https://www.home-assistant.io/integrations/ubus/

Xiaomi - 
>>> Solution >>>
I have create via ES-FileExplorer a file /config/wifi/mac.txt with the wish MAC-Adress with chmod 444 permissions and it works !!!!
<<<Solution <<<

10A2ABxxxxxx - without double point

HA CCTV frigate / scrypted

https://docs.scrypted.app/installation.html – scrypted install docker
https://www.homeautomationguy.io/blog/running-frigate-on-proxmox – frigate install docker on proxmox
https://coral.googlesource.com/webcoral/ - TPU accelerator coral start

HA. configue

example http://kvazis.link/hassos
icons https://pictogrammers.com/library/mdi/ https://mdi.bessarabov.com/icon/memory

HA. Floor plan beauty

https://www.youtube.com/watch?v=MCNxgb0mrSA

HA articles

https://sprut.ai/user/AlexAz/contents/articles

HA mysql

Get stats of mysql - where data located

HA - template

# home assistant - executing in day 24h
01h 	24
10m 	144
05m 	288
01m 	1440
05s	17280
01s	86400
 
{% set result = namespace(sensors=[]) %}
{% set exclude = [] %}
{% set hours = 1 %}
{% for state in states.sensor | rejectattr('attributes.device_class', 'undefined') | selectattr('attributes.device_class', '==', 'timestamp') %}
    {{state}}
    {% if 'last_seen' in state.entity_id and not state.entity_id in exclude.entity_id and (states(state.entity_id) == 'unavailable' or ((as_timestamp(now()) - as_timestamp(states(state.entity_id))) > ((hours | int) * 60 * 60))) %}
     {% set result.sensors = result.sensors + [state.name | regex_replace(find=' last seen', replace='') ~ ' (' ~ relative_time(strptime(states(state.entity_id), '%Y-%m-%dT%H:%M:%S%z', 'unavailable')) ~ ')'] %}
    {% endif %}
 {% endfor %}
 {{ result.sensors | join(', ') }}

OpenHAB

Mi HOME

Xiaomi gateway re-firmware

Xiaomi Gateway 2 - DGNWG05LM - get root for my gateway

Настройка DGNWG05LM - owrt OpenLumi 21.02.5 - ZigBee ZESP

  1. <https://openlumi.github.io/> делаем backup и шьем owrt OpenLumi 21.02.5 - по инструкции , настриваем wifi
  2. <https://openlumi.github.io/zesp32.html> ставим packages , но не ставим старый zesp
  3. ставим zesp Code
  4. настраиваем zesp - zigbee
    1. cfg → zigbee → modeRouter (alert need reflash) → жмем по wirte zCoordinator
    2. при необходимости настриваем mqtt - mqttEnable=1 , Home_Assistant=1 при необхожимости
    3. save → restart
    4. переходим dashboard → device list → раскрываем шлюз жмем init zigbee Screen
    5. добавляем устройства zigbee
    6. настриваем automatization - script → save → restart
  5. автозапуск code
  1. при биндинге кнопки zigbee 3 , необходимо нажать на кнопку после отдачи команды Bind - что бы проснулась
  2. при биндинге на группу, необходимо указать адрес группы руками

Sensor panel

vacuum firmware

mi box 4

Xiaomi Thermometer LYWSD03MMC

yeelight

Прибор и место Тип mac ip token
1. лампа зал - - - yeelink.light.color3 ….a3:9e ….114.142 2cd4f361466554f8ecb4ca0395cea29f
2. настольная лампа зал yeelink.light.lamp1 ….16:f4 ….114.120 9afe61cd1b977c74a59cdefa3d7358ea
3. ночник спальная yeelink.light.bslamp2 ….78:39 ….114.143 860ed214ebe852e0d2b697f66991ec8c
4. gateway lumi.gateway.mieu01 ….114.135 476d336c566d423874726f6e59704a34

••••••••••

помни про EU.......9

Sonoff

sonoff Current sensor

Sonoff Zigbee 3.0 USB Dongle Plus ZBDongle-P.

Sonoff Zigbee 3.0 USB Dongle Plus ZBDongle-E

sonoff full pinout

Humidity sensor

Tasmota firmware

Armbian

file.sh
# filesystem activity
fatrace -t -f W
 
# check benchmark
dd if=/dev/mmcblk2 of=/dev/null bs=1M count=512 iflag=direct
 
cat /sys/kernel/debug/mmc1/ios
clock:          200000000 Hz
actual clock:   200000000 Hz
vdd:            16 (2.8 ~ 2.9 V)
bus mode:       2 (push-pull)
chip select:    0 (don't care)
power mode:     2 (on)
bus width:      2 (4 bits)
timing spec:    6 (sd uhs SDR104)
signal voltage: 1 (1.80 V)
driver type:    0 (driver type B)

Armbian x88 pro 10

  1. Amlogic eMMC Partition Tool - https://github.com/7Ji/ampart
  2. платная замена памяти wifi https://www.youtube.com/watch?v=9yBMO1m6qgY

Измеритель мощности

https://mysku.club/blog/aliexpress/52206.html
https://4pda.to/forum/index.php?showtopic=872563&st=7880

Tuya

Tuya local

Tuya relay

identification помни про EU……….
••••••••••
“Energy in” - key : @dm<'e4Q29|#N0/_