Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,


as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.


As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!



Smart Home Forum by FIBARO Team

Search the Community

Showing results for tags 'hc3'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


  • Scenes
  • Virtual Devices
  • Quick Apps
  • Icons

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Website URL





  1. A thread to share some coding techniques for QuickApps? Because QAs are "long running scenes" (they don't have to be loaded and restarted for every event) - it is actually worthwhile to build up a library of "nice to have" code and include them in QAs. Here is Fibaro's manual for QuickApps. Here is Fibaro's manual for creating QuickAppChild devices Here is Fibaro's manual for using MQTT client Here is Fibaro's manual for WebSocket client List of posts: Introduction to the QuickApp anatomy - tutorial Part 1. Lua functions and object-oriented programming. (QuickApp is a OO class, so we need that base) Part 2. The basic QuickApp functions and what they do... and how. Part 3. More on QuickApp event handling - interaction with the UI and fibaro.call(<quickApp>,"name",...) Part 4. QuickAppChildren and how to raise them... what makes them tick? Also a tutorial on using classes in QuickApps here... All functions and variables available in the QuickApp Lua environment Logging functions (replacement for color/html tags + tostring for customised data structure) Shared functions calls between QuickApps (Here is an improved version) Off-line HC3api to use fibaro.* calls on PCs/Linux/Mac (fibaroapiHC3.lua) Polling for triggers in a QuickApps (like fibaro.getSourceTrigger()) Here is another method using a helper QA Patching 'setTimeout' so you get an error message if the function crashes A generic template for a QuickApp A simple code-lock QuickApp (demonstrating the UI with buttons) A QuickApp for scheduling user profiles (demonstrates UI buttons that change labels/text to present options) It doesn't' actually schedules the profile yet. (here is a working version) Structuring a QuickApp using event handlers to cope with asynchronous calls - like when using net.HTTPClient() instead of FHTTP(). looping with setInterval (without drifting) A QD reporting if other QDs are crashing (leveraging the "polling for triggers" code) Coding and debugging HC3 QuickApps offline using PC/Mac/Linux and a Lua IDE (and auto-creating a proxy on the HC3) An example of a QuickApp that download and installs scenes and QuickApps from a repository (files in a flat format) Coding and debugging of HC3 scenes using fibaroapiHC3.lua (not strictly about QuickApps but related) - can speed-up time A more complex QD that reads Google calendars or iPhone calendars and schedule custom events (uses the QuickApp structure for asynchronous calls in a previous tip) A substitute for Lua's loadstring() Here is another method of loading code dynamically into a QA Creating proxy devices on the HC3 to share devices between HC2 and HC3 A "webhook" QD - pushing events to external apps Adding interfaces to QA's - ex. power and battery and updating the properties (updates the little battery and power icon UI) @tinman Using '/plugin/publishEvent' to emit 'centralSceneEvent' (and a few other) .... Ex. keyfob QA by @tinman QA Toolbox. A modular toolbox of add-on functions to QAs that makes it easier to develop QAs 'basic' - Generic QA functions for loggin, loading modules, and management - used by all other modules. (some documentation) 'childs' - QA functions to easily manage quickAppChild devices. Loading, saving state, getting UI events etc. 'events' - QA functions for defining event handlers and structuring your code accordingly. Makes it easy to setup timers in various ways... 'triggers' QA functions for recieving triggers like Scenes do. The events module will receive triggers if loaded, but own handler can be defined. 'rpc' - QA functions for declaring (synchronous) remote functions from other QAs files - QA functionality for copying files between QAs pubsub - QA functions for event publish/subscribe... ui - QA functions for manipulation the UI elements of a QA lua parser/compiler - QA function for emulating loadstring and evaluating Lua expression from strings profiler - Functions for timing code used in QA Reading label/button/slider values. Sha2.lib crypto libs for HC3 (MD5, HMAC, SHA-1, SHA-224, SHA-256, SHA-512/224, SHA-512/256, SHA-384, SHA-512, SHA3-224, SHA3-256, SHA3-384, SHA3-512, SHAKE128, SHAKE256) @tinman aes crypto lib @tinman List of HC3 device types and interfaces @tinman Readers note. I started to call QuickApp devices for QDs (as in QuickApp Device, thought QAs sounded like Question and Answers). So, I use the word QD here and there but I'm not religious about it...
  2. I'm unable to add Zigbee devices to my HC3. When I click to add a Zigbee device, the HC3 console shows Waiting for adding process to start. After 3 minutes, it updates to Timeout for adding devices expired. I'm using two different Aqara Temperature and Humidity sensors and both have the same results. Fibaro support keeps telling me to try again or reset the Aqara sensor, but I'm suspicious of the HC3 itself. The messages in the HC3 console seem to imply that the HC3 is trying to go into adding mode, but that it hangs there. Can anyone confirm this? I'd be interested to learn what the console says when all goes as it should.
  3. I am currently using HC2 and will be migrating to HC3 which I have and is live with 2 devices. I need to rewrite my scenes and VDs etc. Question - will there be any interference between the devices owned by HC2 and the ones owned by HC3 ? The reason I am asking is that the whole stuff is so flaky. Devices used to go dead all the time. After literally 5 years of contacting suppliers, installers, support and engineers, I finally figured out the main problem in my network. My conclusion/assumption is. It turns out that 2 devices had removed themselves from the "control panel" as the support call it. I had not realized this as we never tried controlling them from the app or scenes. And devices around these were using them for hopping messages, which the HC rejected. Once I re-enrolled these two (after searching for them all over the house), everything has been running sweet, for the first time in 5 years. I would call this extremely flaky thinking, process and code !!!! And I am beginning to think that I might be up for more pain from similar stupidity happening between the two HCs.
  4. is it possible to integrate Proscenic devices with the Fibaro system? I currently have a Proscenic 808C humidifier that can be controlled by a remote control and an application. https://www.proscenic.com/pl/808c-humidifier-p0134.html This humidifier has a built-in wi-fi radio module. It would be nice to control it directly from Fibaro via Quick Apps.
  5. Cześć! Czy ktoś z was korzysta równolegle w 1 mieszkaniu z automatyki Fibaro i Home Assistant? Aktualnie mam centralę HC3 z 40 urządzeniami fizycznymi z-wave, 4 kamery IP, oraz kilkanaście zarządzalnych urządzeń z dostępem przez www czy aplikacje. Dodatkowo całość jest sterowana przez 69 scen automatycznych oraz głosowo przez integrację z Amazon Alexa. Zastanawiam się czy równolegle nie postawić Home Assistant (mam akurat na to mocnego NASa z wolnymi zasobami) aby uruchomić część integracji i jakiegoś ciekawego dashboardu. Na pewno centrala HC3 zostanie ze mną już na wiele lat do obsługi urządzeń z-wave i innych, planuję także w przyszłości jeszcze rozbudować system o nowe urządzenia i funkcjonalności. Chciałbym pozbyć się przede wszystkim używania kilku różnych aplikacji w telefonie do obsługi różnych urządzeń, dążę do stworzenia pełnej automatyzacji i zarządzania głosowego gdy zajdzie taka potrzeba. Czy Fibaro umożliwia wymianę danych z Home Assistant (np. do przesyłania danych z czujników temperatury)?
  6. I've just upgraded from HCL to HC3 and added the first of 14 FGR221 roller shutters controllers (FGR221 firmware and HC3 Beta firmware are both up to date). However, After adding the shutter device, it will not move up or down via the app (parameter updated in settings to single momentary S1). I have poisitioning normally set to on, but even with it off, nothing happens. I have manually controlled via S1 the shutter up to 3 cycles to ensure it is calibrated but still no joy! I added the shutter device back to the HCL and everything works fine. Am I missing something here? The HCL is unstable and it needs to be reset every 4 days so I need a more stable working solution with the HC3.
  7. Hi, I'm new to LUA but I am trying to read the current value of R and assign it to B. I basically have 2 white strips and 2 sets of downlights, assigned to the RGBW channels. I want the 2 sets of strips to copy each other and the 2 sets of downlights to copy each other, so if I dim one strip, it mimicks on the other strip and if I dim one set of downlights it mimicks on the other set of downlights. So I want to read the current value of R and assign it to B and read the current state of G and assign it to W. Thanks in advance!
  8. Hello, I added Horstmann HRT4-ZW and ASR-ZW to the Fibaro HC3 and made the connection between thermostat and receiver. All icons are present on the fibaro, but I cannot set the temperature via the fibaro. I'm probably overlooking something. The thermostat and receiver work well. I followed this procedure, but... https://k2aab.com/home-automation/fibaro-hc2-and-horstmann-hrt4-zw/ Thanks for helping me. Michel
  9. How to run an existing block scene from the android device using the "Welcome Home" mobile app?
  10. Hi everyone, I'm looking for a Quick app to control a Milight RGBW. I've found the above topic with a script, but the script is for a Virtual Device and in HC3, if I've correctly understood, Virtual Device has been replaced by Quick app. I'm new to the HC3 word and I don't know ho to "translate" VD script to QA. Is there a method ? I don't have any problems with LUA, but the QA scripting is not so far simple for me. Thanks for your help.
  11. Czy ktoś może podpowiedzieć jak stworzyć scenę w której z określonym interwałem czasowym centrala wyśle powiadomienie push z informacją o aktualnej wartości czujnika? Chciałbym aby klient raz na dzień dostawał info jaka jest wilgotność powietrza, ponieważ jest to ważne dla odpowiedniego utrzymania jego drewnianej podłogi. ____________ Can anyone suggest how to create a scene in which, with a specific time interval, HC3 will send a push notification with information about the current sensor value? I would like to receive information about the air humidity once a day, because it is important for the proper maintenance of client wooden floor.
  12. Hi I'd like to open/close the danalockv3 id541 using two triggers. Holding the light switch (the danalock status changes each time the key id553 is held down) or the alarm output (the ldanalock status changes depending on the alarmoutput id430 status on/off on=unsecure off=secured). In addition, the alarm output state should be synchronized with the lock state, because I can open the lock manually for example. How to modify the lua code below to add a second trigger to it (alarm out) and synchronize lock state? { conditions = { { id = 553, isTrigger = true, operator = "==", property = "centralSceneEvent", type = "device", value = { keyAttribute = "HeldDown", keyId = 1 } }, { id = 430, isTrigger = true, operator = "!=", property = "state", type = "device", value = {} } }, operator = "any" } local deviceValue1 = fibaro.get(541, "value") if deviceValue1 == true then fibaro.call(541, 'unsecure') else fibaro.call(541, 'secure') end
  13. Hello, I have a serious and urgent problem. I set up a Home Center 3 in one of my friends house. After finishing everything and installing all the modules, I wanted to give him mobile access through Yubii App. To my surprise I find the app giving me an error with title: " homecenter is not fully configured yet" Below are screenshots to support my findings
  14. Cześć, Czy ktoś ma pomysł jak ustawić Aoetec Siren 6 tak, aby alarm nieprzerwanie się powtarzał do momentu rozbrojenia alarmu? Wczoraj miałem naruszenie czujki (na szczęście przez psa) i alarm włączył się tylko na 35s i cisza. Ja się obudziłem, ale reszta domowników już nie. A co jeśli jeden "dzwonek" nas nie obudzi podczas prawdziwego włamania? Jaka jest funkcja w LUA, aby powtarzać czynność do momentu spełnienia określonego warunku. (czy ten kod posiada cos jak elseif ?)
  15. I was looking for a solution to get my Fibaro HC3 to trigger an Alexa routine, it appears that only devices such as a contact or a motion sensor can be used as an Alexa routine trigger. Then I watched a YouTube video by Brian from “Automate Your Life” where he makes a virtual device to interface between SmartThings and Alexa, in SmartThings it’s called a “Device handler” which I presume is similar to a Fibaro QuickApp. This consisted of a switch combined with a contact, when the switch is triggered the contact closes, this contact can be used to trigger an Alexa routine. https://www.youtube.com/watch?app=desktop&v=BqJ3cHHcNyc&feature=youtu.be As I don’t know much about virtual devices in Fibaro controllers I thought maybe I can do the same with a physical device, such a Smart Implant FGBS-222 which incorporates switches and contacts. Out of the box triggering an input causes the output switch to change state, what I needed was the other way around. In the setup I disconnected the inputs from the outputs then hard wired the inputs to the outputs so when the output relay switch is turned on from within HC3 the input is pulled to ground. It works ! the input contact is now visible in Alexa routines as a trigger, now I can use a scene to turn on the output relay switch and this in turn activates the input contact and the Alexa routine. The possibilities created by this are endless only limited by your imagination, from getting Alexa to read out messages to controlling other devices which Alexa has access to but Fibaro does not. BUT Smart Implant devices are expensive currently £35 on Amazon here in the UK SO All you programmers out there, is it possible to make a QuickApp with the same functionality ?
  16. Is anyone have experience with setting up garage door device built on smart implant + hc3? Currently it works perfect in my setup but looks like simple light switch, so i looking for any suggestions to turn it to garage door.
  17. Hi, is it possible to play a sound(given text) on a google nest mini, when an event occur on the homecenter 3? greetings Paul
  18. At the moment I'm working on trying to integrate the Somfy Tahoma/Switch IO system. At my local system (with TQAE) I can connect to the API to get a access token. When I run exactly the same code on the HC3 I get a HTTP 404 error (Page Not Found). The code isn't that complicated: function QuickApp:GetAuth() local url = "https://accounts.somfy.com/oauth/oauth/v2/auth?response_type=code&client_id=o59WTNp303e1ABRg1j4bJ8COYGGmEZdc6N8X1_CRDyyWE6&grant_type=authorization_code" self.http:request(url, { options = { headers = {["Content-Type"] = "application/x-www-form-urlencoded"}, method = 'GET', }, success = function(response) self:debug(response.status) --self:debug(response.headers) local csrf_token = string.match(response.data, "value=\"(.-)\"") self:debug(csrf_token) print(response.data:gsub("<","&lt;")) --self:getToken(csrf_token) end , error = function(message) self:debug("error:", message) end }) end The HC3 doesn't show me the body or headers when an error occurs. In the message variable only the error code is shown (404). Has someone experience with this? I tried everything, it looks like they are blocking traffic from the HC3. I tried to add another User-Agent string, but no luck.
  19. Hello Fibaro community ! I am trying to pair switch FGS-211 with Fibaro Home Center 3 (not the lite version) as my old Vera died and I have to reconfigure all z-wave devices. I could not de-associate FGS-211 from older controller as it died, so I wen't through reset procedure (3 seconds push on B-pin after power on). Now I am trying to associate it with the new Fibaro HC3 without success. I am enabling inclusion mode, being really close to the controller and nothing happens, the device is not found. I have number of those switches in use, so I would be really sad if they are incompatible with HC3. Note that I have successfully paired FIBARO Roller Shutter 3 and Danfoss Z-wave thermostat with the main unit. Is this know problem or maybe I should perform some different path to include the device into HC3 rather then simple + and search for z-wave devices? During initial setup my HC3 asked if I want to be on 2.0 or 3.0 (beta) version, of course I selected newest and greatest , maybe that's the problem ?
  20. Hi All, Recently we installed Danalock to control our entrance door. Is it possible to add to Alexa through Fibaro? I have tried to look up the device number of times but poor Alexa couldn't find it. I am using HC3.
  21. I am very conversant with the HC2 stuff. For the HC3, the last time I looked at this a year ago, the offerings were rather disappointing with a steep learning curve. Could some one recommend A decent example of a lua scene. I am fine with the language change - I have just grepped and done global modifications on my 30 odd lua scenes. I am looking for a better explanation of the new trigger mechanism. A decent example of the new VD and any gotchas. Before I could just save the lua as a text file on pc with versioning. How are people saving the new scenes, as they come in two parts ?
  22. We have a strange situation with several RGBW (2) controllers. Customer has around 10 of those modules. Most are RGBW controller, on the latest firmware, and parameter to disable associations is on. 3 of them are RGBW2 controllers. Now, client has several scenes to change the color of the RGBW modules. This works sometimes, but on other moments when the scene is started, the LED get a completely different colour. We had this behavior when client was on HC2, we migrated to HC3 and the same thing happens So, what options do we have?
  23. QA for creating HomeTable in global variables in HC3. Why using hometable? Instalation: 1. upload this QA 2. In QA variables you can change name for hometable, name for scenes and time for regular update of hometable 3. In QA -> source files -> ManualData you can add your own data (it will be also saved in final hometable in global variables) How to read data from hometable: -- in case that your name for hometable is default=HomeTable local tbl = fibaro.getGlobalVariable("HomeTable") local HT = json.decode(tbl) -- structure for devices is <room>.<deviceName> local idQA_TV=HT.LivingRoom.TV -- structure for scenes is <ScenesName>.<sceneName> -- default value for <ScenesName> is Scenes local idSc_Lights=HT.Scenes.Lights -- structure for your own inputs from ManualData local myValue1=HT.myData1.myNameValue1 -- 0 local myValue2=HT.myData1.myNameValue2 -- "default value" Names for rooms, devices and scenes are corrected by following replaces: {["%."]="",["-"]="",["%("]="",["%)"]="",["&"]="",[":"]="",["%["]="",["%]"]="",["%+"]="",["%%"]="",["%/"]="",["%$"]=""} {["Á"]="A",["Ä"]="A",["Ą"]="A",["À"]="A",["Â"]="A",["Č"]="C",["Ć"]="C",["Ç"]="C",["Ď"]="D",["É"]="E",["Ě"]="E",["Ë"]="E",["Ę"]="E",["È"]="E",["Ê"]="E",["Í"]="I",["Ï"]="I",["Î"]="I",["Ĺ"]="L",["Ľ"]="L",["Ł"]="L",["Ň"]="N",["Ń"]="N",["Ó"]="O",["Ô"]="O",["Ö"]="O",["Ő"]="O",["Œ"]="O",["Ŕ"]="R",["Ř"]="R", ["Š"]="S",["Ś"]="S",["Ť"]="T",["Ú"]="U",["Ů"]="U",["Ü"]="U",["Ű"]="U",["Ù"]="U",["Û"]="U",["Ý"]="Y",["Ÿ"]="Y",["Ž"]="Z",["Ż"]="Z",["Ź"]="Z",["á"]="a",["ä"]="a",["ą"]="a",["à"]="a",["â"]="a",["č"]="c",["ć"]="c",["ç"]="c",["ď"]="d",["é"]="e",["ě"]="e",["ë"]="e",["ę"]="e",["è"]="e",["ê"]="e",["í"]="i",["ï"]="i",["î"]="i",["ĺ"]="l",["ľ"]="l",["ł"]="l",["ň"]="n",["ń"]="n",["ó"]="o",["ö"]="o",["ô"]="o",["ő"]="o",["œ"]="o",["ř"]="r",["ŕ"]="r",["š"]="s",["ś"]="s",["ť"]="t",["ú"]="u",["ů"]="u",["ü"]="u",["ű"]="u",["ù"]="u",["û"]="u",["ý"]="y",["ÿ"]="y",["ž"]="z",["ż"]="z",["ź"]="z"} Hometable in global variables will be overwrite only if newly generated hometable will be different. Version of QA HomeTable: 0.12 - 21.1.2021 HomeTable.fqa
  24. Hello, I'm a newbee with Fibaro. I have a Fibaro Home Center 3, and created my Fibaro ID. Once I try to integrate Fibaro into Google home, the link is not created between them 2. I tried several times, I do not have any error message... But Fibaro is not added as a service into Google home (neither as a device...). I searched for tips in the web, but nothing I found gives a solution. Do you have any idea on how to proceed ? Thank you for your help.
  25. Like to have a blockscen that turn on a switch at 06:00 and turn off att 07:15 with condition it´s before sunrise
  • Create New...