-
Compteur de contenus
14 385 -
Inscription
-
Dernière visite
-
Jours gagnés
249
Tout ce qui a été posté par mprinfo
-
Mise à jour Maj Hc2 : 4.070 Du 21/01/2016
mprinfo a répondu à un(e) sujet de kioneoranga dans Firmware
Tu parles de lifedomus. ...?Envoyé de mon SM-G900F en utilisant Tapatalk -
Mise à jour Maj Hc2 : 4.070 Du 21/01/2016
mprinfo a répondu à un(e) sujet de kioneoranga dans Firmware
Tu as trop instances en cours pour cette scène Il y a une limitation depuis les beta par défaut c'est 1 Envoyé de mon SM-G900F en utilisant Tapatalk -
Mise à jour Maj Hc2 : 4.070 Du 21/01/2016
mprinfo a répondu à un(e) sujet de kioneoranga dans Firmware
Tu es plus raisonnable que moi mdr Envoyé de mon SM-G900F en utilisant Tapatalk -
Mise à jour Maj Hc2 : 4.070 Du 21/01/2016
mprinfo a répondu à un(e) sujet de kioneoranga dans Firmware
Ah la led a réveillé ludo Envoyé de mon SM-G900F en utilisant Tapatalk -
La Hc2 Est Elle Vraiment La Meilleure Box ?
mprinfo a répondu à un(e) sujet de Gaston_A dans Le bistrot
@Hysis si tu veux le top en bidouilleur il faut voir @pitp2 Comme nilger je préfére Hacker excuse moi pour mon anglais. Enfin bidouille magouille etc... je vais finir GRAND CORPS MALADE -
Mise à jour Maj Hc2 : 4.070 Du 21/01/2016
mprinfo a répondu à un(e) sujet de kioneoranga dans Firmware
Ca tourne sur quoi FHEM ? Debian 6 ? -
Mise a jours version 0.90b : Temperature_v0.9b.vfib Code <-------------- HC2 = Net.FHttp("127.0.0.1",11111) R_Modules = HC2:GET("/api/devices") local AllModules = json.decode(R_Modules) Reponse1 = HC2:GET("/api/sections") local Sections = json.decode(Reponse1) Reponse2 = HC2:GET("/api/rooms") local Room = json.decode(Reponse2) ------------------------------------------------------ local Temperature = {} local SelfId = fibaro:getSelfId() local IdEnd = AllModules[#AllModules].id local Page = tonumber(fibaro:getValue(SelfId, "ui.LabPage.value")) local LabSections = fibaro:getValue(SelfId, "ui.LabSection.value") local LabPieces = fibaro:getValue(SelfId, "ui.LabPieces.value") ------------------------------------------------------------ -- Recuperer nom + section a partir d'une id ------------------------------------------------------------- function recupvaleur(RoomID) for i,v in ipairs(Room) do if Room[i].id == RoomID then local RoomName = Room[i].name local SectionID = Room[i].sectionID for k,w in ipairs(Sections) do if Sections[k].id == SectionID then local a , b = RoomName, Sections[k].name return b , a end end end end end --------------------------------------------------------------------- -- Création de la table des température --------------------------------------------------------------------- for i,v in ipairs(AllModules) do if AllModules[i].visible == true and AllModules[i].type == "com.fibaro.temperatureSensor" then local id = AllModules[i].id local PieceID = AllModules[i].roomID local Nom = AllModules[i].name local SectionName , PieceName = recupvaleur(PieceID) local Valeur = tonumber(AllModules[i].properties.value) if LabSections == "Tous" then table.insert(Temperature, {SectionName, PieceName, Nom, Valeur}) fibaro:debug(SectionName.." - "..PieceName.." - "..Nom.." - "..Valeur.." degrés") else if SectionName == LabSections and LabPieces == "Tous" then table.insert(Temperature, {SectionName, PieceName, Nom, Valeur}) --fibaro:debug(SectionName.." - "..PieceName.." - "..Nom.." - "..Valeur.." degrés") else if SectionName == LabSections and LabPieces == PieceName then table.insert(Temperature, {SectionName, PieceName, Nom, Valeur}) end end end end end table.sort(Temperature, function(a, return a[4]>b[4] end) local t = tonumber(#Temperature) ------------------------------------------------------------------ -- Mise a jour des labels et gestion des pages ------------------------------------------------------------------ if Page == nil or Page <= 1 then Page = 1 else Page = Page - 1 end if t == 0 then fibaro:call(SelfId, "setProperty", "ui.LabMiniMax.value", "Pas de sondes") else fibaro:call(SelfId,"setProperty","ui.LabPage.value", Page) fibaro:call(SelfId, "setProperty", "ui.LabMiniMax.value", "Max : "..Temperature[1][4].." C - Mini : "..Temperature[#Temperature][4].." C - Nbre "..t) end local p = Page*5-5 for i = 1, 5 do fibaro:debug("i = "..i.." Page = "..p.."Table = "..t) if t < i+p then fibaro:call(SelfId, "setProperty", "ui.Label"..i..".value", "") else fibaro:call(SelfId, "setProperty", "ui.Label"..i..".value", Temperature[i+p][2].." - "..Temperature[i+p][3].." : "..Temperature[i+p][4].." C") end end code --------> HC2 = Net.FHttp("127.0.0.1",11111) R_Modules = HC2:GET("/api/devices") local AllModules = json.decode(R_Modules) Reponse1 = HC2:GET("/api/sections") local Sections = json.decode(Reponse1) Reponse2 = HC2:GET("/api/rooms") local Room = json.decode(Reponse2) ------------------------------------------------------ local Temperature = {} local SelfId = fibaro:getSelfId() local IdEnd = AllModules[#AllModules].id local Page = tonumber(fibaro:getValue(SelfId, "ui.LabPage.value")) fibaro:debug("Nombres de modules : " ..#AllModules.." - Sections : "..#Sections) fibaro:debug("Dernier ID : "..IdEnd) local LabSections = fibaro:getValue(SelfId, "ui.LabSection.value") local LabPieces = fibaro:getValue(SelfId, "ui.LabPieces.value") ------------------------------------------------------------- -- Recuperer nom + section a partir d'une id ------------------------------------------------------------- function recupvaleur(RoomID) for i,v in ipairs(Room) do if Room[i].id == RoomID then local RoomName = Room[i].name local SectionID = Room[i].sectionID for k,w in ipairs(Sections) do if Sections[k].id == SectionID then local a , b = RoomName, Sections[k].name return b , a end end end end end --------------------------------------------------------------------- -- Création de la table des température --------------------------------------------------------------------- for i,v in ipairs(AllModules) do if AllModules[i].visible == true and AllModules[i].type == "com.fibaro.temperatureSensor" then local id = AllModules[i].id local PieceID = AllModules[i].roomID local Nom = AllModules[i].name local SectionName , PieceName = recupvaleur(PieceID) local Valeur = tonumber(AllModules[i].properties.value) if LabSections == "Tous" then table.insert(Temperature, {SectionName, PieceName, Nom, Valeur}) --fibaro:debug(SectionName.." - "..PieceName.." - "..Nom.." - "..Valeur.." degrés") else if SectionName == LabSections and LabPieces == "Tous" then table.insert(Temperature, {SectionName, PieceName, Nom, Valeur}) --fibaro:debug(SectionName.." - "..PieceName.." - "..Nom.." - "..Valeur.." degrés") else if SectionName == LabSections and LabPieces == PieceName then table.insert(Temperature, {SectionName, PieceName, Nom, Valeur}) end end end --fibaro:debug(SectionName.." - "..PieceName.." - "..Nom.." - "..Valeur.." degrés") end end table.sort(Temperature, function(a, return a[4]>b[4] end) local t = tonumber(#Temperature) ------------------------------------------------------------------ -- Mise a jour des labels et gestion des pages ------------------------------------------------------------------ if Page == nil then Page = 1 elseif Page >= t/5 then -- ne modifie rien else Page = Page + 1 end if t == 0 then fibaro:call(SelfId, "setProperty", "ui.LabMiniMax.value", "Pas de sondes") else fibaro:call(SelfId,"setProperty","ui.LabPage.value", Page) fibaro:call(SelfId, "setProperty", "ui.LabMiniMax.value", "Max : "..Temperature[1][4].." C - Mini : "..Temperature[#Temperature][4].." C - Nbre "..t) end local p = Page*5-5 for i = 1, 5 do fibaro:debug("i = "..i.." j = "..p.."Table = "..t) if t < i+p then fibaro:call(SelfId, "setProperty", "ui.Label"..i..".value", "") else fibaro:call(SelfId, "setProperty", "ui.Label"..i..".value", Temperature[i+p][2].." - "..Temperature[i+p][3].." : "..Temperature[i+p][4].." C") end end code -Piece HC2 = Net.FHttp("127.0.0.1",11111) Reponse1 = HC2:GET("/api/sections") local Sections = json.decode(Reponse1) table.insert(Sections, {name = "Tous"}) Reponse2 = HC2:GET("/api/rooms") local Room = json.decode(Reponse2) table.insert(Room, {name = "Tous"}) local SelfId = fibaro:getSelfId() local LabSections = fibaro:getValue(SelfId, "ui.LabSection.value") -- Recuperation de l'id de la section if LabSections ~= "Tous" then for i,v in ipairs(Sections) do if LabSections == Sections[i].name then IDSections = Sections[i].id fibaro:debug(IDSections) break end end else IDSections = "Tous" end fibaro:debug("id Section: "..IDSections) -- creation de la table des pieces dans la section local NomRoom = {"Tous"} if IDSections ~= "Tous" then for i,v in ipairs(Room) do if Room[i].sectionID == IDSections then table.insert(NomRoom, Room[i].name) --fibaro:debug(Room[i].name) end end else for i,v in ipairs(Room) do table.insert(NomRoom, Room[i].name) --fibaro:debug(Room[i].name) end end -------------------------------------------------------------- local LabPieces = fibaro:getValue(SelfId, "ui.LabPieces.value") fibaro:call(SelfId, "setProperty", "ui.LabPieces.value", "Tous") for i = 1, #(NomRoom) do fibaro:debug(LabPieces.." "..i.." "..NomRoom[i]) if LabPieces == NomRoom[i] and i > 1 then LabPieces = NomRoom[i -1] break end end fibaro:debug("piece "..LabPieces) fibaro:call(SelfId,"setProperty","ui.LabPage.value", "1") fibaro:call(SelfId, "setProperty", "ui.LabPieces.value", LabPieces) fibaro:call(SelfId, "pressButton", "10") code Piece+ HC2 = Net.FHttp("127.0.0.1",11111) Reponse1 = HC2:GET("/api/sections") local Sections = json.decode(Reponse1) table.insert(Sections, {name = "Tous"}) Reponse2 = HC2:GET("/api/rooms") local Room = json.decode(Reponse2) table.insert(Room, {name = "Tous"}) local SelfId = fibaro:getSelfId() local LabSections = fibaro:getValue(SelfId, "ui.LabSection.value") -- Recuperation de l'id de la section if LabSections ~= "Tous" then for i,v in ipairs(Sections) do if LabSections == Sections[i].name then IDSections = Sections[i].id fibaro:debug(IDSections) break end end else IDSections = "Tous" end fibaro:debug("id Section: "..IDSections) -- creation de la table des pieces dans la section local NomRoom = {"Tous"} if IDSections ~= "Tous" then for i,v in ipairs(Room) do if Room[i].sectionID == IDSections then table.insert(NomRoom, Room[i].name) --fibaro:debug(Room[i].name) end end else for i,v in ipairs(Room) do table.insert(NomRoom, Room[i].name) --fibaro:debug(Room[i].name) end end -------------------------------------------------------------- local LabPieces = fibaro:getValue(SelfId, "ui.LabPieces.value") fibaro:call(SelfId, "setProperty", "ui.LabPieces.value", "Tous") for i = 1, #(NomRoom) do fibaro:debug(LabPieces.." "..i.." "..NomRoom[i]) if LabPieces == NomRoom[i] and i < #(NomRoom) then LabPieces = NomRoom[i +1] break end end fibaro:debug("piece "..LabPieces) fibaro:call(SelfId,"setProperty","ui.LabPage.value", "1") fibaro:call(SelfId, "setProperty", "ui.LabPieces.value", LabPieces) fibaro:call(SelfId, "pressButton", "10") Code - Sect HC2 = Net.FHttp("127.0.0.1",11111) Reponse1 = HC2:GET("/api/sections") local Sections = json.decode(Reponse1) table.insert(Sections, {name = "Tous"}) local SelfId = fibaro:getSelfId() local LabSections = fibaro:getValue(SelfId, "ui.LabSection.value") fibaro:call(SelfId, "setProperty", "ui.LabSection.value", "Tous") for i,v in ipairs(Sections) do if LabSections == Sections[i].name and i > 1 then --or Sections[i].name == "Tous" then LabSections = Sections[i -1].name break end end if LabSections == "" then LabSections = "Tous" end fibaro:debug("nom :"..LabSections) fibaro:call(SelfId,"setProperty","ui.LabPage.value", "1") fibaro:call(SelfId, "setProperty", "ui.LabSection.value", LabSections) fibaro:call(SelfId, "setProperty", "ui.LabPieces.value", "Tous") fibaro:call(SelfId, "pressButton", "10") code Sect + HC2 = Net.FHttp("127.0.0.1",11111) Reponse1 = HC2:GET("/api/sections") local Sections = json.decode(Reponse1) table.insert(Sections, {name = "Tous"}) local SelfId = fibaro:getSelfId() local LabSections = fibaro:getValue(SelfId, "ui.LabSection.value") fibaro:call(SelfId, "setProperty", "ui.LabSection.value", "Tous") for i,v in ipairs(Sections) do local t = #Sections fibaro:debug("table = "..t) if LabSections == Sections[i].name and i <= t -1 then LabSections = Sections[i +1].name break end end if LabSections == "" then LabSections = "Tous" end fibaro:debug("nom :"..LabSections) fibaro:call(SelfId,"setProperty","ui.LabPage.value", "1") fibaro:call(SelfId, "setProperty", "ui.LabSection.value", LabSections) fibaro:call(SelfId, "setProperty", "ui.LabPieces.value", "Tous") fibaro:call(SelfId, "pressButton", "10") Temperature_v0.9b.vfib
-
Mise à jour Maj Hc2 : 4.070 Du 21/01/2016
mprinfo a répondu à un(e) sujet de kioneoranga dans Firmware
Il n'y aura jamais de template pour les Qubino cela ne sert a rien de rêver. -
@lazer Pourquoi tant de haine lol on peut rêver. Moi je rêve de recontrer la voisine de bureau de Pitp2 mdr Envoyé de mon SM-G900F en utilisant Tapatalk
- 144 réponses
-
- 1
-
-
- compatible v4
- tempã©rature
-
(et 2 en plus)
Étiqueté avec :
-
La Hc2 Est Elle Vraiment La Meilleure Box ?
mprinfo a répondu à un(e) sujet de Gaston_A dans Le bistrot
Mdr j'étais chez lifedomus chute.. Envoyé de mon SM-G900F en utilisant Tapatalk -
La Hc2 Est Elle Vraiment La Meilleure Box ?
mprinfo a répondu à un(e) sujet de Gaston_A dans Le bistrot
On va tout finir chez pitp2 lol Envoyé de mon SM-G900F en utilisant Tapatalk -
Pas sur car il y a 6 version qui n'ont pas été publié Apres redémarrage suite àla mise a jour 67% de ram libre avant j'étais a 50% Envoyé de mon SM-G900F en utilisant Tapatalk
- 144 réponses
-
- compatible v4
- tempã©rature
-
(et 2 en plus)
Étiqueté avec :
-
La Hc2 Est Elle Vraiment La Meilleure Box ?
mprinfo a répondu à un(e) sujet de Gaston_A dans Le bistrot
Merci did je vais y jeter un oeil Envoyé de mon SM-G900F en utilisant Tapatalk -
La Hc2 Est Elle Vraiment La Meilleure Box ?
mprinfo a répondu à un(e) sujet de Gaston_A dans Le bistrot
@did je connais pas cette box Envoyé de mon SM-G900F en utilisant Tapatalk -
Mise à jour Maj Hc2 : 4.070 Du 21/01/2016
mprinfo a répondu à un(e) sujet de kioneoranga dans Firmware
les sauvegardes fonctionnent très bien sur cette version Merci LEXAR -
NOUVELLE VERSION 4.070 DISPONIBLE http://www.domotique-fibaro.fr/index.php/topic/7275-maj-hc2-4070-du-21012016/
-
Mise à jour Maj Hc2 : 4.070 Du 21/01/2016
mprinfo a répondu à un(e) sujet de kioneoranga dans Firmware
@lazer tu te lances c'est une stable ? -
Mise à jour Maj Hc2 : 4.070 Du 21/01/2016
mprinfo a répondu à un(e) sujet de kioneoranga dans Firmware
Moi je passe mon tour c'est une stable Envoyé de mon SM-G900F en utilisant Tapatalk -
La Hc2 Est Elle Vraiment La Meilleure Box ?
mprinfo a répondu à un(e) sujet de Gaston_A dans Le bistrot
Et surtout le support est très réactif. Si on peut s acheter du knx je ne dirai pas que la box est chers Envoyé de mon SM-G900F en utilisant Tapatalk -
La Hc2 Est Elle Vraiment La Meilleure Box ?
mprinfo a répondu à un(e) sujet de Gaston_A dans Le bistrot
@did j'ai vu un lifedomus chez un membre du forum Elle est moins jolie que la hc2. Mais après une petite démonstration c'est vraiment pas mal et cela peu attiré un potentiel client. Dommage que la demo sur tablette etait sur ipad. Personnellement je serai entrain de construire je choisirai cette box. Envoyé de mon SM-G900F en utilisant Tapatalk -
Oui je crois aussi mais si je dois pas dire de bêtises on ne peut passer que par 3 modules maximum et il faut attendre plusieurs heures parfois Envoyé de mon SM-G900F en utilisant Tapatalk
-
@did tu es sur de ce que tu avance car j'ai lu sur le net qu'il faisait routeur Envoyé de mon SM-G900F en utilisant Tapatalk
-
La Hc2 Est Elle Vraiment La Meilleure Box ?
mprinfo a répondu à un(e) sujet de Gaston_A dans Le bistrot
C'est clair que des electricien comme @did son très rare en plus il adore le lua..... Cela va être très difficile pour les plus anciens de si mettre. Lorsque que je parle de zwave avec des copains electricien il me regarde avec des gros yeux et n'y croient pas pour eux c'est legrand ou hager. Envoyé de mon SM-G900F en utilisant Tapatalk -
Switch Netgear Configurable 8 Ports Gs108E-300Pes Prosafe Plus À 31.90€ @ Amazon
mprinfo a répondu à un(e) sujet de mprinfo dans Sites internet
Tu parles àqui lol Manageable tu peux accéder au routeur pour configurer le reseau par exemple le debit de chaque port Non Manageable on va dire que c'est une multiprise Envoyé de mon SM-G900F en utilisant Tapatalk -
Il est trop fort je l aurais un jour. .. Envoyé de mon SM-G900F en utilisant Tapatalk