This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
global:
|
global:
|
||||||
scan_interval: 1
|
scan_interval: 1
|
||||||
log_level: DEBUG
|
log_level: INFO
|
||||||
|
|
||||||
mqtt:
|
mqtt:
|
||||||
broker: emqx01-anonymous-cluster-internal.broker.svc.cluster.local
|
broker: emqx01-anonymous-cluster-internal.broker.svc.cluster.local
|
||||||
@@ -230,3 +230,17 @@ output:
|
|||||||
register_type: input
|
register_type: input
|
||||||
data_type: float32
|
data_type: float32
|
||||||
adaptor: floatAdaptor
|
adaptor: floatAdaptor
|
||||||
|
- name: car_feedback
|
||||||
|
enabled: true
|
||||||
|
publish_topic: IoT/Car/Feedback/State
|
||||||
|
scan_rate: 1
|
||||||
|
raw_output: true # use only for output device with only one register, name this register 'output'
|
||||||
|
slave_id: 7
|
||||||
|
registers:
|
||||||
|
- address: 0x0001
|
||||||
|
attribute: output
|
||||||
|
name: State
|
||||||
|
unit: "-"
|
||||||
|
register_type: holding
|
||||||
|
data_type: int32
|
||||||
|
adaptor: onOffAdaptor
|
||||||
|
|||||||
Reference in New Issue
Block a user