Aller au contenu

domo

Membres confirmés
  • Compteur de contenus

    775
  • Inscription

  • Dernière visite

Tout ce qui a été posté par domo

  1. domo

    HC2 & HCL - Version 4.120 - Stable - 28/03/2017

    Mise à jour faite pour l'instant c'est bon c'est stable
  2. domo

    Vd ventilateur dyson

    Dans un navigateur si tu fais ca as tu qqch ? http://ipdyson:1883 non il se passe rien
  3. domo

    Vd ventilateur dyson

    Salut tout le monde es que quelqu'un aurait un vd pour piloté un ventilateur Dayson avec la hc2 car je sais pas faire merci d'avance
  4. domo

    Vd ventilateur dyson

    et j'ai trouvé ça tu crois quoi peu faire quelque chose avec package dyslink import ( "math" ) // Messages related to fan states const ( MessageCurrentState = "CURRENT-STATE" // incoming state data MessageEnvSensorData = "ENVIRONMENTAL-CURRENT-SENSOR-DATA" // incoming environmental data MessageStateChange = "STATE-CHANGE" // incoming state change data MessageJoinNetwork = "JOIN-NETWORK" MessageAuthoriseUserRequest = "AUTHORISE-USER-REQUEST" MessageCloseAccessPoint = "CLOSE-ACCESS-POINT" MessageDeviceCredentials = "DEVICE-CREDENTIALS" ) // States of fan modules const ( FanModeOff = "OFF" FanModeAuto = "AUTO" FanModeOn = "FAN" FanSpeedAuto = "AUTO" NightModeOn = "ON" NightModeOff = "OFF" OscillateOn = "ON" OscillateOff = "OFF" QualityLow = "0001" QualityNormal = "0003" QualityHigh = "0004" HeatModeOn = "HEAT" HeatModeOff = "OFF" StandbyMonitorOn = "ON" StandbyMonitorOff = "OFF" FocusedModeOn = "ON" FocusedModeOff = "OFF" ) // The command-json sent to the device type commandHeader struct { Command string `json:"msg"` TimeString string `json:"time"` ModeReason string `json:"mode-reason,omitempty"` Data interface{} `json:"data,omitempty"` ProductState interface{} `json:"product-state,omitempty"` RequestId string `json:"requestId,omitempty"` Id string `json:"id,omitempty"` WifiSsid string `json:"ssid,omitempty"` WifiPassword string `json:"password,omitempty"` } // A fan status message // Note that bools and ints are strings, that's because // they also take the special `StateKep` pragma :-/ type FanState struct { FanMode string `json:"fmod,omitempty"` FanSpeed string `json:"fnsp,omitempty"` Oscillate string `json:"oson,omitempty"` SleepTimer string `json:"sltm,omitempty"` StandbyMonitoring string `json:"rhtm,omitempty"` // always run + capture environment data ResetFilter string `json:"rstf,omitempty"` // resets lifetime of filter? QualityTarget string `json:"qtar,omitempty"` // the air-target in auto-mode NightMode string `json:"nmod,omitempty"` HeatMode string `json:"hmod,omitempty"` HeatTarget string `json:"hmax,omitempty"` FocusedMode string `json:"ffoc,omitempty"` } // A product status message // Similar to FanState, but this is something we // receive from a subscription type ProductState struct { FanMode string `mapstructure:"fmod"` FanState string `mapstructure:"fnst"` FanSpeed string `mapstructure:"fnsp"` Oscillate string `mapstructure:"oson"` SleepTimer string `mapstructure:"sltm"` StandbyMonitoring string `mapstructure:"rhtm"` ResetFilter string `mapstructure:"rstf"` // resets lifetime of filter? QualityTarget string `mapstructure:"qtar"` NightMode string `mapstructure:"nmod"` HeatMode string `mapstructure:"hmod"` HeatState string `mapstructure:"hsta"` HeatTarget string `mapstructure:"hmax"` FilterLife string `mapstructure:"filf"` FocusedMode string `mapstructure:"ffoc"` UnknownErcd string `mapstructure:"ercd"` UnknownWacd string `mapstructure:"wacd"` UnknownRhtm string `mapstructure:"rhtm"` UnknownTilt string `mapstructure:"tilt"` } // The current environment data as reported by the device type EnvironmentState struct { Temperature string `mapstructure:"tact"` Humidity string `mapstructure:"hact"` Particle string `mapstructure:"pact"` UnknownVact string `mapstructure:"vact"` SleepTimer string `mapstructure:"sltm"` } // Reply for a credentials request (note: this is sent in a commandHeader) type DeviceCredentials struct { SerialNumber string `json:"serialNumber"` Password string `json:"apPasswordHash"` } func round(f float64) int { if math.Abs(f) < 0.5 { return 0 } return int(f + math.Copysign(0.5000, f)) } func ConvertTempToFahr(temp int) int { return 33 + round(float64(temp-2736)/5.54) } func ConvertTempFromFahr(temp int) int { return 2736 + round(float64(temp-33)*5.54) }
  5. domo

    Vd ventilateur dyson

    J'ai trouvé ça je sais pas si ça te parle un peu pepite moi j'y comprend rien https://blinkenlights.ch/ccms/misc/dyson-pure-cool-link.html
  6. domo

    HC2 & HCL - Version 4.114 - BETA - 23/03/2017

    Bon vue que personne n'a répondu j'ai fait la mise à jour et les bug sont toujours là !
  7. domo

    HC2 & HCL - Version 4.114 - BETA - 23/03/2017

    Salut à tous je voudrais savoir si cette bêta règle les bug merci
  8. domo

    Vd ventilateur dyson

    Oui c'est ça un pure cool Link j'ai cherché un peu mais rien trouvé
  9. domo

    Vd ventilateur dyson

    Non j'ai rien commencé je sais pas faire mon ventilo est branché sur le 220 et oui il est connecté en wifi et j'ai l'application sur l'iPhone c'est tout
  10. domo

    Roomba Irobot Domotisé

    Pour ceux qui ont commandé le module wifi vous l'avez reçu combien de temps après avoir passé commande car ça fait plus de 17 jours et j'ai toujours rien
  11. domo

    Vd ventilateur dyson

    Salut pepite il y a pas grand chose on ,off ,vitesse ventilateur , rotation ou pas c'est tout
  12. domo

    Detection De Présence

    Rem's supprime la ligne 149 et après c'est bon
  13. Bon du coup j'ai commandé le RooWifi vu que l'autre modèle n'existe plus
  14. domo

    HC2 & HCL - Version 4.110 - Stable - 04/01/2017

    Pour moi la redirection de port ne fonctionne plus tu fais comment Did ?
  15. Je suis allé sur le site officiel c'est en rupture de stock
  16. Justement je l'ai acheté chez Domadoo et je viens de faire le tour du monde il y a n'a plus nulle part
  17. Bon j'ai plus de thinking Cleaner le vendeur me rembourses ou je peux en trouvé un, qui aurait une adresse merci
  18. domo

    Banque Icones Hcl, HC2 et HC3

    merci Did cool tes icônes j'adore
  19. Je sais pas encore j'aurais plus de nouvelles la semaine prochaine
  20. Alors pour moi c'est retour en Sav j'attend le remplacement de celui ci
  21. domo

    Jour Chômé

    MAM78 c'est pas les icônes qui me manques je sais où les trouver, mais c'est le script pour les faire apparaître
  22. domo

    Jour Chômé

    un grand merci à toi pepite
  23. domo

    Jour Chômé

    Salut pepite c'est bon ça fonctionne maintenant il me manques plus que les icônes et c'est parfait
  24. domo

    Jour Chômé

    mou aussi normalement c'est GEA qui appuie sur le bouton mais depuis que je suis passé en 4.110 ça fonctionne plus et je c'est pas pourquoi après demain j'essaye ton code si ça peut m'aider merci à toi
  25. domo

    Jour Chômé

    ok merci pepite j'ai posé le code dans la main loop je regarderai ça demain si ça à fonctionné merci encore
×