Back to README at root of the Repo.
About the folder structure - MyHome, and others .
-
This document can be viewed under the dig2 client, but also at the location:
/opt/iotplay/<3cld>_dig2/projects/Prod/Docs
where <3cld> defaults tomyh
formy home
, but can be replaced by 3 letters which identifies the client, for cases where more than one client is hosted on the same host. -
In this document where the pre-letters
myh
to a folder is used, this rule applies. -
HomeBridge comes preinstalled with dig2 in this version. (We maybe latero n make it a seperately installable product, for those not on Apple). homeBridge requirs a seperately installed broker running on Docker, accessable by the host this is running on.
/opt/iotplay/homedig2/projects/Prod
: The folder where dig2 Node-RED flows will install, instance Production./opt/iotplay/homedig2/iotp.conf
: The settings for the house .
-
Settings files for
Homie
. To assist with configuring your Home in the homie standard.homieClientSetup.yml
: For setting up your IoT devices - in cases where self-discovery standards are not complied to by the device, and even if it does, you can create etra meaning per the homie standard in this file.homieTransforms.yml
: Transforms mqtt messages from non-homie appliances to the homie standard.
-
Settings files for
homeBridge
.
A yaml file, with which to create is sent as an MQTT message into the HomeBridge docker service, which then createthe Apple HomeKit devices. The Things here must be aligned to the things created in the dig2Homie
engine, where the MQTT standard is used, on this side, '/' is replaced with '.'. The homedig2
engine will then be able to update the status of the HomeBridge
created device, if the notations are followed.
Actioning the changes you made to this file, is done from the *Setup screen, see below.
---
#homebridgeSetup: # Apple Homekit
---
#Add as controller to Hombridge through MQTT queue homebridge/to/add:
- name: ESP62.Air.Temperature
service_name: Quad Temperature
service: TemperatureSensor
manufacturer: IoTPlay
serialnumber: ESP62.Air.Temperature
- name: ESP72.Light.Switch
service_name: Outside Kitchen
service: Lightbulb
manufacturer: Sonoff
model: Basic
serialnumber: ESP72.Light.Switch
firmwarerevision: ESP_Easy mega-20181112
- name: shelly1-93EA75.relay.Light
service_name: Outside Braai
service: Lightbulb
manufacturer: Shelly
model: One
serialnumber: shelly1-93EA75.relay.Light
- name: Paradox.Zone.Landing_PIR
service_name: Landing PIR
service: MotionSensor
manufacturer: Paradox
serialnumber: Paradox.Zone.Landing_PIR
- name: ESP62.Leg1.Relay
service_name: Sprinkler Leg1
service: Valve
manufacturer: IoTPlay
model: 4 sprinkler beta
serialnumber: ESP62.Leg1.Relay
#ValveType: 1
- name: ESP62.Vars.Auto
service_name: Sprinklers Auto
service: Switch
manufacturer: IoTPlay
serialnumber: ESP62.Vars.Auto
model: 4 sprinkler beta
A yaml file, with items to be removed.
---
- name: ESP62.Switch.Auto
After you made changes to your setup files, the steps to get the dig2Twin to accept them. Changes are made from the Setup screen.
Back to README at root of the Repo.