New platform development or new component?

Hi,

First post here, I hope I’m using the right section. I’m using home assistant for a few months (Rpi + rflink + hue) and I want to start my first dev project with home assistant!

I have a device (sigfox sensit) that is already integrated in its own web platform. The data from the device is available through API and I want to collect and access them within Home Assistant. The device is able to collect temperature/humidity or light level or act as motion detector or act as a simple button.

From my understanding, I can either develop a new platform (in fact one for each type of sensor/switch ?) or I can develop a new component.

Which one would you advise ?
I think that making a new platform (for the temperature sensor for instance) is the easiest starting point but I’m afraid to have to develop a full component at some point.

Thanks for your advices

If you expect it to have multiple platforms you should start with a component as the “base of operation” to the API :slight_smile:

1 Like

OK, will do.

Thanks for the advice.