Home Assistant integration for your LwM2M devices.
This integration supports the following types of devices for now:
Platform | LwM2M Object ID | Description |
---|---|---|
sensor |
3301, 3303, 3304, 3315, 3316, 3317 | A sensor, currently supported: temperature, current, pressure, illuminance, humidity, voltage. |
binary_sensor |
3342 | A read-only boolean sensor (e.g., a switch). |
light |
3311 | Control a light status and brightness. |
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledleshan_lwm2m
. - Download all the files from the
custom_components/leshan_lwm2m/
directory from this repository. - Place the files you downloaded in the new directory you created.
- Restart Home Assistant
- In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "LwM2M"