I'm home grown in New Zealand You'll generally see NZ links. I enjoy tinkering in Home Assistant in my down time. If you find something useful in here, Yay!
- ODROID-N2+ with 4GByte RAM
- 128GB eMMC Module N2 Linux
- USB3.0 eMMC Module Writer used to flash Home Assistant onto the eMMC module.
- [Raspberry Pi 4 Model B 4GByte RAM](https://www.raspberrypi.org/products/raspberry-pi-4-model-b/?variant=raspberry-pi-4-model-b-4gb
- PoE+ HAT
- Argon NEO Raspberry Pi 4 Case
- MariaDB running in a Docker Container
- ESPHome
- Mosquitto broker
- NGINX Home Assistant SSL proxy
- Samba share
- Terminal & SSH
- Node-RED
- Visual Studio Code
Jump to: RS485 control of the DD7002B WIFI Bridge
Jump to: MQTT monitoring of OpenSprinkler
- OpenSprinkler OS3.0 AC-Powered
- Ring AC Power Adapter I'm actually using the first generation power adapter for a 'Ring Video Doorbell Pro'
- Pope 25mm Solenoid Valve With Flow Control
Jump to: Shelly
Jump to: ZHA
Additonal components:
Including the hardware discussed here: https://github.com/klaasnicolaas/home-assistant-glow No additonal changes made to Klaas's configuration
Open Sprinkler MQTT documentation
- OpenSprinkler OS3.0
- https://github.com/home-assistant/addons/tree/master/mosquitto
https://www.home-assistant.io/integrations/sensor.mqtt/ https://www.home-assistant.io/integrations/template/ https://www.home-assistant.io/integrations/template/#startup https://www.home-assistant.io/integrations/template/#change-the-icon-when-a-state-changes
default_config:
homeassistant:
customize_glob: !include customize_glob.yaml
sensor:
- platform: mqtt
name: "OpenSprinkler Station 0"
# "Pot Plants"
state_topic: "opensprinkler/station/0"
value_template: "{{ value_json.state }}"
template:
- sensor:
- name: "Watering Pot Plants"
state: >
{% if is_state('sensor.opensprinkler_station_0', '1') %}
watering
{% elif is_state('sensor.opensprinkler_station_0', '0') %}
idle
{% else %}
standby
{% endif %}
icon: >
{% if is_state("sensor.watering_pot_plants", "watering") %}
mdi:sprinkler-variant
{% else %}
mdi:sprinkler
{% endif %}
- DD7002B WIFI Bridge firmware 0.8.0 or greater
- EZSync010 or other RS485 bridge
EZsync010 was terminated to a RJ9/4P4C plug
EZSync010 | RJ9/4P4C | Function |
---|---|---|
Black | 1 | Ground |
- | 2 | - |
Orange | 3 | 485A |
Yellow | 4 | 485B |
Red | - | Power |
Brown | - | Terminator 1 |
Green | - | Terminator 2 |
'-' denotes not in use
Further Documentation:
No additional drivers required
Drivers for chipset https://www.ftdichip.com/FTDrivers.htm
No additional drivers required
No additional drivers required
Install Screen if required
sudo apt-get install screen
screen /dev/ttyUSB0 9600
List USB devices in the OS to retreive the device name of the EZSync010 assigned in the OS.
ls /dev/tty.*
/dev/tty.Bluetooth-Incoming-Port /dev/tty.usbserial-AB0KFHEJ
Connect to EZSync010 and specify the baud rate
screen /dev/tty.usbserial-AB0KFHEJ 9600
Value | Description |
---|---|
!123D005vZ10 | Lounge 1, One Way Blind |
!123D006vZ10 | Bedroom, One Way Blind |
!123D003vU10 | Kitchen Blind, Two Way Blind |
!123D000v?;
!123D001vZ10;!123D002vZ10;!123D003vU10;!123DFFFv000;
!123D003vU10o;
!123D003vU10c;
!123D003vU10s;
!123D003vU10q;
https://www.home-assistant.io/integrations/cover.command_line/
default_config:
homeassistant:
customize_glob: !include customize_glob.yaml
cover:
- platform: command_line
covers:
blind_lounge_se:
command_open: '/bin/bash -c "( stty raw speed 9600 >&2; echo -ne ''!123D005o;'' ) >/dev/ttyUSB0 <&1"'
command_close: '/bin/bash -c "( stty raw speed 9600 >&2; echo -ne ''!123D005c;'' ) >/dev/ttyUSB0 <&1"'
command_stop: '/bin/bash -c "( stty raw speed 9600 >&2; echo -ne ''!123D005s;'' ) >/dev/ttyUSB0 <&1"'
friendly_name: Lounge South East
blind_bedroom_master:
command_open: '/bin/bash -c "( stty raw speed 9600 >&2; echo -ne ''!123D006o;'' ) >/dev/ttyUSB0 <&1"'
command_close: '/bin/bash -c "( stty raw speed 9600 >&2; echo -ne ''!123D006c;'' ) >/dev/ttyUSB0 <&1"'
command_stop: '/bin/bash -c "( stty raw speed 9600 >&2; echo -ne ''!123D006s;'' ) >/dev/ttyUSB0 <&1"'
friendly_name: Bedroom Master
cover.blind_lounge_se:
icon: mdi:blinds
cover.bedroom_*:
icon: mdi:blinds
Shelly API Documentation https://shelly-api-docs.shelly.cloud/
Shelly Gen 1 Firmware Change Log https://shelly-api-docs.shelly.cloud/gen1/#changelog
Shelly Gen 2 Firmware Change Log https://shelly-api-docs.shelly.cloud/gen2/changelog
Shelly firmware update URL generator http://archive.shelly-tools.de/ usefull for rollback firmware.
http://192.3.4.5/ota?url=http://archive.shelly-tools.de/version/v1.11.8/SHDW-2.zip
With user authentication:
http://user_name:[email protected]/ota?url=http://archive.shelly-tools.de/version/v1.11.8/SHDW-2.zip
Initially used https://github.com/bieniu/ha-shellies-discovery and MQTT which worked well, however I migrated to native Shelly Integration CoIoT
Be sure to configure Home Assistant IP address and port don't use Multicast
ConBee II Firmware Change Log https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Firmware-Changelog
https://github.com/zigpy/zigpy https://github.com/zigpy/zigpy/wiki/OTA-Device-Firmware-Updates http://fw.ota.homesmart.ikea.net/feed/version_info.json https://www.home-assistant.io/integrations/zha#ota-firmware-updates https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/OTA-Image-Types---Firmware-versions https://ww8.ikea.com/ikeahomesmart/releasenotes/releasenotes.html