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 'HC2'.
-
Once the alarm is activated I need to wait for the delay (60 seconds in my case) until the system is armed and THEN run a Scene. I can easily run the Scene at the same time the alarm is activated but cannot find any event or trigger for when the alarm is actually armed. Any assistance greatly appreciated.
-
Hi. I'm an experienced programmer, but a novice in LUA. 1. I have some qubino smart meters, and would like (of course) to read all the parameters they can provide. It seems to me that every single parameter in them get an ID in HC2. When I want one of the values, i use fibaro:getValue(63,'value'); But: For some of the parameters there are no ID's! So how can I get their values? Examples of missing parameters are 143: Reactive power total and 144: Power factor total How can I get to those? 2. Is there a way to get parameters based on the device parameter numbers? I'd like to use some function v=fibaro:getParameter(main id,parameter number); Is this possible? 3. Where can I find a list of legal parameter values to the getValue call? Helgemor
-
Modify global variable using REST API with HTTP.PUT
parper posted a question in Scenes and Interface
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 -
Has anyone integration their dishwasher with Fibaro HC2? I would like to be able to schedule the dishwaser to run...
- 3 replies
-
- hc2
- integration
-
(and 1 more)
Tagged with:
-
Hello, Is it posible in HC2 LUA to create global functions? I use o lot of functions over and over again and have to include them in every scene Is it possible to create functions in a centralized scene and use them from every other scene? Example: ------------------------------------------------------------------------------------ GlobalFunctions ------------------------------------------------------------------------------------ global function BeepXseconds(x) fibaro:call(42, "turnOn") fibaro:sleep(x * 1000) fibaro:call(42, "turnOff") end global function MyDebug(text, color) -- read GlobalGlob if DebugGlob = true then -- do something with formatting text, add OS.date and add colors fibaro:debug(text) end end ------------------------------------------------------------------------------------ now i can use the global functions in other scenes ------------------------------------------------------------------------------------ scene 161 - TurnAlarmOn ------------------------------------------------------------------------------------ -- do something MyDebug("Turn Alarm on", "red") BeepXseconds(5) -- do something ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------ scene 254 - Doorbell ------------------------------------------------------------------------------------ -- do something MyDebug("Someone is ringing", "BLUE") BeepXseconds(2) -- do something ------------------------------------------------------------------------------------ AND OFCOURSE I CAN CREATE SCENES AND USE THEM LIKE GLOBAL FUNCTIONS BUT PARSING VARIABLES IS NOT THAT SIMPLE, I THEN HAVE TO USE GLOBAL VARIABLES REAL GLOBAL FUNCTIONS (LIKE A LIBRARY) WOULD BE GREAT !!!
-
Hi can anyone help me please? I want to send a value from my Node-red and assign it to a Global variable value on my HC2. The Global variable i wish to update is "message" and the value is "Connection established". Tried some flows from here but always get JSON error. Hop someone can help ... Thanks
-
Hi - Brand new to this. I have an HC2 and Harmony Hub. Both were working well until recently where connection was lost. I factory reset the Harmony and attempted a reload of the Harmony Hub Plugin. The plugin loads and i am able to get the Harmony Pin. On copying and saving it to the HC2 i get the message "Undefined error" Further attempts also fail. Has anyone had this problem and is there a solutioin? Cheers Andrew
- 25 replies
-
- harmony hub
- hc2
-
(and 1 more)
Tagged with:
-
I have a Jasco in-wall dimmer (26932). When I go to add it (by selecting or deselecting every option) the device adds and it says configuration finished. But when I go to the devices they all say not configured. It turns off the switch and when motion is detected it turns the switch back on, but the motion does not indicate a breach. It also added two lights for some reason. Does anyone have advise on resolving this issue or should I try another brand of in wall dimmer? I am tired of Fibaro not being able to add all of my devices properly!! HC2 4.600 device is 2” away from antenna
-
Hi, I'm trying to find a topic about a status update on harmony elite. The remote is working fine and the integration with the plugin is amazing BUT when I turn on the activity with the remote is not updating the status in HC2. More than that when I'm turning on the activity in HC2 is working great but I need to turn it on twice to reflect the actual status. Any ideas or workaround for this issue? Thanks in advance! P.s. Solving this issue will help me later on writing some Lua scrips to integrate activities with scenes.
- 3 replies
-
- harmony plugin
- harmony remote
-
(and 1 more)
Tagged with:
-
Harmony Home Hub Extender with Fibaro HC2
litfoo posted a question in Other Devices / Third-party devices
Hi all, I searched through the forum and there does not seem to be much recent activity regarding this. Has anyone had much success in using the Harmony Home Hub Extender with Fibaro HC2 ? http://www.logitech.com/en-us/product/harmony-home-hub-extender If so, please can you share the level of success - what you have manage to achieve etc.? Many thanks -
While working from home for eight months now I had the need to toggle a light or run a scene from my Windows 10 laptop. After some Google I didn't find an app so I decided to learn basic C# and create a Windows tray application myself. The application loads your configured rooms, devices and scenes from your HC2/HC3 and puts them in a menu in the system tray. Now you can run a scene or toggle a light switch without reaching for a wall switch or your phone. ? The program looks like this: I Iearn and get a lot from the Fibaro community, therefore I made the code open source on GitHub. You can download the application from the releases page. You only need the .exe file. I don't own a HC3. If it also works on the HC3 please inform me. Than I add it to the documentation.
-
Hi people, who knows about things, I'm quite new in HC2 so might this is reason but I don't understand the logic of dashboard. I have home with 10+ rooms, regulated heating with temp-switch pairs (smoke detector + smart plug or single relay = connected device) and 2 bath-ruums with "real termostates". To monitor overview of climate system I find that Dashboard - Climate - Heating is good for overview but - only my batchrooms appear there. All rest isn't here visible. On mobiile app - all "heated" rooms (together 13 rooms) all are listed on climate view. My question - why heated rooms aren't listed on Dashboard? With bests Henn Sarv
-
Push notification from Sensative Strip
knuth posted a question in Other Devices / Third-party devices
I have installed a Sensative Strip Drip to alert me about water leaks. The device works as planned, and was recently triggered. On the HC2 it indicated "breached", and the icon turned red. But I received no push message to my phone! I know I have the push system set up, as I regularly receive messages from other units. Typically, thermostats and temperature measurements, where "possible fire" and "freezing" are indicated when temperatures exceed those limits. I must have missed something to make the Sensative Strip trigger a push message in a similar way. What do I need to do? I have not set up an alarm panel yet. Is that necessary to make such devices with alarm frames trigger push messages or e-mails? And what about third party smoke alarms - do they need to be included in an alarm panel to trigger push messages or other alerts?-
- hc2
- sensative strip
-
(and 1 more)
Tagged with:
-
I need help to understand why the below described HC2 Scene does not trigger when set to "Automatic" and the Variable "ATest" is set to "True". I can trigger the Scene manually wherafter the Device "Test" turns off as expected. Below follows the details: In order to understand the difference between "Automatic" and "Manual" and the effect of having av Scene turned "On" or "Off" in HC2, I made the following very simple test Scene in the Graphic Block editor: IF Variable "ATest" == "True" THEN Device "Test" = "Turn Off" The Variable "ATest" was created in the HC2 Variable Panel as a "Predefined Variable" with to defined values, namely "True" or "False". The Device "Test" is a Fibaro Wallplug In precise LUA code: --[[ %% properties %% weather %% events %% globals ATest --]] local startSource = fibaro:getSourceTrigger(); if ( ( fibaro:getGlobalValue("ATest") == "True" ) or startSource["type"] == "other" ) then fibaro:call(182, "turnOff"); end Any help to explain why the Scene does not turn off the device will be highly appreciated!
-
Version 3.0
694 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. -
I have used a LUA script which is triggered by pushing the switch 2 on a Fibaro switch. Depending on whether the key is pushed once, twice or held, I control another device (a light) according to set rules. How the key is pushed, is found by the variable pressSource = fibaro:getSourceTrigger().event.data. This solution has been used previously by several contributors on the forum. My current code looks like this (only first part shown): --[[ %% properties %% events 394 CentralSceneEvent %% globals --]] -- Uses first slave for "CentralSceneEvent" ID (not master, not switch itself). Here 394 local trigger = fibaro:getSourceTrigger() if (trigger.type == "other") then fibaro:debug("Scene started by clicking 'start' button") else local pressSource = fibaro:getSourceTrigger().event.data fibaro:debug("New: CentralSceneEvent received from key: " .. pressSource.keyId) if (pressSource.keyId == 2) then local ledId = "306" local ledValue = fibaro:getValue(ledId, "value") if pressSource.keyAttribute == "Pressed" then fibaro:debug("Pressed") if ledValue == "0" then fibaro:call(ledId, "turnOn") else fibaro:call(ledId, "turnOff") end elseif pressSource.keyAttribute == "Pressed2" then fibaro:debug("Pressed 2 times") fibaro:call(ledId, "setValue", "100") elseif pressSource.keyAttribute == "HeldDown" then -- etc. (complete code not shown) I now want to add a second trigger, i.e. another Fibaro switch being pushed. Depending on which switch is used, I want different lights to be adjusted. Below is my first edit (still incomplete). In line 5, the new trigger 494 is added. How do I know if the scene was triggered by 394 or 494? The answer is probably in fibaro:getSourceTrigger(), but I cannot find the complete specification for this function documented anywhere. Specifically: - How do I find whether 394 or 494 was the trigger? The syntax trigger.event.id in line 14 is my guest guess. What is correct? - Once I have the right triggerID, I can easily make the variable ledID dependent on triggerID, by having two related lists (arrays): {394, 494} for the triggers and {306, 406} for the corresponding LED lights. This needs to be implemented in line 18. Can anyone please provide a more complete specification for the data returned by fibaro:getSourceTrigger in HC2, and show me how I can use it to implement double triggers? Or are you all too busy converting to HC3? PS: I have simplified this to TWO triggers. In reality I want to have several more. But if I can do two, I can do any number. --[[ %% properties %% events 394 CentralSceneEvent 494 CentralSceneEvent -- <<--- NEW TRIGGER %% globals --]] -- Uses first slave for "CentralSceneEvent" ID (not master, not switch itself). Here 394 and 494 respectively. local trigger = fibaro:getSourceTrigger() if (trigger.type == "other") then fibaro:debug("Scene started by clicking 'start' button") else local triggerID = trigger.event.id -- <<--- WHAT IS CORRECT SYNTAX?? local pressSource = fibaro:getSourceTrigger().event.data fibaro:debug("New: CentralSceneEvent received from key: " .. pressSource.keyId) if (pressSource.keyId == 2) then local ledId = "306" -- <<<< NEEDS TO BE CHANGED TO CORRESPOND TO triggerID local ledValue = fibaro:getValue(ledId, "value") if pressSource.keyAttribute == "Pressed" then fibaro:debug("Pressed") if ledValue == "0" then fibaro:call(ledId, "turnOn") else fibaro:call(ledId, "turnOff") end elseif pressSource.keyAttribute == "Pressed2" then fibaro:debug("Pressed 2 times") fibaro:call(ledId, "setValue", "100") elseif pressSource.keyAttribute == "HeldDown" then fibaro:debug("HeldDown") -- etc. (complete code not shown)
-
Evening all. I have been having some scene issues just recently where scenes that have worked for months just stopped working so took it on myself to reboot my HC2 Black. It is now stuck on starting services. I have used the power button on the back and killed the power via the mains and nothing will get it out of starting services. I have E-Mailed support and no response as of yet. I have tried a repair is recovery mode and this has not helped. As i have 100 physical devices, i do not want to wipe the box as it would take weeks to get t back u and running. The bios loads with no errors on screen and the hc2 rests on the normal screen when booted. I have no idea how to restore from the cloud as I can't find any documentation how to carry it out. Can anyone help on this issue of starting services and also answer this question. If i wipe the hc2 and it comes back to life, how do i perform a recovery of a previous backup to the hc2? Thanks, Hal
-
- starting services
- hc2 503
-
(and 1 more)
Tagged with:
-
HC2 i rekuperator Polski reQnet jest API
vikizgoda posted a question in Other Devices / Third-party devices
Witajcie forumowicze, Rozpoczynam wątek połączenia HC2 z rekuperatoremp polskiej firmy reQnet. Dostałem od działu progrmistuów REST API do tego rekuperatora. Na tą chwilę czekam na wszystkie zabawki jak dojadą. Jeśli ktoś z Was posiada rekuperator reqnet proszę o info. Razem raźniej. https://reqnet.pl *** Hello forum members, I am starting the topic of connecting HC2 with an air ventilation unit from the Polish company reQnet. I got a REST API for this unit from the programming department. At the moment I am waiting for all the toys when they arrive. If any of you have a reqnet air unit, please let me know. Better together. https://reqnet.pl- 5 replies
-
- rekuperacja
- hc2
-
(and 2 more)
Tagged with:
-
I am trying to get my head around the use of Heating Panels in HC2. I am still a little confused, and need your help. Below, based on some testing, are some statements that I believe to be factual, but they may not be. Please confirm or correct any of them. My main concern is the lack of a way to override zone control of individual thermostats, see three statements in italics. For your reference, I have 13 HeatIt Z-trm2 thermostats, divided into three zones. When referring to apps, I mean the iPhone versions. General There are three modes: Schedule, Holiday, and Manual: · Schedule mode sets a fixed cycle per zone, based on time of day and day of week · Holiday mode sets a fixed temperature per zone, no time limit · Manual mode is not really “manual”, but a time-limited override of the time schedule (or of holiday mode) for an entire zone There is no way to control an individual thermostat manually if it has been included in a zone on the heating panel, regardless of the current mode for the zone. To allow individual adjustments, the thermostat needs to be excluded from the zone. The heating panel may not be deactivated without removing all zones and thermostats. Using the web interface Choosing Panel – Heating panel – Manage, the interface allows all operations: set or change holiday mode, define manual mode including set point and duration, define calendar and temperatures for schedule mode. Also used to define zones, and to include/exclude thermostats from these zones. If an individual thermostat device is adjusted while it is included in a heating panel zone, the thermostat responds, but returns to its mode set-point after “some time”. Using the wall-mounted thermostat display Local adjustments of an individual thermostat are reset to the mode value (same as for individual adjustments using the web interface) Using the old app Mode may be changed to “manual”, to “holiday”, and to “schedule” (by choosing “turn off”). Holiday and manual mode temperature may be set or changed. The schedule times and temperatures may not be adjusted. Individual thermostat set-points may be adjusted, but are reset to the mode value. Using the new app Holiday mode temperature may be read, but not changed. Mode may seemingly be changed to “back to schedule” or “manual”, but the latter is not available starting from holiday mode. The schedule may not be adjusted. When modes have changed using other apps or the web interface, the new app does not immediately update its list of modes per zone. Individual thermostat set-points are visible, but may not be changed (regardless of the use of heating panel).
- 3 replies
-
- heating panel
- hc2
-
(and 1 more)
Tagged with:
-
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
-
Switching the system ON only when person is inside the room
moosairshad posted a question in Scenes and Interface
Hi I want to implement a bathroom which switches lights only when a person is present inside. And it will OFF the system when no body is there. Can Anyone help me how to do this -
Good day, Is anybody facing the same problem like me? I will appreciate if you have any suggestion on this topic. I am trying to recover my HC2, but always I reach the following stage: black screen with text "Fibaro Home Center Recovery" and nothing else that I can do.... My IP is set by default to 192.168.81.1
-
Soft reconfigure changes configuration
knuth posted a question in Other Devices / Third-party devices
I have experienced this with several third-party devices, but I will use a HeatIt 32A relay as my example. I needed to soft reconfigure this device today, expecting device numbers etc. to remain unchanged. The result, however, was puzzling: The general structure of master + slave devices changed! This device has no template implemented, but I expected the end-points to remain where they were. The reconfiguration was reported as successful by the HC2, but the results were suprising. Here is a summary of what I experienced: Tree before re-configuration (685 is the master device number): 685 ----------- 685.0 On/off Device ID 686 685.0.1 Amperes Device ID 687 685.1 On/off 688 685.1.1 Amperes 689 685.2 multichannel 690 685.2.1 Temperature 1 691 685.3 multichannel 692 685.3.1 Temperature 2 693 685.4 Flooding 694 ... and here is the same device after a "successful" soft reconfiguration (scroll to see the whole list): Notice that The number of slave devices is the same, but the naming is different. I now have two devices called 685.2.1, and two called 685.3.1. The first one retained the name I had given it, rather than 685.0. Good! The device called 685.4, a flood sensor, has been moved to another location in the tree, but retained its name Some device ID numbers changed (not shown on this screenshot). The first four slaves retained the numbers 686 to 689. The flood sensor 685.4 also retained its ID number 694. But the four temperature related devices (id 690 - 693 originally) were given new id numbers (709 - 712). This is not what is supposed to happen with a SOFT reconfigure. Both structure and id numbers should remain unchanged. I have experienced the same thing with HeatIt thermostats. A soft reconfigure changes the structure, naming and some device id's, making a soft reconfigure a risky operation. What else can I do? A hard reconfigure, losing all device ID's? Keep trying a soft reconfig?-
- hc2
- reconfigure
-
(and 2 more)
Tagged with:
-
Has anyone also experienced the disappearance of devices suddenly. It happened to me twice with a Fibaro motionsensor and it was not the same device. I came to notice it yesterday evening when suddenly the lights were not responding, at first I performed a restart of the HC2, but that did ofcourse not help. Looking deeper into the devices and remembering from a while ago, I saw one motionsensor was missing. After adding it again (I did not had remove it) everything was fine again, scenes running with no errors. What can be the cause for devices to be removed from the HC2?
-
Hi, I have several problems to get my HUE lights working white my Fibaro HC2. I have made a scene for my bathroom just to turn on and off the light in combination white a motion sensor. This is working fine but the light is always changing back to the warm color after about 24 hours. So i like to set the color by a LUA command. I used the debug function for the settings (see below) --[[ %% properties %% events %% globals --]] fibaro:debug(fibaro:getValue(162, "ui.brightness.value")) fibaro:debug(fibaro:getValue(162, "ui.saturation.value")) fibaro:debug(fibaro:getValue(162, "ui.hue.value")) If i change the Brightness on the HUE app the value changed. But the saturation and HUE value doesn't change at all. Whats the problem? is it a error of the Hue bridge (square one) or anything else??? This Youtube example looks oke to me: All you input is welcome and of course i can provite more information if necessary. Thank you in advance. Michel