82 lines
2.4 KiB
YAML
82 lines
2.4 KiB
YAML
|
---
|
||
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/instance: zigbee2mqtt
|
||
|
app.kubernetes.io/managed-by: Helm
|
||
|
app.kubernetes.io/name: zigbee2mqtt
|
||
|
app.kubernetes.io/version: 1.19.1
|
||
|
helm.sh/chart: zigbee2mqtt-9.4.2
|
||
|
name: zigbee2mqtt-settings
|
||
|
namespace: zigbee2mqtt
|
||
|
data:
|
||
|
configuration.yaml: |
|
||
|
advanced:
|
||
|
homeassistant_discovery_topic: homeassistant
|
||
|
homeassistant_status_topic: homeassistant/status
|
||
|
last_seen: ISO_8601
|
||
|
log_level: debug
|
||
|
log_output:
|
||
|
- console
|
||
|
channel: 25
|
||
|
network_key:
|
||
|
- 140
|
||
|
- 18
|
||
|
- 129
|
||
|
- 36
|
||
|
- 87
|
||
|
- 2
|
||
|
- 242
|
||
|
- 222
|
||
|
- 178
|
||
|
- 205
|
||
|
- 177
|
||
|
- 160
|
||
|
- 9
|
||
|
- 212
|
||
|
- 115
|
||
|
- 122
|
||
|
experimental:
|
||
|
new_api: true
|
||
|
frontend:
|
||
|
port: 8080
|
||
|
homeassistant: true
|
||
|
serial:
|
||
|
port: 'tcp://ser2net.ser2net.svc.cluster.local:3001'
|
||
|
mqtt:
|
||
|
base_topic: zigbee2mqtt
|
||
|
include_device_information: true
|
||
|
server: 'mqtt://mosquitto.martyn.berlin'
|
||
|
permit_join: false
|
||
|
external_converters:
|
||
|
- ledvanceA60S.js
|
||
|
ledvanceA60S.js: |
|
||
|
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
|
||
|
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
|
||
|
const exposes = require('zigbee-herdsman-converters/lib/exposes');
|
||
|
const reporting = require('zigbee-herdsman-converters/lib/reporting');
|
||
|
const extend = require('zigbee-herdsman-converters/lib/extend');
|
||
|
const ota = require('zigbee-herdsman-converters/lib/ota');
|
||
|
const tuya = require('zigbee-herdsman-converters/lib/tuya');
|
||
|
const e = exposes.presets;
|
||
|
const ea = exposes.access;
|
||
|
|
||
|
const definition = {
|
||
|
zigbeeModel: ['A60S RGBW'],
|
||
|
model: 'A60S RGBW',
|
||
|
vendor: 'Ledvance',
|
||
|
description: 'Ledvance Classic E27 Multicolor',
|
||
|
// Note that fromZigbee, toZigbee and exposes are missing here since we use extend here.
|
||
|
// Extend contains a default set of fromZigbee/toZigbee converters and expose for common device types.
|
||
|
// The following extends are available:
|
||
|
// - extend.switch
|
||
|
// - extend.light_onoff_brightness
|
||
|
// - extend.light_onoff_brightness_colortemp
|
||
|
// - extend.light_onoff_brightness_color
|
||
|
// - extend.light_onoff_brightness_colortemp_color
|
||
|
extend: extend.light_onoff_brightness_colortemp_color(),
|
||
|
};
|
||
|
|
||
|
module.exports = definition;
|