home automation training -22-add RGBW LED strip to home assistant by ESPHome

home automation training -22-add RGBW LED strip to home assistant by ESPHome   1. chose LED strip model 2. connect with wire: VCC,DATA,GND 3. config in ESPHome: light: – platform: fastled_clockless chipset: WS2812B pin: GPIO33    # Pin Define connected with LED strip num_leds: 30  #LEDs number rgb_order: GRB name: “led_strip” effects: – addressable_rainbow: …

home automation training -21-Install Raspbian OS on KC868-Server raspberry pi CM4

home automation training -21-Install Raspbian OS on KC868-Server raspberry pi CM4   https://www.raspberrypi.com/software/ 1. Change KC868-Server USB boot jumper 2. Connect with USB cable with computer and KC868-Server 3. Power on of KC868-Server 4. Run rpiboot 5. Download and install Raspberry Pi Imager 6. Manually install an operating system image 7. Connect KC868-Server HDMI…

home automation training -20-extend digital output & input in home assistant

home automation training -20-extend digital output & input in home assistant   extend output and input ports by hardware devicea. KC868-A series board  (integrate to home assistant by ESPHome) b. KC868-HxB series board (integrate to home assistant by MQTT) 2. config ESPHome for KC868-A16 esphome: name: kc868-a16 platform: ESP32 board: esp32dev # Example configuration entry…

home automation training -19-water level sensor for automation in home assistant

home automation training -19-water level sensor for automation in home assistant   Chose water level sensor:a. output dry contact for OPEN/CLOSE singal. b. output DC 0-5v analog voltage. 2. create a new automation: water-level-control-output4-on (turn on relay) ——————————————- Trigger type: State Entity: input-1 To: on Actions: Action type: Call service Service: Switch:Switch: Turn on + Choose…

home automation training -18-ZigBee motion sensor control light in home assistant

home automation training -18-ZigBee motion sensor control light in home assistant   SONOFF SNZB-03 configure for home assistant by Zigbee2mqtt sensor: – platform: mqtt name: pir-state state_topic: “zigbee2mqtt/0x00124b00251e530f” value_template: “{{ value_json.occupancy }}” Note: ID need replace with your device. such as ‘0x00124b00251e530f’ 2. create a new automation: create automation-1 (turn on light) ——————————————- Trigger…

home automation training -17-integrate USB local camera to home assistant

home automation training -17-integrate USB local camera to home assistant   1. connect with your USB camera. 2. Enable home assistant “Advanced Mode”. 3. “Add-ons, Backups & Supervisor” — “system” — “Host” — “Hardware” ,  search videox 4. Configuration edit yaml camera: – platform: ffmpeg name: cam input: /dev/input/video0 5. Home assistant restart 6.…

home automation training -16-integrate device to home assistant by Zigbee2MQTT

home automation training -16-integrate device to home assistant by Zigbee2MQTT   Add the repository URL under Supervisor->Add-on store->…->Manage add-on repositories: https://github.com/zigbee2mqtt/hassio-zigbee2mqtt 2. Zigbee2mqtt add-on Configuration for home assistant data_path: /config/zigbee2mqtt external_converters: [] devices: devices.yaml groups: groups.yaml homeassistant: true permit_join: false mqtt: base_topic: zigbee2mqtt server: mqtt://192.168.1.96:1883 user: mqtt password: ‘123’ serial: port: /dev/ttyACM0 advanced: log_level:…

home automation training -14-integrate temperature sensor to home assistant

home automation training -14-integrate temperature sensor to home assistant   DS18B20 temperature range: -55°C to +125°C and is accurate to ±0.5°C this is the ESPHome config: # Example configuration entry dallas: – pin: 4 update_interval: 5s # Individual sensors sensor: – platform: dallas address: 0x69062162d9ec4328 name: “Temperature” YouTube: https://www.youtube.com/c/KinCony

KC868-A32 esp32 board hardware design details

How many relays can be installed on the controller board? Four? Eight? Kincony decided not to limit itself and equipped its KC868-A32 model of ESP32 board with as many as 32 relays. The result was a unique controller, which I don’t remember any analogues – against the background of ordinary devices of this type, the…

home automation training -12-integrate KC868-Uair to home assistant

home automation training -12-integrate KC868-Uair to home assistant   home automation training -12-integrate KC868-Uair to home assistant 1. To enable the USB 2.0 ports on the raspberry pi 4 Compute Module 4, you need to edit the boot config file (/boot/config.txt) and add: dtoverlay=dwc2,dr_mode=host 2. enable home assistant “Advanced Mode” 3. install ESPHome in Add-ons…