Coder Social home page Coder Social logo

Comments (8)

Moustachauve avatar Moustachauve commented on June 11, 2024 1

Je confirme que la solution fonctionne, merci!

from hilo.

ic-dev21 avatar ic-dev21 commented on June 11, 2024

Je vais peut-être essayer d'en emprunter, je pense que c'est le genre de "mini défi" auquel je pourrais m'attaquer

from hilo.

lit-af avatar lit-af commented on June 11, 2024

Les prises qui sont officiellement supportées par Hilo:

Perso, j'ai aussi réussi à connecter la https://www.ikea.com/ca/en/p/tradfri-wireless-control-outlet-smart-30356169/ mais elle apparaît comme un dimmer. Ça vient du firmware de la prise ikea parce que le comportement est identique avec ZHA.

from hilo.

ic-dev21 avatar ic-dev21 commented on June 11, 2024

J'ai voulu configuré une automation pour ma prise intelligente et je me suis rendu compte que ma prise est marquée comme étant offline et off. Cependant, le reportage de la consommation d'énergie fonctionne elle. Je peux voir le graphique de consommation sans problème mais je ne peux pas le controller ou voir son status.

Dans l'appli Hilo, tout fonctionne bien cependant.

Ça fonctionnait bien l'été passée. J'ai vu que les prises ne sont pas officiellement supporté, mais avant ça affichait comme une lumière et tout fonctionnait pareil.

J’en ai une en main. Si personne s’essaye d’ici là je vais peut-être tenter le coup. J’pas une machine en python mais ça coûte rien de l’essayer.

from hilo.

Moustachauve avatar Moustachauve commented on June 11, 2024

Ça s'est remit à fonctionner à un moment donné cette semaine. Je ne sais pas si c'est dû à la mise à jour de HA ou de Hilo.

Ça affiche comme une lumière par exemple donc peut être que ça pourrait être améliorer un jour pour être une switch ou être configurable.

from hilo.

ic-dev21 avatar ic-dev21 commented on June 11, 2024

J'ai commencé à regarder la doc et à première vue, c'est déjà monté correctement:

https://developers.home-assistant.io/docs/core/entity/switch

from homeassistant.components.switch import SwitchEntity
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from homeassistant.util import slugify

https://github.com/dvd-dev/python-hilo/blob/28e39edbf06ae52d2a0afbda7b458a637c58b530/pyhilo/devices.py#L1-L9

Par contre il y a ça ici qui me chicote:

https://github.com/dvd-dev/python-hilo/blob/28e39edbf06ae52d2a0afbda7b458a637c58b530/pyhilo/device/__init__.py#L100-L101

from hilo.

Moustachauve avatar Moustachauve commented on June 11, 2024

hmm c'est surement ça le problème:
https://github.com/dvd-dev/python-hilo/blob/28e39edbf06ae52d2a0afbda7b458a637c58b530/pyhilo/const.py#L227-240

Et selon mon application, mon model ID est 45853, donc peut être qu'il manque juste ca pour mon cas.

from hilo.

valleedelisle avatar valleedelisle commented on June 11, 2024

Good catch, on devrait être en business maintenant.

from hilo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.