Jump to content
FIBARO Home Center App 1.0.0 - release Read more... ×
FIBARO Home Center App 1.0.0 - wydanie Read more... ×

Search the Community

Showing results for tags 'hc2'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • FIBARO Community
    • FIBARO Portal and Forum policy
    • FIBARO
    • Say hello!
    • Off-topics
  • FIBARO Update
    • FIBARO System Update
    • FIBARO Mobile Update
  • FIBARO Community Support
    • Scenes and Interface
    • FIBARO Products
    • FIBARO Mobile
    • FIBARO HomeKit
    • FIBARO Assistant Integrations
    • Other Devices / Third-party devices
    • Tutorials and Guides
    • Home Automation
    • Suggestions
  • FIBARO Społeczność
    • FIBARO
    • Przywitaj się!
    • Off-topic
  • FIBARO Aktualizacja
    • FIBARO System Aktualizacja
    • FIBARO Mobile Aktualizacja
  • FIBARO Wsparcie Społeczności
    • Sceny i Interfejs
    • FIBARO Urządzenia
    • FIBARO Mobilnie
    • FIBARO HomeKit
    • Integracja z Amazon Alexa i Google Home
    • Urządzenia Firm Trzecich
    • Poradniki
    • Automatyka Domowa
    • Sugestie

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Facebook


Google+


Skype


Website URL


WhatsApp


Country


Gateway/s


Interests

