baseless_discourse, (edited )

EDIT: sorry, I read it wrong, I thought the reply says the addon “doesn’t” use the remote API.

I digged a bit on the code, and every command indeed go through the cloud. So even if you use this addon, Haire can still collect a fair bit of data about you, since there is no way to communicate locally and directly to the AC.

But the addon only sends the minimum amount of data to achieve functionality, so definitely not as much data as using Haire’s app.


Can you link to where the documentation that specify they don’t use API?

Because I am looking at pyhOn (dependency of hon, and also being taken down), it seems like when executing a command, they do contact the cloud. Specefically


<span style="color:#323232;">url: str = f"{const.API_URL}/commands/v1/send"
</span><span style="color:#323232;">    async with self._hon.post(url, json=data) as response:
</span><span style="color:#323232;">        ...
</span>

github.com/Andre0512/pyhOn/blob/…/api.py#L215 . The call to API is later used to send command:


<span style="color:#323232;">result = await self.api.send_command(
</span><span style="color:#323232;">                self._appliance,
</span><span style="color:#323232;">                self._name,
</span><span style="color:#323232;">                params,
</span><span style="color:#323232;">                ancillary_params,
</span><span style="color:#323232;">                self._category_name,
</span><span style="color:#323232;">            )
</span>

github.com/Andre0512/pyhOn/blob/…/commands.py#L14…

And the API_URL indeed points to a remote API:


<span style="color:#323232;">API_URL = "https://api-iot.he.services"
</span>

github.com/Andre0512/pyhOn/blob/…/const.py#L2

  • All
  • Subscribed
  • Moderated
  • Favorites
  • opensource@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #