add car feedback
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2025-12-06 14:15:03 +01:00
parent ad043b5921
commit 311d4cf555

View File

@@ -1,6 +1,6 @@
global:
scan_interval: 1
log_level: DEBUG
log_level: INFO
mqtt:
broker: emqx01-anonymous-cluster-internal.broker.svc.cluster.local
@@ -230,3 +230,17 @@ output:
register_type: input
data_type: float32
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