configuration.yaml
This commit is contained in:
@@ -276,6 +276,25 @@ rest:
|
||||
- "success"
|
||||
- "timestamp"
|
||||
|
||||
# OctoPrint physical position (holds last value when idle; raw discovery sensor zeroes on currentZ:null)
|
||||
mqtt:
|
||||
sensor:
|
||||
- name: "OctoPrint Position Z"
|
||||
unique_id: octoprint_position_z
|
||||
state_topic: "octoPrint/event/PositionUpdate"
|
||||
value_template: "{{ value_json.z }}"
|
||||
unit_of_measurement: "mm"
|
||||
device_class: distance
|
||||
icon: mdi:axis-z-arrow
|
||||
availability:
|
||||
- topic: "octoPrint/mqtt"
|
||||
payload_available: "connected"
|
||||
payload_not_available: "disconnected"
|
||||
device:
|
||||
identifiers:
|
||||
- "041acd1efce0452ca0a0360eeb89c3b4"
|
||||
name: "OctoPrint"
|
||||
|
||||
emulated_hue:
|
||||
host_ip: 192.168.1.140
|
||||
advertise_ip: 192.168.1.140
|
||||
|
||||
Reference in New Issue
Block a user