Compuskills-Jerusalem / Fitness-Project

Mens 2019 Capstone Project
0 stars 0 forks source link

fridge door api #22

Open wolfbear77 opened 5 years ago

wolfbear77 commented 5 years ago

I found Samsung to be a bit limiting as it is only compatible with Samsung products. But I found this in Google: https://developers.google.com/actions/smarthome/traits/openclose which is an API for open and closed doors. They also have one specifically for refrigerators, but there was no API listed for the fridge door (https://developers.google.com/actions/smarthome/guides/refrigerator). I didn't find anything else. But I will continue to look.

Yehrman commented 5 years ago

@wolfbear77 Hi are these api's compatible with c#

ykopstein commented 5 years ago

@wolfbear77 Both of those are part of Google's Smart Home platform. (See here). It's documentation for developers of smart home devices - like smart refrigerators - that want to integrate their product with Google's existing Google Home app for smartphones.

Samsung has what they call SmartThings to allow developers to integrate with their smart devices (including smart tv's, refrigerators, thermostats, etc). I have not used it but from the docs it looks like a complex system. I cannot find any pre-written C# examples for it.

I also found something called "Home Connect" - looks like their trying to create a generic API for working w/ IoT devices. Docs. They look like they might be easier to integrate with than Samsung. For an MVP you definitely only need to support one option.