LwM2M
Minimal configuration
attributes:
temperature: 24.2
setpoint: 20.0
communication:
- lwm2m:
host: 0.0.0.0
# Local bind port for the client (pick a free UDP port if your LwM2M server runs on localhost:5683).
port: 56830
server:
host: 127.0.0.1
# Remote LwM2M server (for example: Leshan).
port: 5683
endpoint: spx-demo-001
lifetime: 60
update_margin: 30
bindings:
- name: temp_sensor
object_id: 3303
instance_id: 0
resource_id: 5700
operation: read
read_attribute: "#attr(temperature)"
- name: setpoint
object_id: 3308
instance_id: 0
resource_id: 5900
operation: write
write_attribute: "#attr(setpoint)"Notes
Last updated

