Smartthings sensor integration

So I have the hard part, or so I think, out of the way with a project I’ve been working on.

It uses a particle photon that is battery powered and goes under my pool skimmer basket. I have two sensors attached to it one is a ds18b20 temperature sensor and the other is a sonic distance sensor.

It wakes up every 4 hours and takes a temperature and a distance reading publishes them to the particle cloud and then goes to sleep.

The hardware functions as expected and so as long as I have a console window open I see the data from both the temp and distance. The distance Im using to determine if i need to turn on the water to top off the pool or if the level is okay.

The temperature I want to ultimately get into smartthings so that it can display on action tiles or also be used in automations to turn on other smartthings connected devices.

It isn’t 100 percent necessary to get the distance meaurement into smartthings but both would be cool too.

What is the easiest way in my scenario with the board only being awake for a short few seconds each day to get this data into smartthings so it can start being useful to me? Has anyone written a device handler for this type of device?

I’m not sure but does smartthings have some API that you can use to send data their way to store it?

I mean I think so I just don’t know how to go about it. I have successfully called functions from my smartthings to control relays and such on my photons. Im just not sure how to pass data to it like a temperature for instance.

I was able to figure this out by having an always powered photon subscribe to the sensor that sleeps events so that smartthings can poll the always powered photon