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!
Regards,
Smart Home Forum by FIBARO Team
Search the Community
Showing results for tags 'hc3'.
-
Version 3.0
698 downloads
This is JavaScript code, which displays debug information (in parallel to code development) at full screen on desktop (supports HC2 and HC3 controllers) Main purpose is to support scenes where debug information is in HTML format, like All-in-One Scene, Z-wave monitor/viewer, Z-Range analyzer . All other formats will be displayed in same format as in debugger window. Since HTML format is not supported by HC3 and debugger window is too small, it could be a helpful alternative for better view and debug your code. In many cases variables values include a lot of information (like jSON table) and it couldn't be reviewed by HC interface, this application offers to display Global variables (including QuickApp variables) on "big" screen. Follow information and features are supported: Display debug information of selected scene. (HC2) Display scenes debug information filtered by messages tags including levels (trace, warning,error). (HC3). Note: Currently all scenes print info in same debugger. Issue reported to Fibaro Group - in Progress. Start scene. (HC2/3) VD main and buttons' debug information. (HC2) Select and Press VD button. (HC2) Display current value of selected global variable. (HC2/3) QuickApp debug information. (HC3) . Note: Currently when debug info is loaded it clears debug info from HC3 debugger window. Display current value of selected QuickApp variable. (HC3) Turn On/Off (toggle method) QuickApp (HC3) Select and Press QuickApp button. (HC3) Note: Since HC3 doesn't support HTML format anymore, this is the only option to view and analyze information on upcoming All-in-One Scene and Z-wave monitor applications. After downloading the file please remove .txt extension. Currently supported browser are Firefox, Chrome or IE browsers. Recently Java Scripts are blocked by Cross-Origin Resource Sharing (CORS) mechanism, please download Disable CORS file for further instructions how to disable CORS. How it works: Before execution, open the file to define HC IP-address and HC3 transfer protocol at User Configurable Parameters // ============= USER CONFIGURABLE PARAMETERS ================ var hcip={"HC3":"192.68.0.10","HC2":"10.0.0.69"} var protocol={"HC3":"https"} On first run, login information will be required. (To keep your credentials secured, login data is not stored in file ) Application interface is very simple and self-guided. Select controller: HC2 or HC3 Select item : Scene, V Device, Variable, QuicpApp... Select item of previous selected section. Press "Reload" button to load debug information. By checking debug checkbox, API executed commands are shown. 1. If scene selected "Start" button appears. 2. If V Device selected list of available buttons shown and "Press" button appears. 3. If QuickAppDevice selected, list of available buttons shown. "Press" and "Toggle" buttons appear. By pressing "Toggle" button, QuickApp will turned ON or OFF in sequential order. 4. If Variables selected,list of available variables shown. By selecting the variable, his current value displayed. -
Hello I'm new to making scenes in HC3, -just bear with me. Thought to start with some simple things like Trigger and Conditioning. Have a source I want to get a message if the temperature is above 9 degrees But the scene is running even though the temperature is below 9 degrees (see picture) Have tried to read on how to do. Feels like it's a simple thing I am missing I have also the same problem with freezer (not unexpected but i guess ) But i would like to have that on -18 in stead
-
Two nights ago i received over 100 mesages about the battery low level at a door sensor from my home. After i arrive home i login into the web interface and at that door sensor i unchek the notification for the battery down but the emails still arrive with this warning. From the web interface i did a reboot the HC3. After the reboot the HC3 made himself a autorepair or something like that, and after made himself an auto backup then didn't start and stuck on the rebooting. Ive pluged out and in from the power after 20 minutes of waiting and now i only see few fibaro devices and most of the devices that was installed are gone. Also can't see any device in the mobile app. Made a ticket yesterday morning but didn't receive an answer yet. Anyone know were the autobackup was made? Because in web interface i cant fiind any backup from that night.
-
I'm really a noob with QA, and I've spent already hours and hours looking for a solution of my problem. Because HC3 does not yet support Somfy RTS, I want to control my Somfy roller shutters using Domoticz. I can easily operate them from Domoticz, and I can operate them also by an URL like http://192.168.1.138:8080/json.htm?type=command¶m=switchlight&idx=52&switchcmd=(On, Off or stop) How can I integrate this in the standard QuickApp for the roller shutters? This QA has the following code: -- Roller shutter type should handle actions: open, close, stop -- To update roller shutter state, update property "value" with integer 0-99 function QuickApp:open() self:debug("roller shutter opened") self:updateProperty("value", 99) end function QuickApp:close() self:debug("roller shutter closed") self:updateProperty("value", 0) end function QuickApp:stop() self:debug("roller shutter stopped ") end -- Value is type of integer (0-99) function QuickApp:setValue(value) self:debug("roller shutter set to: " .. tostring(value)) self:updateProperty("value", value) end -- To update controls you can use method self:updateView(<component ID>, <component property>, <desired value>). Eg: -- self:updateView("slider", "value", "55") -- self:updateView("button1", "text", "MUTE") -- self:updateView("label", "text", "TURNED ON") -- This is QuickApp inital method. It is called right after your QuickApp starts (after each save or on gateway startup). -- Here you can set some default values, setup http connection or get QuickApp variables. -- To learn more, please visit: -- * https://manuals.fibaro.com/home-center-3/ -- * https://manuals.fibaro.com/home-center-3-quick-apps/ function QuickApp:onInit() self:debug("onInit") end I found a step by step tutorial, but only for the HC2:
-
Philio 2 in 1 sensor (PAT02-1B) in HC3?
corm posted a question in Other Devices / Third-party devices
Hi Has anyone got the Philio 2 in 1 sensor (PAT02-1B) working in HC3? It should be compatible with HC2 as far as I've read. But when I add it to my HC3 it fails to configure -
fibaro.call can't sent a class object to another QuickDevice
NLWaard posted a question in Home Center 3
Locally I can place the current class (self) in a variable and call an Object in this class. This code is working (localy): function QuickApp:onInit() local sender = {value='Yes', class=self} sender.class:localPrintValue(sender.value) end function QuickApp:localPrintValue(value) if value == nil then value = 'No' end self:debug('Can I print this : '..value) end [15.09.2020] [13:22:42] [DEBUG] [QUICKAPP105]: Can I print this : Yes If I send this variable to another class using fibaro.call(id, 'action', variable) , the call disappears into the darkness. Calling the Object in the other class(QuickApp) results in calling the nil value? !!! This next code is (because of the class=self) not working: fibaro.call(qaID,"updateMyProperty", {value=newValue, class=self}) function QuickApp:updateMyProperty (sender) local value = 0 if type(sender) == 'table' then -- Call comes from elsewhere.. value = sender.value self:debug('Device updated from: '..tostring(sender.class.id)..'.'..tostring(sender.class.name)..' with value: '..tostring(value)) else value = sender self:debug('local call, with value: '..tostring(value)) end end This is a pity because I would like to indicate in the called class where the call was coming from. Now I solve this by sending a table with : sender = {id=self.id, name=self.name, value=newValue}. Do I do something wrong? or has Fibaro disabled the oop function for sending object classes? -
Hello, I have a problem. After some time, when playing is stopped, Quickapp can't refresh fcPlayerStates and prompts :error fcPlayerStates: "Operation canceled". I'm using your app since 2 weeks or so, and that's the first situation of debug error. Similar situation was appaired when ieast device was disable and disconnected. Bart
-
To share with you! I just found out that the Fibaro QuickApp and Scene editor also supports shortcut keys. A command pallet can be called with the F1 key. Important shortcut keys for me, are: 'Select All Occurrences of Find Match' (Ctrl + Shft + L), 'Troggle Line Comment' (Ctlr + /) 'Add Cursor below' (Ctr + Alt + DownArrow). Also handy, is the 'surround with' function. Select a word and type ', (, [, { and so on. Then the editor will automatically enclose the word with this character ?. If you want more information about the Monaco Editor, use in the editor (Alt + F1, Ctrl + H) to open the Monaco Editor Accessibility Guide... In the appendix you will find an Excel list with all the editors keys shortcuts!! Fibaro Editor Short cuts.xlsx
- 1 reply
-
- 1
-
-
- key shortcuts
- editor
-
(and 1 more)
Tagged with:
-
Is there a way to cancel "callback" scheduled using `setTimeout` in QuickApp? Something like i.e. `clearTimeout` known from JS world? The `setTimeout` does not seem to return a value, but maybe there's some trick.
-
Hello Community, Quick question, hope you could help After trying a QA for managing my lights, it looks like the HC3 didn't like it. Don't know why but the code has put some mess. HC3 keeps restarting, then going in automated repair with, truly, 2 sources (A & B) of the same issue but with two different OS version... It finally restart but reboots again after a few seconds. No trace in logs of an issue. I'm turning in round. My question, if i do a factory reset and then reconnect my account to the box, will i see my former cloud backups and be in a position to restore a "c" version ? (older)? thanks in advance for your answers, getting mad. br mathias
-
Converting Block scene with interactive push into Lua uses `api.post("/mobile/push"` call. Yet there's no documentation for this endpoint in Swagger. Anybody happens to know more about it? Options? I can partly reverse it from what's possible in Block scene, but I suppose there's more. HC3 with 5.040.
-
Is making sences the only way to assign commands to The button? In HC2 i was able to assign commands directly on the button, if im remembering it right.
-
Is it possible to write a (one) trigger for the HC3 scene that responds to all devices, whose interfaces are light. I don't want to write for every light device a trigger.. What I've tried, and it doesn't work is: { operator = “all”, conditions = { { type = “device”, property = “value”, operator = “anyValue”, isTrigger = true } } } OR id= Or id = {45, 46}, --omit altogether and hard to maintain OR id= fibaro.getDevicesID Or id = fibaro.getDevicesID({ Interfaces = {“light”,}, Properties = { dead = false,}, Enabled = true, Visible = true }), And changing 'device' to 'interfaces' or 'interFaces' doesn't work either. { operator = “all”, conditions = { { type = “interfaces”, property = “value”, operator = “==”, value = “light”, isTrigger = true } } } The only code that's working is: But, this trigger is only for 2 devices, and I have a lot more.... And I don't like it because it's hard to maintain.. { operator = "any", conditions = { { type = "device", id = 45, property = "value", operator = "anyValue", isTrigger = true }, { type = "device", id = 46, property = "value", operator = "anyValue", isTrigger = true } } } Can someone help me with this? please!
-
Hi Some problem with understanding Lua in the new HC3 , Trying to find out how Global variable works. What is it i am doing wrong fibaro.setGlobalVariable("c","1") fibaro.debug("Scene16", fibaro.getGlobalVariable("c")) I am trying to find out as in HC2 a Variables Panel but can not find it. Please advice
-
Hi, I'm new to Fibaro (HC3) and just finding my way around things. I've seen some reference in other forums that Quick Apps (buttons / controls) are not currently available in the Home Center mobile app - is this correct and still the case? Seems like a pretty basic requirement to be able to use Quick Apps doesn't it, or am I missing something? Otherwise, what is the point of them and how do you use them from your mobile other than building individual scenes for each action you want to take with it? Is anyone aware of a mobile app update on the horizon soon which will allow control of Quick Apps from the mobile app UI? Thanks
-
I have deleted multiple aeotec mulitsensor 6, but they are still configured in the HC3 hub. They switched to hidden after i removed them, but are unable to remove them. I have tried to reset the hub. Is there i way to force them. Should it not be a trashbin next to device to force remove? if so that is missing.
-
Hello, I'm a newbee with Fibaro. I have a Home Center 3, and I have configured it with rooms and devices. It seems to work properly using a connection via home.fibaro.com in my browser (I'm able to switch on and off my lights for example). But I'm facing an issue with the Home Center android app. Once connected with my fibaro ID, I'm not able to see any rooms or devices. I only use one user (the admin one) which is linked to my fibaro ID. I tried several ways, and search for tips into the web, but did not find any clue. Could you please help me to find what is the solution ?
- 2 replies
-
- hc3
- home center 3
-
(and 1 more)
Tagged with:
-
After adding Aeotec multisensor 6 to the HC3 the HC3 recognizes the Aetec MS6. The MS6 does not send any values. All remains at 0. HC3 does come up with a template for the parameters however changing the parameters is impossible, they remain at 0. Thanks, Willem Bousema Switching from HC2 to HC3
-
Hello I wrote a QuickApp for controlling my Sony Bravia TV but I can´t find it in the Android app?
-
Hello I'm new at lua programming and trying to use a variable to change light on or off, from a second button. But i can't get the variable to work. What is wrong here. Declaration { conditions = { { id = 187, isTrigger = true, operator = "==", property = "state", type = "device", value = false } }, operator = "all" } Actions local Status_186 = fibaro.getValue(186, "value") if Status_186 == 'ON' then fibaro.call(186, 'turnOff') else fibaro.call(186, 'turnOn') end
-
WITAM. MAM PYTANIE ODNOŚNIE IKON ROLET W APLIKACJI MOBILNEJ OBSŁUGUJĄCEJ HC3. MIANOWICIE IKONY POKAZUJĄ INNY STAN ROLET NIŻ JEST FAKTYCZNIE (PRZY OTWARTYCH IKONA POKAZUJE ZAMKNIĘTĄ ROLETĘ I NA ODWRÓT), DOTYCZY TO WSZYSTKICH POMIESZCZEŃ. W WERSJI KOMPUTEROWEJ I W SAMYM HC3 FUNKCJA DZIAŁA PRAWIDŁOWO. CZY KTOŚ SPOTKAŁ SIĘ Z TYM PROBLEMEM I JAK GO ROZWIĄZAĆ?
-
I am building a small app (in Flutter) that needs to get data from the API of my HC3. I am not quite sure how to log in programmatically from within this app. Does the API provide a token to use with all requests, or do I need to provide username and password with each request? An how do the header have to look? Many thanks!
-
Good evening everyone, .. I'm sending the first "taste" of the upcoming plug-in for iEAST. The purpose is to be able to establish LUA actions on the plugin and control the streamer from HC3 and its elements (tested by scene control from the NodON button). The primary purpose of this "Lite" application is to easily configure 6 Internet radio presets and name them so that a less knowledgeable user does not have to interfere with the code. As a bonus, there is control of this stream player, for example from a DLNA source. By no means does the app have any ambition to replace the original smart app on the phone / tablet. QuckApp is still in the BETA phase. I have test buttons here and some ready-made buttons for future use (master / slave multiroom, etc.). Furthermore, the test buttons "Test" for DEBUG (listing variables and JSON decoded values). I may need to modify the code, so I'll be happy if you test it and possibly send some info. I need to resolve some things about JSON some request. Still a picture, I'm working on the documentation. eM. Edit: Edited image description - Picture with Artist: Unknown, without the URL stream - this is real SLAVE speaker (you can configure from his own APP) - Picture with ERROR - some error with streamer Slave2 (not connected to the LAN) - Picture with Artist: ACDC - Actualy playing music from NAS - playing on the slave1 streamer - Picture with Artist: Unknown - Internet Radio from public stream - playing on the master streamer Configuration point Edit: 20200621 - New look. I'm just finishing the documentation before the release. The FCx3 button is switchable depending on the DEBUG mode. The play/pause button is a toggle switch.
-
Hi everybody, I seem to be stuck in my search how to implement a (large) mobile popup, triggered in a LUA scene in HC3. I found this example for HC2: https://manuals.fibaro.com/knowledge-base-browse/how-to-create-mobile-pop-up/ This is actually what I want to create, a large popup with buttons and actions connected to it. But the example (obviously) does not work in HC3. I am using the following code and the fibaro.homeCenter.notificationService.publish function with type set to MobilePopupNotification as described in https://manuals.fibaro.com/home-center-3-lua-scenes/ local function popupMessage(message) local request = { type = "MobilePopupNotification", priority = "warning", data = { title = "Door(s) Open", text = message, } } local response, code = fibaro.homeCenter.notificationService.publish(request) fibaro.debug("Scene109", json.encode(response)) fibaro.debug("Scene109", code) end The debug responses are: for response: {"data":{"title":"Door(s) Open","buttons":[],"text":"Alarm in kelder en begane grond armed"},"created":1586512755,"type":"MobilePopupNotification","id":208,"priority":"warning","wasRead":false,"canBeDeleted":true} for code: 200 My Notification page in the web interface displays the warning as "Notification title" but no mobile notification is received. I also had this scene running with fibaro.alert() but that did not give me the desired large popup, only a smal one with limited text and not button options. BTW: I couldn't get the button functionality to work in any way. Tried arrays, objects, array of objects, object of objects etc but always got an error code 400 or simply a load error code ((load):34: unexpected symbol near '[') So, can anybody point me in the right direction, or tell me if what I want is possible in HC3? Thanks a lot
- 2 replies
-
- mobilepopupnotification
- lua
-
(and 1 more)
Tagged with:
-
Witajcie, w nowej wersji jest obsługa napędu NICE i po zaprogramowaniu nawet działa :-). Niestety tylko w przeglądarce, w aplikacji w ogóle nie widać tego włącznika.