I’m new to smartthings app writing, but not new to technology and I’m hoping I can get some ideas/pointers on writing a decent smartapp/device handler for the following situation.
I’m using these Xiaomi plant sensors here to measure moisture, fertilization level, temp and lux for my plants.
Instead of using the app, I’ve leveraged a slightly customized version of this Project to gather the data from the BLE sensors.
Things are working great, I’m using influxdb and grafana to graph the data, and I have the MQTT messages being passed to beebotte.com, which can then expose it to API calls.
I would now like to present this plant data as a thing in SmartThings. What’s the best approach here? Do I start my development path on the classic method, or jump straight into the new? Do I create this as a cloud device, or try to connect it over the LAN? I had assumed that this would be fairly straight forward, but I gave this a cursory overview last night and realized it would not be as straight forward as I assumed. I could really use some help in understanding a path forward, or just some general ideas around making this possible.