====== Smart home ====== ====== Smart Home docker ====== * https://immich.app/ - photo * https://wiki.servarr.com/prowlarr - Lidarr, Prowlarr, Radarr, Readarr, Sonarr, and Whisparr docker ===== Smart home devices ===== ^ Устройство ^ Технология ^ Описание ^ Ссылка ^ Дата ^ Комментарий ^ | [[https://aliexpress.ru/item/1005005216206803.html?spm=a2g2w.orderdetail.0.0.e91a4aa6dolerQ&sku_id=12000033226646639|Комнатный датчик CO2 EFEKTA iAQ S II Zigbee DIY]] | zigbee | {{:smart-home:pasted:efekta_photo_1_2024-03-17.webp?51}}{{:smart-home:pasted:efekta_photo_2_2024-03-17.webp?51}}{{:smart-home:pasted:efekta_photo_4_2024-03-17.webp?51}} | [[https://telegra.ph/Dobavlenie-vneshnego-konvertera-v-zigbee-2-mqtt-12-11|connect to z2mqt]] \\ [[https://github.com/smartboxchannel/EFEKTA_iAQ_S_I_II_III/tree/main/z2m_converter/EFEKTA_iAQ_S_II_R2.js|converter]] | 2024-03-17 | ++links | -https://telegra.ph/Dobavlenie-vneshnego-konvertera-v-zigbee-2-mqtt-12-11 \\ - https://github.com/smartboxchannel - github конвертор EFEKTA_iAQ_S_II_R2 \\ - https://t.me/EfektaLab - лично автор \\ - https://t.me/diydevmart Продажа/покупка/обмен/дарение устройств для Умного дома\\ - Для джойна подать питание или если уже работает, то зажать кнопку на 2-3 секунды \\ до перезагрузки датчика, для выхода из сети зажать кнопку на 10 секунд, до перезагрузки.\\ Серое лого зигби - не в сети, красное - в сети\\ ++. | | SPG - current sensor | | | | | | ===== Interesting ===== * у павла http://psenyukov.ru/ https://t.me/ypavla * своими руками https://dzen.ru/media/smart_home_russia/ * Умный дом с Alex Kvazis - https://t.me/smarthomesell https://www.youtube.com/channel/UCcq9onYHbs6go3kDpfBoqhg * https://www.smarthomebeginner.com/home-server/ * https://habr.com/ru/articles/799957/ - esphome датчик тепла, учета энергии, импульсов ===== Проекты ===== * [[https://psenyukov.ru/%d1%81%d1%87%d0%b8%d1%82%d1%8b%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5-%d0%bf%d0%be%d0%ba%d0%b0%d0%b7%d0%b0%d0%bd%d0%b8%d0%b9-%d1%81%d1%87%d0%b5%d1%82%d1%87%d0%b8%d0%ba%d0%be%d0%b2-%d0%b2%d0%be%d0%b4%d1%8b/|Считывание аналоговых счетчиков ]] ==== Monitoring ==== * https://habr.com/ru/articles/817001/ Резервный мониторинг послушного дома ===== HA Configuration ===== * https://github.com/to4ko/myconfig/ * https://github.com/avbor/HomeAssistantConfig #TODO sensors with battery list - https://simple-ha.ru/posts/468 \\ ===== MQTT ===== * [[https://www.youtube.com/watch?v=31IyfM1gygo|Good channel and video]] ===== Zigbee ===== - database of zigbee devices https://zigbee.blakadder.com/all.html ===== Zigbee2mqtt===== - * Run Zigbee2MQTT on Tuya T6E Android Smart Home Panels - https://blakadder.com/t6e-z2m/ - * 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/ [[https://community.home-assistant.io/t/how-to-make-my-custom-card-wider-in-the-lovelace/619582| config energy]]\\ https://wiki.ip2u.ru/smart-home#home_assistant - multiroom \\ ===== HA. install ===== :!: HAAS [[https://haade.fr/en/blog/easy-installation-home-assistant-os-armbian-cubietruck-2024#preparing-for-haos|HAOS install on armbian]] [[https://gadget-freakz.com/the-best-home-assistant-addons-and-repos-of-2023/|additional HAAS addons repository]] \\ :!: in docker [[https://sequr.be/blog/2022/09/home-assistant-container-part-3-mariadb-and-influxdb/|HA right docker]] [[https://dzen.ru/media/smart_home_russia/prevrascaem-android-tvpristavku-v-umnyi-dom-ustanovka-home-assistant-v-docker-na-armbianubuntu-627d44cd82ca89686a420693|old Smart home Russia HA on armbian in docker]] \\ :!: in proxmox [[https://www.derekseaman.com/2023/10/home-assistant-proxmox-ve-8-0-quick-start-guide-2.html|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 !!!! << ==== 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| -- get count of state entity and count of history data SELECT states_meta.entity_id, count(*), -- states.state, from_unixtime(min(states.last_updated_ts)) as last_updated_ts, from_unixtime(min(IF(states.last_changed_ts IS NULL, states.last_updated_ts, states.last_changed_ts))) AS last_changed_ts FROM states LEFT JOIN states_meta ON (states.metadata_id = states_meta.metadata_id) group by states_meta.entity_id order by 2 desc; -- size of all tables SELECT table_schema as `DB`, table_name AS `Table`,TABLE_ROWS, ROUND(((data_length + index_length) / 1024 / 1024), 2) `Size (MB)` FROM information_schema.TABLES ORDER BY (data_length + index_length) DESC; ++++ ===== 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 ====== * [[https://www.openhab.org/|OpenHAB]] ====== Mi HOME ====== * [[https://t.me/kapiba|telegram channel]] * [[https://4pda.ru/forum/index.php?showtopic=661250&st=8840#entry69581796|4pda mi home - version from VEVs]] * [[https://www.kapiba.ru/2017/11/mi-home.html|Site with pathced verion mi home]] ===== Xiaomi gateway re-firmware ===== * https://github.com/AlexxIT/XiaomiGateway3 * https://simple-ha.ru/posts/261 * https://habr.com/ru/post/535660/ Xiaomi Gateway 2 - DGNWG05LM - get root for my gateway * :!: install HA on openwrt https://github.com/openlumi/homeassistant_on_openwrt * https://openlumi.github.io/ https://github.com/DivanX10/Openwrt-scripts-for-gateway-zhwg11lm - scripts example * :!: https://github.com/Alx2000y/lumimqttd * {{:pasted:20230124-033641.png?400}} * https://4pda.to/forum/index.php?showtopic=1002710&st=100 * ZESP - https://github.com/openlumi/openlumi.github.io#working-with-zigbee **Настройка DGNWG05LM - owrt OpenLumi 21.02.5 - ZigBee ZESP ** - делаем backup и шьем owrt OpenLumi 21.02.5 - по инструкции , настриваем wifi - ставим packages , но не ставим старый zesp - ставим zesp ++Code| $cd /tmp && wget http://82.146.46.112/fw/zesp.tar.gz && tar -xzvf zesp.tar.gz -C / копируем bindings $cp /opt/zesp/ini/build/Release/bindings.node.21 /opt/zesp/build/Release/bindings.node $cp /opt/zesp/ini/build/Release/bindings1.node /opt/zesp/build/Release/bindings1.node $killall start.sh $killall node $cd /opt/zesp $node index ++ - настраиваем zesp - zigbee - cfg -> zigbee -> modeRouter (alert need reflash) -> жмем по wirte zCoordinator - при необходимости настриваем mqtt - mqttEnable=1 , Home_Assistant=1 при необхожимости - save -> restart - переходим dashboard -> device list -> раскрываем шлюз жмем init zigbee ++Screen| {{:pasted:20230222-063821.png?200}} ++ - добавляем устройства zigbee - настриваем automatization - script -> save -> restart - автозапуск ++code| cp /opt/zesp/ini/package.json /opt/zesp cat << EOF > /etc/init.d/zesp32 #!/bin/sh /etc/rc.common START=99 USE_PROCD=1 start_service() { procd_open_instance procd_set_param command /usr/bin/npm start --prefix /opt/zesp procd_set_param respawn ${respawn_threshold:-3600} ${respawn_timeout:-5} ${respawn_retry:-0} procd_set_param pidfile /var/run/zesp32.pid procd_set_param stdout 1 procd_set_param stderr 1 procd_close_instance } EOF chmod o+wx /etc/init.d/zesp32 /etc/init.d/zesp32 enable ++ - при биндинге кнопки zigbee 3 , необходимо нажать на кнопку после отдачи команды Bind - что бы проснулась - при биндинге на группу, необходимо указать адрес группы руками ===== Sensor panel ===== * sensor Sonoff panel ===== vacuum firmware ===== * https://valetudo.cloud/pages/companion_apps/valetudo_companion.html ===== mi box 4 ===== * root android https://www.youtube.com/watch?v=PO1WWv6YU6E ===== Xiaomi Thermometer LYWSD03MMC ===== custom firmware https://github.com/atc1441/ATC_MiThermometer https://atc1441.github.io/TelinkFlasher.html https://atcnetz.blogspot.com/ \\ + zigbee + trigger https://github.com/pvvx/ATC_MiThermometer \\ bluetooth le long-range https://github.com/pvvx/ATC_MiThermometer/issues/297 \\ https://github.com/hbldh/bleak/issues/1225 \\ {{:smart-home:pasted:20231130-190035.png}} ===== 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 | U2FsdGVkX1/ETRvnxcMwz5FWKjbMuetCN0QLO4PH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LnjEGh2rfWW5JRHUwJi/pFuV/sf GJWGJxBU4k/z6Zf9g9eJ2vUl9p/R/bqfNvqObliGSEdoUD21rFf3XKF30xA3sc6O j0OYlEbsip4JHhl/r/lM26IgwBSjjXpGZIL+qRMnpHjt3Dmk/h8tt8rB5bBrLtF+ kd6jkz/2WJcCwXSiY8M3zJWD/shUB3XJC/70tY0hUPKvXI3cKJ6Es3zm8/uNdtDz MxBz+wkPfEjsH4iNon16ip8h1UpPKLquvuyGBrJ3plKbdBSsrxNybz5E+XoCAQ/4 /Pt+qDMYXGNJ+q9P2C1tNGtT9cs+DymvWHNS5uKpIavC9mMnEjcFhW5x/t4ZBgOV помни про EU.......9 ====== Sonoff ====== * 4pda - [[https://4pda.to/forum/index.php?showtopic=807727&st=6020#entry72528284|Sonoff]] [[https://4pda.to/forum/index.php?showtopic=872563&st=20|Прошивка]] * https://tasmota.github.io/docs/Components/#tasmota32 - firmware universal * * https://www.esphome-devices.com/devices/Sonoff-BASIC-R2-v1.4 * https://esphome.io/ - another firmware ===== sonoff Current sensor ===== * * scheme and start https://tasmota.github.io/docs/ADC/#adc_ct-circuit * calculation https://docs.openenergymonitor.org/electricity-monitoring/ct-sensors/interface-with-arduino.html * adc scheme and code https://www.electronicshub.org/nodemcu-esp8266-adc-tutorial/ https://randomnerdtutorials.com/esp8266-adc-reading-analog-values-with-nodemcu/ * energy meter project https://how2electronics.com/iot-based-electricity-energy-meter-using-esp32-blynk/ * esp 32 , android software - project https://hackaday.com/2019/07/27/building-a-safe-esp32-home-energy-monitor/, https://savjee.be/blog/Home-Energy-Monitor-ESP32-CT-Sensor-Emonlib/,https://www.youtube.com/watch?v=H6wmBGExMJg ==== Sonoff Zigbee 3.0 USB Dongle Plus ZBDongle-P. ==== * instruction firmware - https://www.youtube.com/watch?v=KBAGWBWBATg * :!: drivers and python script - drivers need to work software for rewrite https://github.com/JelmerT/cc2538-bsl/pull/114 - ''• instruction comment Hedda commented on Nov 29, 2021 '' * firmware - https://github.com/Koenkk/Z-Stack-firmware/tree/master/coordinator/Z-Stack_3.x.0/bin ==== Sonoff Zigbee 3.0 USB Dongle Plus ZBDongle-E ==== * firmware zigbee thread metter - https://smarthomescene.com/guides/how-to-enable-thread-and-matter-support-on-sonoff-zbdongle-e/ ==== sonoff full pinout ==== * https://www.reddit.com/r/sonoff/comments/mq1c7k/sonoff_sv_full_pinout/ ===== Humidity sensor ===== - automatic zigbee sensor https://blakadder.com/sonoff-th-custom-firmware/ ====== Tasmota firmware ====== * https://tasmota.github.io/docs/Getting-Started/#serial-connection ====== Armbian ====== * cheatsheet armbian https://bva.dyndns.info/wiki/os/armbian https://bva.dyndns.info/page:4 * install docker https://seraf.dev/install-docker-on-armbian/ * Пример запуска Armbian https://habr.com/ru/articles/767336/ * Превращаем TV-box в мини-компьютер https://habr.com/ru/articles/765280/ * SD performance https://forum.armbian.com/topic/954-sd-card-performance/ * using infrared - https://www.sigmdel.ca/michel/ha/opi/ir_01_en.html * UBOOT - https://habr.com/ru/articles/765280/ # 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 ===== - Support kernels for rk3188 https://github.com/ophub https://github.com/paolosabatino/ - Amlogic eMMC Partition Tool - https://github.com/7Ji/ampart - armbian на русском https://dzen.ru/a/YmecohTy_0Ic0iv3?referrer_clid=1400& - main thread https://forum.armbian.com/topic/26978-csc-armbian-for-rk3318rk3328-tv-box-boards/ - https://4pda.to/forum/index.php?showtopic=1005934 - install armbian https://www.hyperhdr.eu/2022/01/tv-box-mania-i-part-x88-pro-10.html - debricking https://www.youtube.com/watch?v=9bW9fGokyLE - платная замена памяти 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.......... \\ U2FsdGVkX1+Cqdh87/yQV53S/GdUKZCHeFlZXqRpbyxtiHP49FcExuKtbRBJoP2C QUISYdLf7AnEXiWJpDqFxSb+DHU8b4+TV5AwPwi+OZOZ2dC3lnT1Asoz7oyHH9BL UasZDJ2LAFBgL8+qit6lHTWRebChpxcXNwOkIRCQphQ=\\ "Energy in" - key : ''@dm<'e4Q29|#N0/_'' \\ {{:smart-home:pasted:20240217-191414.png}}