| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 | backendname: sensorsdescription: sensor model für storing and retrieving sensor datamodels:  - name: temperatur    fields:      - name: temperatur        type: float        mandatory: false        collection: false      - name: vstring        type: string        mandatory: false        collection: false      - name: vint        type: int        mandatory: false        collection: false      - name: vfloat        type: float        mandatory: false        collection: false      - name: vtime        type: time        mandatory: false        collection: false      - name: vbool        type: bool        mandatory: false        collection: false      - name: source        type: string        mandatory: false        collection: falsedatasources:  - name: temp_kueche    type: mqtt    destinations:       - $model.temperatur       - mqtt_sensors_temperatur    rule: tasmota_ds18b20    config:       broker: 127.0.0.1:1883      topic: tele/tasmota_63E6F8/SENSOR      qos: 0      payload: application/json      username: temp      password: temp      addTopicAsAttribute: topic  - name: temp_arbeit    type: mqtt    destinations:       - mqtt_hm_output    rule: tasmota_ds18b20_hm    config:       broker: 192.168.178.12:1883      topic: tele/tasmota_63E6F8/SENSOR      qos: 0      payload: application/json      username: temp      password: temp      addTopicAsAttribute: topic  - name: temp_simple_text    type: mqtt    destinations:       - $model.temperatur     config:       broker: 127.0.0.1:1883      topic: stat/temperatur/simple/string      payload: application/x.simple      username: temp      password: temp      addTopicAsAttribute: topic      simpleValueAttribute: vstring      simpleValueAttributeType: string  - name: temp_simple_int    type: mqtt    destinations:       - $model.temperatur     config:       broker: 127.0.0.1:1883      topic: stat/temperatur/simple/int      payload: application/x.simple      username: temp      password: temp      addTopicAsAttribute: topic      simpleValueAttribute: vint      simpleValueAttributeType: int  - name: temp_simple_float    type: mqtt    destinations:       - $model.temperatur     config:       broker: 127.0.0.1:1883      topic: stat/temperatur/simple/float      payload: application/x.simple      username: temp      password: temp      addTopicAsAttribute: topic      simpleValueAttribute: vfloat      simpleValueAttributeType: float  - name: temp_simple_time    type: mqtt    destinations:       - $model.temperatur     config:       broker: 127.0.0.1:1883      topic: stat/temperatur/simple/time      payload: application/x.simple      username: temp      password: temp      addTopicAsAttribute: topic      simpleValueAttribute: vtime      simpleValueAttributeType: time  - name: temp_simple_bool    type: mqtt    destinations:       - $model.temperatur     config:       broker: 127.0.0.1:1883      topic: stat/temperatur/simple/bool      payload: application/x.simple      username: temp      password: temp      addTopicAsAttribute: topic      simpleValueAttribute: vbool      simpleValueAttributeType: boolrules:  - name: tasmota_ds18b20    description: transforming the tasmota json structure of the DS18B20 into my simple structure    transform:       - operation: shift        spec:           Temperature: DS18B20.Temperature          TempUnit: TempUnit          Datetime: Time          Timestamp: Time          Msg: $      - operation: timestamp        spec:          Timestamp: {            inputFormat: 2006-01-02T15:04:05,            outputFormat: $unixext          }  - name: hm_temp_simple    description: handle homematic temperatur rightly    transform:      - operation: shift        spec:           Temperature: val          Timestamp: ts          Datetime: ts      - operation: default        spec:           TempUnit: C      - operation: timestamp        spec:          Datetime: {            inputFormat: $unixext,            outputFormat: 2006-01-02T15:04:05-0700          }  - name: tasmota_ds18b20_hm    description: transforming the tasmota json structure of the DS18B20 into hm basic structure    transform:       - operation: shift        spec:           val: DS18B20.Temperature          ts: Time      - operation: timestamp        spec:          Timestamp: {            inputFormat: 2006-01-02T15:04:05,            outputFormat: $unixext          }destinations:  - name: mqtt_sensors_temperatur    type: mqtt    config:       broker: 127.0.0.1:1883      topic: stat/temperatur      qos: 1      payload: application/json      username: temp      password: temp  - name: mqtt_hm_output    type: mqtt    config:       broker: 192.168.178.12:1883      topic: hm/set/TempArbeit      qos: 0      payload: application/json      username: temp      password: temp
 |