homebridge-sense icon indicating copy to clipboard operation
homebridge-sense copied to clipboard

Initial thinking...

Open luc-ass opened this issue 8 years ago • 8 comments

Seems the API for Hello Sense has finally been decoded: https://www.chameth.com/2016/04/10/sense-api/ https://github.com/chendo/sense-api.cr

First steps will be to do OAuth and then implement the sensor data about:

  • temperature
  • humidity
  • particulates (i.e. air quality)
  • light
  • sound (i.e. noise)

luc-ass avatar Nov 21 '16 13:11 luc-ass

https://stormpath.com/blog/talking-to-oauth2-services-with-nodejs

luc-ass avatar Nov 21 '16 14:11 luc-ass

Looking forward.
Can not really help you with coding sorry

Luftloch80 avatar Nov 21 '16 15:11 Luftloch80

Sweet. Request via curl works perfect: TOKEN: curl -X POST -d 'grant_type=password&client_id=8d3c1664-05ae-47e4-bcdb-477489590aa4&client_secret=4f771f6f-5c10-4104-bbc6-3333f5b11bf9&username=<e-mail>&password=<password>' https://api.hello.is/v1/oauth2/token

ROOM CONDITIONS: curl -H 'Authorization: Bearer <access_token>' https://api.hello.is/v1/room/current?temp_unit=c

luc-ass avatar Nov 21 '16 15:11 luc-ass

Would be grate progress need the stuff to control my Fan in the bedroom

Luftloch80 avatar Nov 21 '16 16:11 Luftloch80

I'm not the best with js but will have a play over the next couple of days. Been wanting this functionality forever

gcordalis avatar Nov 24 '16 00:11 gcordalis

Welcome on board!

luc-ass avatar Nov 24 '16 04:11 luc-ass

@luc-ass please sense update. nt working :/

owarz avatar Oct 05 '19 11:10 owarz

Hi there. This Plugin ja closed as hello Sense closed for good. Sorry.

Am 05.10.2019 um 13:33 schrieb owarz [email protected]:

 @luc-ass please sense update. nt working :/

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

luc-ass avatar Oct 05 '19 11:10 luc-ass