Skip to content

Help writing groovy device driver #28

@AutomateMyLifee

Description

@AutomateMyLifee

I'm trying to get this sensor working with the Smartthings/Hubitat platform. It paired easily to the hub, but I had to create my own driver. So far I have the sensors accurately reporting battery and values from BME280 (temp, humid, and pressure), but I can't get the sensor to send the correct values for the soil moisture. These are the commands I sent to configure the device so it sends data.
Screenshot from 2021-06-23 18-43-03
But the soil cluster (0408) is sending the attribute 0201 instead of 0000. I had it reporting the soil moisture at one point, but I must be sending the wrong config because now it stopped sending the correct value. I checked all source code best I could, but I don't really have experience with ZigBee firmware. What am I doing wrong with the config command?
Screenshot from 2021-06-23 18-59-20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions