rsauget / homebridge-flexom

Homebridge plugin for Flexom smart homes
Apache License 2.0
7 stars 1 forks source link

Smoke sensor accessory #68

Open valeriansaliou opened 2 years ago

valeriansaliou commented 2 years ago

When building flexom-lib, did you see any way the smoke detector data could be fetched from Flexom API?

I have a connected smoke detector at home, which is available through the Flexom app. Could be super useful to have it appear in HomeKit, w/ smoke alerts coming in as well!

Given the metrics available on the screenshot below, it could also be used to create HomeKit accessories reporting air temperature, humidity, AQI and even smoke sensor fault (eg. reported as non-working).

I am eager to provide Charles Proxy traces to help on that.

Here are some screenshots of the object that appear in the Flexom app on my side:

IMG_6024 IMG_6025

rsauget commented 1 year ago

Hi @valeriansaliou, I found some insights in the API docs, but as always it would require some fiddling with a real smoke sensor to figure it out, and unfortunately I don't have one 😕

valeriansaliou commented 1 year ago

[..] and unfortunately I don't have one 😕

I do have one here! It also reports temperature and humidity. What do you need from me? :)

rsauget commented 1 year ago

I guess I would need an « Observer » access to your home, and listen to websocket events from the sensor!

valeriansaliou commented 1 year ago

Sure! Can you ping me over email (using the email on my GH profile), and I'll add your email to my home.

valeriansaliou commented 1 year ago

Hey! :) Do you still need me to add you as an Observer to my home?