Found 257 results

  1. GrzesiuS

    Sceny przestały działać

    Witam, Od wczoraj zmagam się z problemami z HC2. Sceny nie uruchamiają się automatycznie. Miałem wcześniej dużo działących już scen i dopisałem wczoraj nową i przestało działać. Robiłem kilka restartów i nic. Nie widziałem, żeby firmware się aktualizował. Obecna wersja to 4.530. Jeśli odpalę sceny ręcznie to zadziałają, więc kod jest poprawny. Jakieś pomysły?
  2. Hello, I'm trying to modify a already define global variable using the REST API for the HC2. This is done from a ESP2866 (nodeMCU-isch) board. I can do a http.get towards the HC" and I get the correct JSON information. When I do http.put I seem not to be able to set the variable. My message headers contains a basic auth, and I have payload that looks like this {"value":"On"} The address looks like this http://1.2.3.4/api/globalVariables/thevariable According to the httpclient i'm using i seem to get return code 200 but no result and the variable is not changed. Using the hc2ip/docs link I can test this out with the correct payload and it works fine. However I'm logged in as an Admin then. Trying to change the user from my ESP2866 I just got that the HC" banned me for 30 min. So is there a problem using normal users when trying to modify a global variable ? Do I need to be admin ? Or is there something else I need to check ? Regards P
  3. PawRew

    Jak przejść z HCL na HC2

    Czytam forum i obawiam się że nie możliwości tranferu danych (migracji) z HCL do HC2, ale może nie mogę znaleźć? Robienie wszystkiego od nowa to 2 dni roboty!
  4. This is my first topic in a series of post I'm going to write about the advanced LUA scenes I wrote for my home automation project. My goal is not flipping a light scene with a phone but for 90% autonome home automation. Besides posting LUA code I give you more insight why I came to this routine. It may help you with designing your own automation routines. Disclaimer: I am not a professional programmer and I post the scenes as is. I have no time to make the LUA scenes generic like other great members do on this forum. I just post my LUA code to share knowlegde and inspire you to create awesome things! Advanced home wake-up routine with Philips Hue and HC2 Applies to: Fibaro Home Center 2 and Philips HUE bridge. GOALS Use my Philips Hue led strips as a wake-up light. Use 1 app to schedule the whole home wake-up routine. Start the morning routine when walking downstairs (check motion). Turn on the lights only when it’s dark (read lux). In our bedroom we integrated a Philips Hue lightstrip in the ceiling and use this with the Philips Hue app as a wake-up light. It beautifully fakes a sunrise in our whole room. As we use the Hue app to set our wake-up alarm I use this app to trigger the Home Center to run a wake-up routine for the rest of the house. TL;DR Set recurring wake-up schedule in the Philips Hue app. Home Center LUA scene 1 reads schedules at 04:00 with the keyword Wake in it. If schedule is set for today and motion is detected at the hallway after the scheduled time (scene 2), run wake-up routine. HOW I IMPLEMENTED IT IN WORDS Reading Hue schedules from the bridge cannot be done with the Fibaro Hue plug-in. Therefore I wrote a LUA scene to read the Hue schedules from the Hue bridge and run the wake-up routine at the schedules wake-up time. I achieved this with 2 LUA scenes: Scene 1 runs every minute and polls the Hue bridge schedules at 04:00. If a wake-up is scheduled for today write the wake-up times to a global variable. Every minute it checks if there is a wake-up planned by reading the same global variable and if so it sets the WakeUpReady global variable to 1. Scene 2 runs when motion detected by a Fibaro Motion Sensor. If it detects motion it checks if the global variable WakeUpReady is set to 1 and runs the wake-up routine. SCENE 1 EXPLAINED You can download the full LUA scenes at the bottom of this post. I only describe snippets of my code to make you understand what it does and show the challenges I ran into. TAG YOUR HUE SCHEDULE WITH A WAKE-UP STRING IN IT! To know which schedules are used for wake-up I set all those schedules with the Wake keyword in it. Like Wake-up weekday’s and Wake-up weekends. In the LUA scene I find these schedules with the code: if name:find('Wake') and status == 'enabled' then ... end RECURRING DAY’S ARE SAVED AS A BITMASK IN THE HUE BRIDGE The Hue API states: The Hue bridge saves the recurring day’s as a bitmask. You have to convert this bitmask to weekday’s. So you can check if the alarm is set for today. The first step is to convert decimal to a binary. I did this with the folowing LUA function: function bin(dec) local result = "" repeat local divres = dec / 2 local int, frac = math.modf(divres) dec = int result = math.ceil(frac) .. result until dec == 0 local StrNumber StrNumber = string.format(result, "s") local nbZero nbZero = 8 - string.len(StrNumber) local Sresult Sresult = string.rep("0", nbZero)..StrNumber return Sresult end Then I have a binary representation of the scheduled weekday’s. For example: mo tu we th fr sa su 1 1 1 1 0 1 0 You see the alarm is set for monday, tuesday, wednesday, thursday and saturday. With this I can determine if the alarm is set for today: if name:find('Wake') and status == 'enabled' then local huedays, huetime = string.match(timepattern, 'W(.*)/T(.*)') -- Hue starts at monday, LUA starts at sunday, so I have to fix this. local dayofweek = os.date("*t").wday-1 if dayofweek == 0 then dayofweek = 7 end local scheduleddays = bin(huedays) -- dayofweek+1 because a week is 7 days and binary is 8 digits, so -- a have a pre 0 local waketoday = string.sub(scheduleddays, dayofweek+1, dayofweek+1) if waketoday == '1' then wakeUpAlarms = wakeUpAlarms .. huetime:sub(1, -4) .. '|' end ... end WRITE WAKE-UP TIME TO GLOBAL VARIABLE If there is an alarm schedule for today write it to a global variable for later use: if wakeUpAlarms ~= '' then fibaro:setGlobal("WakeUpTime", wakeUpAlarms:sub(1, -2)) -- remove last | else -- If no schedules are set, write disabled to the global variable. fibaro:setGlobal("WakeUpTime", "disabled") end SET WAKEUPREADY GLOBAL VARIABLE FOR MOTION SENSOR LUA SCENE The LUA scene runs every minute using the code: setTimeout(tempFunc, 60*1000) At 04:00 it checks the schedules in the Hue bridge, but every minute it checks the WakeUpTime global variable to set the wakeupReady global variable to 1. This variable triggers the second LUA scene used by the motion sensor. local wakeupTime = fibaro:getGlobal("WakeUpTime") if wakeupTime ~= "disabled" then local waketimes = {} for match in (wakeupTime..'|'):gmatch("(.-)"..'|') do table.insert(waketimes, match); end for k, v in pairs(waketimes) do if os.date("%H:%M") == v then fibaro:setGlobal("WakeUpReady", 1) fibaro:debug("It's wake-up time! Set motion detector ready!") end end end SCENE 2 EXPLAINED (MOTION SENSOR PART) With scene 1 I created a global variable setting to determine if the wake-up routine must run. Now I create a second scene to act if there is motion in our hallway. CHECK FOR MOTION AND IF ALARM IS NOT ARMED First I want to check if there is motion and if the alarm is not armed with the line: if tonumber(fibaro:getValue(158, "value")) > 0 and tonumber(fibaro:getValue(158, "armed")) == 0 then ... RUN WAKE-UP ROUTINE ONLY IF IT’S DARK OUTSIDE The Philips Hue wake-up schedule runs always because our bedroom had curtains and the room is always dark. Downstairs I only want to run the wake-up routine when it’s dark outside. The wakeupReady global variable check’s if the routine needs to run when there is motion (set with scene 1). The line below gets the current lux reading from the Fibaro motion sensor: fibaro:getValue(160, "value") If the illuminance is below 20 I want to turn on my lights. if wakeupReady == "1" then fibaro:setGlobal("WakeUpReady", 0) -- Disable trigger for current wake-up time. -- check lux local currentLux = tonumber(fibaro:getValue(160, "value")) -- id 160 is sensors light device. -- If it's dark then start wake-up routine if currentLux < 20 then fibaro:debug("Illuminance measuring " .. currentLux .. " lx, starting wake-up routine.") fibaro:call(44, "setValue", "8") -- Spots keuken (8%) fibaro:call(29, "setValue", "5") -- Tafel eethoek (5%) fibaro:call(106 , "turnOn") -- Bolles (aan) fibaro:call(118 , "turnOn") -- Spot voordeur (aan) fibaro:call(156, "sendPush", "Started wake-up routine. Debug: " .. currentLux .. " lx") else fibaro:debug("Illuminance measuring " .. currentLux .. " lx, do nothing.") end ... DOWNLOAD MY SCENES COMPLETE LUA CODE You can download the full LUA scene code from GitHub: Scene 1: Wakeup.lua Scene 2: MotionRoutine1.lua You have to change the device id’s from my motion sensors in this scene to your own id’s! And don't forget to set the scenes to run automatic in the Fibaro Home Center 2
  5. @jorgei

    YR is not working properly

    Hi. I can't get YR to find my destination automaticly, and i suppose that is the reason why i have no weatherdata from yr plugin. My Home Center top menu looks like this: Anyone?
  6. Witam, Posiadam w swoim domu wiele podwujnych wlacznikow ze sprzezynkami (bistabilnych) do sterowania swiatlem i chcialbym przypisac im dodatkowe funkcje sterowania innym oswietleniem. Do tego celu chcialem uzyc urzadzenia o nazwie Pilot, ktory dodal sie wraz z dodaniem Double Switch 2. Na tym urzadzeniu sa w prosty sposob do ustawienia reguly reakcji przy 2x wcisnieciu klawisza, 3 krotnym itd. Poniewaz jednokrotne wcisniesie S1 czy S2 wlacza lub wylacza swiatlo podlaczone bezposrednio to przelacznika, to oczywistym jest, ze chcialem skorzystac z funkcji podwujnego klikniecia do wywolania dodatkowej reakcji. Mimo uaktywnienia podwujnego klikniecia w opcji zaawansowanych, oraz poprawnych ustawien dzialania przelacznika jako bistabilny, guzik wyzwaja reakcje ustawiona jako 2 krotne wcisniecie juz przy pojedynczym wcisnieciu. Probowalem wszystkich kombinacji, probowalem asocjacji ktora miala by wyzwalac dodatkowe oswietlenie ale nie przy jednokrotnym wcisnieciu i nic... Gdzie robie blad? Przy okazji dodam, ze mam zamiar skonfigurowac 2 ktotne wcisniecie klawiasza do uruchmienia swiatla LED Philips HUE. (oczywiscie probowalem ustawien tej funcji na oswietleniu podlaczonego do innego przekaznika Double Switch 2 zeby nie bylo ze w HUE jest problem). Niestety system w przypadku checi dodania reguly reakcji przy 2x wcisnieciu klawisza nie widzi urzadzen z pluginow, wiec dodalem urzadzenie wirtualne ale ono tez nie jest widoczne, wiec dodalem urzadzenie recznie jako scene i w niej wpisalem polecenie uruchomienia z kodem fibaro:call(137, "turnOn") ktora to scena dziala przy recznym wywolaniu ale nie dziala wogole przy dodaniu funkcji w klawiszu przelacznika na scianie. Dziekuje z gory za pomoc i przepraszam jezeli rozwiazanie jest blache i wynika z mojej nie wiedzy.
  7. Hi all, after a lot of time, finally I was able to complete a guide to send push notifications from HC2 when Power Outage occurs without using expensive tools or complicated configuration. You need only an android device that need to be always plugged in to the electricity. Hope this is useful, I'm available if you need more information regards, Leo Step-by-Step Guide for HC2 notification on Power Outage.pdf
  8. @jorgei

    Block Scene editor

    I'm completely new to scene creator's, and i Wonder if someone could help me out With a start... I would be happy if someone could post me some examples of Block scenes for: A wall plug turning off after a period of time, and then send SMS/push Notification to a cell phone.... Door changes status from locked to open - turn one/several lights on and send SMS/push Notification to cell phone This would be a start for me
  9. I have a fibaro motion sensor and it keeps detecting motion even though there is none about every 10 seconds. turned off all scenes that interact with the motion sensor - still does the same thing. I restarted my HC2 - does the same thing. Motion sensor on latest firmware. *the only time it stops for a while is when the lux in the room goes to 0. but then it will detect motion again. **I do have the sensitivity really low, when I raise it above 20 it seams to go back to "normal" I don't want this at 20 rather it be 8-10. I have two other fibaro motion sensors set to 8-10 with no problems. @T.Konopka do you know what this could be? a bug?
  10. Hi all I'm hoping that someone can help me out. I was setting some new block scenes earlier and the HC2 seemed to crash, I just got the floating circles as if the interface was loading. So I went for a shower and then ended up going out. While I was out I got quite a few emails saying the IP address of my laptop had been blocked due to incorrect logins. So when I have got home I have tried to log back into the system. I was greeted with incorrect username/password. Which was very strange considering these are saved in my browser. So I had no choice but to reset my password. When I logged in, to my horror all of my devices have gone, and all of the scenes. I then realised that I have limited privileges. The password which I reset was for the superuser account (the only account on the home centre). But the HC2 has given me a standard user account instead?! I can log into Fibaro ID. I can log into the home centre but as a standard user. I have tried to log in with the old admin admin. No luck at all, I really don't want to rebuild my system. can anyone help? thanks in advance!
  11. Hello! I am trying to make a scene in LUA where I can dim my Hue bulbs. I have a Sunricher 4ch switch, which I have created scenes for turnOn and turnOff Hue bulbs, and it works nicely, as in the picture below: I want to make a new scene, where the button´s HELD DOWN function should utilize dimming of the Hue bulb. I have tested some commands from the Hue Developer API, and found out that if I "PUT" the below command to the Hue-bulb, it increases the saturation with 1 for each time I press "PUT". Is it possible to make a repeat loop / while loop or similar that sends this command? I know this is not the LUA API, it is in the REST API. I can not quite see how to send similar commands in LUA, unless there is a way to make a repeat loop that takes the saturation value and adds "1" e.g. each 10 millisecond while the switch is in HELD DOWN state?
  12. So I have two houses with a hc2 in both. I also have a set of Google home minis in both houses. However I'm only able to use voice to control one of the houses and the devices from the other house is not visible in the Google home app. I can add the devices from the other house by talking to fibaro and after listing devices choose the hc2 from the other house, but of course then the devices from the other house disappear from the Google home app... I don't know if this is for Google to fix or if Fibaro can list all devices for both hc2's. Any suggestions on how to fix this problem is appreciated.
  13. Hi community, Perhaps you can help me understand how (if) to connect two houses that each has a HC2 and have them connected to my Google Home Mini for voice control. Setup I have two houses, in each house I have a HC2 that are linked to my Fibaro Cloud account. I can access them both remotely and everything is working fine through the app on my phone and as well as from computers. In each house I also have a Google Home Mini, that are configured to talk Swedish AND English. I live in Sweden should I say as well. Problem I've managed to link my Fibaro account to the Google Home app on my phone but only the devices in ONE of the houses are SEEN and can be controlled trough Google Home or Assistant. I've done multiple unlinking and re-linking as well. Both HC2's are on 4.510 I can switch to English and say "talk to Fibaro" and it lists both devices and I can control them from there. But through the Google Interface only the devices in one of the houses are seen - if you follow me here Any guidance or ideas to test would be highly appreciated! Have a good Saturday out there!
  14. freelife996

    Ezviz camera ?

    Hi, I have a EZVIZ Camera CS-CV310 and I wonder how I can add it to the HC2 as there is no plugin for that camera. Any thoughts?  Thanks
  15. My HC2 was running fine for serveral weeks on ver. 5.10. Yesterday I noticed, that I I can'nt connect using my Phone. I checked from my PC - same behavior. Internal Error! I than switched off the HC2 using the button at the back. Wait for a minute and switched it back on. Now I getting "Starting Services". I left it now for couple of hours. No change! I did switch it off and on aggain, but the HC2 is not accessable anymore. I did not made any changes to the HC2, I also did not add any devicves. What can I do to gain access and control again. It's quite urgent thx & regards Rolf
  16. PieterB

    Incompatible backup notification

    Hi there, My hc2 keeps on reminding me that the backups that i have made so far are incompatible and that I have to make new ones. But in the backup screen is says that the backups that I made so far are compatible. Is it a bug, and/or do more people experience this? Let me know. hc2.pdf
  17. Hi All, We recently purchased a Roomba 690 (with built in WiFi) and I went with the iRobot brand specifically as its listed on the home page of the Fibaro website as a one of the device thats compatible with the Fibaro system. https://www.shopirobot.com.au/roomba-robot-vacuum-cleaner/roomba690-robot-vacuum-cleaner.html I've been through the available Add-ons on my HC2 as well as searching both these forums and the internet with no answers. Is there something I'm missing? Thanks, Mist
  18. Version: 4.510 HC2 REST API Hi guys, since update to version 4.510 i get sometimes this email: "Suspicious Login Attempts Prevented: We noticted 5 failed login attempts to your HC2 that seemed suspicious. For your security, the following IP address xxx has been locked for 30 min" Why? The REST Auth are right. At start status code 200 with successful result and a little bit later 401 bad user and pass. All request, in the previous version, ran flawlessly...
  19. Guest

    I lost my login ID for HC2

    Hi, Recently My HC2 went into recovery mode, but unfortunately when i tried to log in again into it, it happens that i forgot the login id, if there is anyway or someone who can help i can talk to please let me know. Thanks in advance.
  20. Can someone help me. I have been thinking about how the logic would work and cannot come up with the correct Lua code to make this work correctly. Goal: want the door to unlock when I arrive at home and lock when I leave and send a message (push, email etc..) every time. but if I am home/not home I don't want it to keep locking/unlocking and sending me a message *I already have fibaro looking for my phone to see if I'm present. a global variable keeps a number count present =1 not present = 0 so the logic I came up with is like this: Check Present=0 then lock door and send message check present =0 (still not at home) do nothing check present = 1 unlock door and send message check present = 1 (still at home) do nothing etc... let me know if you have questions or suggestions.
  21. Henn Sarv

    HC2 sharing with other FibaroID

    Hi Fibaro staff and users, I've in problem with HC2-FibaroID and user authentication for remote acces I haven't find the place where share access to HC2 to second (and third, etc…) FibaroID to allow remote access to my family members. Current I find only following ways 1. share full access to my FibaroID (name and password) with instructuon how to connect through this - not best way, becouse I don't like to give full access to all mu houses 2. direct HTTP flow through my firewall and ask them to access directly - extremly unsecure way becouse lack of HTTPS Could You give some hint, how to behaive or could you point me the right option or (on case lack of this) plan in future developments add that kind of functionality With bests Henn
  22. Hello, everybody, I have a problem with Home Center 2: I forgot user and password! How can I reevive a hard reset? I'm desperate!
  23. Rikbast

    Domoticz in combination with HC2

    Hi, I was searching on the forum about 2-way communication between Domoticz and HC2 (or HCL). What is my situation? At the moment I am running Domoticz with Fibaro modules and I am considering to move to Fibaro, however I want to keep my LUA scripts in Domoticz for the time being. The idea is to exclude all devices in Domoticz and move them to HC2 (or HCL) and keep the scripting running on Domoticz, so I am looking for a way to get variables from Fibaro to Domoticz for the LUA scripts. Furthermore if a variable from Fibaro triggers something in the LUA script in domoticz I want to sent a command back to Fibaro from domoticz. Is that possible? It is an in between solution so that my HA can keep on running. Thx already. Rik
  24. HansAvlund

    Can`t find HC2 after put in recovery.

    Hello! We recived a broken HC2 at the office. Reporting that an end-user can`t connect to the HC2. Can`t find the HC2 with Fibaro finder nor using Advanced IP Scanner (looking for a mac adress) I have tried using the backup IP adress: 192.168.81.1, adjustig my computer to 192.186.81.x. Still cant find it with Fibaro Finder / Advanced IP Scanner. Tried regular boot multiple times with and without Recovery Stick plugged in. When I did regular boot. ONLY the power LED was lit up. And yes, I know the ethernet port I used has a direct connection to my computer. (As i use it on a daily basis.) Any suggestions on this? Is there some sort of "Quick fix"? Or do Fibaro need to take a look at this. Thanks! Best regards Hans
  25. Hi. Yesterday I made a backup of my HC2 (version 4.180), which I do from time to time (usually without problems). After the backup it restarted, and then 36 of my devices were "not configured"! A lot of devices that I had hidden in the user interface, reappeared. The unconfigured devices are impossible to configure. They just have a status of "reconfiguring", and that's all, for many hours. The devices don't work, of course. If I try to, say, adjust i light dimmer, it says "configuring" and then nothing else. No response from Fibaro support either. I tried to restore a backup. No change. Please, wise forum, help! Helge
×