Aller au contenu

almj

Membres confirmés
  • Compteur de contenus

    6
  • Inscription

  • Dernière visite

Profile Information

  • Box
    Home Center 2

almj's Achievements

Newbie

Newbie (1/14)

1

Réputation sur la communauté

  1. almj

    Evénements

    très triste. je vous remercie beaucoup de toute façon!
  2. almj

    Evénements

    non, ça ne fonctionne pas toujours, très étrange. J'utilise firmware 4.017
  3. almj

    Evénements

    local user = "admin" local pwd = "********" local excluded_id = {98, 127} local max_events = 100 HC2 = Net.FHttp("127.0.0.1", 80) HC2:setBasicAuthentication(user, pwd) response = HC2:GET("/api/panels/event?last="..max_events.."&type=id") local t = json.decode(response) local j = 0 for i = 1, max_events do local exclude = false for k = 1, #excluded_id do if excluded_id[k] == t[i].deviceID then exclude = true break end end if (t[i].deviceType ~= "motion_sensor") or exclude == true then -- pas interessant else local msg = fibaro:getRoomName(fibaro:getRoomID(t[i].deviceID)) .. " | " .. t[i].oldValue .. "->" .. t[i].newValue .. " | " .. os.date("%d/%m %H:%M", t[i].timestamp) j = j + 1 pcall(function() fibaro:call(fibaro:getSelfId(), "setProperty", "ui.Label"..j..".value", msg) end) if j >= 10 then break end end end rectifiée cela. Il ne fonctionne pas.
  4. almj

    Evénements

    Chers amis, Comment puis-je laisser que des détecteurs de mouvement dans la liste? Merci, Sasha
  5. almj

    Evénements

    Dear friends, How may I leave only motion sensors in the list? Thank you!! Sasha
  6. S'il vous plaît pardonnez-moi de parler anglais et russe seulement So only google translate will help me. I have HC2 with beta 4.017 firmware, 5x fibaro dimmers, 4x motion sensors, 2x flood sensors, smoke sensor, wall plug, iTach IP2IR, 2x IP cameras, netatmo, nexus wall tablet.
×
×
  • Créer...