forked from sguernion/rfxcom2mqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1st version after that of s guernion version with
3 parameterization elements at the level by homeassistant - RfxComBridge (loglevel and protocols listened to) - New RFX device (with and without discovery) - New Dio receiver
- Loading branch information
Showing
52 changed files
with
3,504 additions
and
1,371 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
// Utilisez IntelliSense pour en savoir plus sur les attributs possibles. | ||
// Pointez pour afficher la description des attributs existants. | ||
// Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "TS-1Node", | ||
"type": "node", | ||
"request": "launch", | ||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/ts-node", | ||
"runtimeArgs": [ | ||
"--transpile-only", | ||
// if you use esm | ||
//"--esm" | ||
], | ||
"program": "${workspaceFolder}/src/dev.ts", | ||
"preLaunchTask": "tsc: build - tsconfig.json", | ||
"cwd": "${workspaceRoot}", | ||
"skipFiles": ["<node_internals>/**", "node_modules/**"], | ||
"outFiles": [ | ||
"${workspaceFolder}/**/*.js" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "typescript", | ||
"tsconfig": "tsconfig.json", | ||
"option": "watch", | ||
"problemMatcher": [ | ||
"$tsc-watch" | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"label": "tsc: espion - src/tsconfig.json" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,36 @@ | ||
|
||
loglevel: 'info' | ||
healthcheck: | ||
enabled: true | ||
cron: '*/5 * * * *' | ||
cacheState: | ||
enable: true, | ||
saveInterval: 5 | ||
|
||
loglevel: info | ||
healthcheckminutesfrequency: 5 | ||
homeassistant: | ||
discovery: true | ||
discovery_topic: homeassistant | ||
discovery_device: rfxcom2mqtt | ||
|
||
discovery: false | ||
base_topic: rfxcom2hass | ||
discovery_bridge_unique_id: bridge_000001 | ||
topics: | ||
discovery: homeassistant/device/%discovery_bridge_unique_id%/%device_unique_id%/config | ||
command: "%base_topic%/%discovery_bridge_unique_id%/%device_unique_id%/%sensortype%" | ||
state: "%base_topic%/%discovery_bridge_unique_id%/%device_unique_id%/state" | ||
will: "%base_topic%/%discovery_bridge_unique_id%/status" | ||
homeassistant_availability: homeassistant/status | ||
ecoute: "%base_topic%/%discovery_bridge_unique_id%/#" | ||
mqtt: | ||
base_topic: rfxcom2mqtt | ||
server: tcp://<IP ADDRESS> | ||
username: <USERNAME> | ||
password: <PASSWORD> | ||
base_topic: rfxcom2hass | ||
include_device_information: false | ||
qos: 0 | ||
retain: false | ||
|
||
retain: true | ||
server: tcp://homeassistant.local | ||
username: your_user | ||
password: your_password | ||
format_json: true | ||
rfxcom: | ||
usbport: /dev/ttyUSB0 | ||
debug: false | ||
enable_protocols: | ||
- AC | ||
- ARC | ||
- LIGHTWAVERF | ||
- OREGON | ||
- X10 | ||
usbport: /dev/ttyUSB0 | ||
transmit: | ||
repeat: 4 | ||
lighting1: | ||
- X10 | ||
- ARC | ||
- ELRO | ||
- PHILIPS_SBC | ||
lighting2: | ||
- AC | ||
- HOMEEASY_EU | ||
lighting3: | ||
- KOPPLA | ||
lighting4: | ||
- PT2262 | ||
receive: | ||
- temperaturehumidity1 | ||
- homeconfort | ||
- lighting1 | ||
- lighting2 | ||
- lighting3 | ||
- lighting4 | ||
- remote | ||
- security1 | ||
|
||
devices: | ||
- id: '0x5C02' | ||
friendlyName: 'Bathroom Temp & Hum' | ||
|
||
- id: '0xB9459A' | ||
friendlyName: 'Garden motion' | ||
|
||
- id: '1001010/1' | ||
name: 'CucuDimmer' | ||
friendlyName: 'Kitchen Dimmer Light' | ||
type: 'lighting2' | ||
|
||
- id: '0x012E00FF' | ||
friendlyName: 'Living Room switch' | ||
|
||
- id: '0x00ED400F' | ||
name: 'Lights' | ||
units: | ||
- unitCode: '1' | ||
name: 'Light1' | ||
friendlyName: 'Living Room' | ||
- unitCode: '2' | ||
name: 'Light2' | ||
friendlyName: 'Kitchen' | ||
- unitCode: '3' | ||
name: 'Light3' | ||
friendlyName: 'Garage' | ||
- unitCode: '4' | ||
name: 'Light4' | ||
friendlyName: 'Garden' | ||
type: 'lighting2' | ||
|
||
- id: '0x3D090F' | ||
name: 'Switch1' | ||
command: 'on' | ||
friendlyName: 'Living Room Lights on' | ||
type: 'lighting4' | ||
- id: '0x3D090E' | ||
name: 'Switch1' | ||
command: 'off' | ||
friendlyName: 'Living Room Lights off' | ||
type: 'lighting4' | ||
repeat: 2 | ||
cacheDevices: | ||
enable: true, | ||
saveInterval: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
lighting2_AC_0x017334A2_10: | ||
protocol: lighting2 | ||
subtype: 0 | ||
subtypeValue: AC | ||
unique_id: lighting2_AC_0x017334A2_10 | ||
id_rfxcom: 0x017334A2/10 | ||
device_id: 0x017334A2/10 | ||
unit_code: 10 | ||
name: bouton bas escalier | ||
protocolOptions: [] | ||
repetitions: 2 | ||
sensors_types: | ||
- level | ||
- rssi | ||
- switch | ||
- switch | ||
- switch | ||
commands: &a2 | ||
switchOn: 0 | ||
switchOff: 0 | ||
setLevel: 1 | ||
suggested_area: boutons | ||
device_name: &a1 | ||
- KlikAanKlikUit | ||
- HomeEasy UK | ||
- Chacon | ||
- NEXA | ||
- Intertechno | ||
exists_choice: bouton bas escalier | ||
discovery: false | ||
message: "" | ||
lighting2_AC_0x0156F0D6_11: | ||
protocol: lighting2 | ||
unique_id: lighting2_AC_0x0156F0D6_11 | ||
device_id: 0x0156F0D6/11 | ||
name: "bouton bibliotheque (esc) " | ||
device_name: *a1 | ||
id_rfxcom: 0x0156F0D6/11 | ||
subtype: 0 | ||
subtypeValue: AC | ||
repetitions: 2 | ||
sensors_types: | ||
- level | ||
- rssi | ||
- switch | ||
commands: *a2 | ||
suggested_area: boutons | ||
exists_choice: "bouton bibliotheque (esc) " | ||
discovery: false | ||
message: "" | ||
lighting2_AC_0x0156F0D6_12: | ||
protocol: lighting2 | ||
unique_id: lighting2_AC_0x0156F0D6_12 | ||
device_id: 0x0156F0D6/12 | ||
name: "bouton salle à manger(esc) " | ||
device_name: *a1 | ||
id_rfxcom: 0x0156F0D6/12 | ||
subtype: 0 | ||
subtypeValue: AC | ||
repetitions: 2 | ||
sensors_types: | ||
- level | ||
- rssi | ||
- switch | ||
- switch | ||
- switch | ||
commands: *a2 | ||
suggested_area: boutons | ||
exists_choice: "bouton salle à manger(esc) " | ||
lighting2_AC_0x01570D5A_11: | ||
protocol: lighting2 | ||
unique_id: lighting2_AC_0x01570D5A_11 | ||
device_id: 0x01570D5A/11 | ||
name: bouton lampadaire (esc) | ||
device_name: *a1 | ||
id_rfxcom: 0x01570D5A/11 | ||
subtype: 0 | ||
subtypeValue: AC | ||
repetitions: 2 | ||
sensors_types: | ||
- level | ||
- rssi | ||
- switch | ||
commands: *a2 | ||
suggested_area: boutons | ||
lighting2_AC_0x01570D5A_12: | ||
protocol: lighting2 | ||
unique_id: lighting2_AC_0x01570D5A_12 | ||
device_id: 0x01570D5A/12 | ||
name: "bouton salon(esc) " | ||
device_name: *a1 | ||
id_rfxcom: 0x01570D5A/12 | ||
subtype: 0 | ||
subtypeValue: AC | ||
repetitions: 2 | ||
sensors_types: | ||
- level | ||
- rssi | ||
- switch | ||
commands: *a2 | ||
suggested_area: bouton |
Oops, something went wrong.