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!

 

Regards,

Smart Home Forum by FIBARO Team


Search the Community

Showing results for tags 'HC2'.

  • 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

Categories

  • Scenes
  • Virtual Devices
  • Quick Apps
  • Icons

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

  1. 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)
  2. 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?
  3. 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?
  4. 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
  5. Mogę się zalogować , obsługiwać włączniki itp , ale nie mogę zapisać sceny mam cały czas taki komunikat: acces forbidden 403 a co chodzi >??? HC2
  6. 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
  7. Hi, Lately I suddenly have to restart my HC2 (4.590) often to get the push notifications working again. Anyone have any idea why this is? Thank you in advance!! Kevin
  8. Hello everybody, I was wondering is it possible to develop a plugin for HC2, I'd like to connect my Sonoff devices to my HC. But i have to use ewelink-API but i can't import it into the Lua code. I've successfully that API into Homey app on Homey pro. I was hoping to do the same with Fibaro Home center. anyone has an idea how this could be done. Thanks in advance
  9. Hi guys I want to share my expericence in migrating and integrating a HC2 with 3 HCL. The project considered originally 4 HCL’s, and in the end the client decided that he wanted to acces only one location and control everything from there. So the next step was migrating from HCL to HC2, a process a little confusing, but in the end was working; I updated everything to firmware 4.6 and tried to add the HCL’s to the HC2, with no luck I tried from another HC2 and also no luck, (strange that another HC2 couldn´t add the HCL´s ). So I started asking for help and some colleagues recommended to test using the HC2 from scratch, (erase everything to factory restore) and that finally did the trick. I have to say that auto search didn’t work, and I had to type the IP manually. So my theory is that the migration process must have done some block configuration in the HC2 because the operating system was coming from the HCL which doesn’t allow slaves. What do you think??
  10. Does anyone know how to open the log files from the following address: - <HC_IP>/api/service/logsDump I am having some funky goings on and want to review the logs myself but when the file is downloaded from my HC2, it is a .tar.gz file and 7 zip will not open it. Can anyone help me out at all? Thanks, Hal
  11. Hello, I am trying to build a Lua script that will tell Fibaro if I am working from home, working at home or off work. Here is what I have so far but I need some help to get the scene trigger when either I am at home or at work when all the conditions have been met at the specific times. Does anyone have a similar scene or suggestions? --[[ %% properties %% events %% globals --]] local currentDate = os.date("*t"); local time=os.date('*t'); local ct=os.date('*t'),os.date("%H:%M",os.time()) if (fibaro:countScenes() > 1) then fibaro:abort(); end if ((fibaro:getGlobalValue("AndyPresentstate") == "Home") and (currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6) and ((ct>= "08:30") and (ct<"17:00")) ) then fibaro:setGlobal("Working", "At Home"); fibaro:debug("working at home"); elseif ((fibaro:getGlobalValue("AndyPresentstate") == "Home") and (currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6) and ((ct>= "17:00") or (ct<"08:30"))) then fibaro:setGlobal("Working", "Off Work"); fibaro:debug("off work"); elseif (fibaro:getGlobalValue("AndyPresentstate") == "Away" and (currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6) and ((ct>= "08:30") and (ct<"17:00")) ) then fibaro:setGlobal("Working", "At Work"); fibaro:debug("Working at Work"); end
  12. 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
  13. 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).
  14. I am confused how to make this work having only previously relied on the HC2 to perform actions. Having acquired a TKB double switch I believe the right hand paddle (which does not show up as a separate device in HC2) can operate devices associated with Group 2. However trying to link the device I want to operate (Fibaro relay) is the issue, as if go to advanced in the device under group 2 it wants me to select a device on the right to associate it with. I just want itself to be linked to group 2. What point am I not understanding here?? Thanks!
  15. Hello, ive got a question to HC2 and Triggers... I would like to set up a scene like this: if the motion detector trips between 5 a.m. and 6 a.m., the shutters should open. Is that possible in the HC2? I cant find this trigger. In HC3 is this time trigger... can help me someone or do I have to buy the HC3 because of that??? Thanks for answers Tschorden
  16. Bert_V

    Timer

    Guys and Girls, I want something in my HC2. It's no rocket sience but I can seem to make it work. Any clous? Case: I have a Fan for toilet and Bathroom (humidity and smell). One fan for both. There is a Humidity sensor in the Bathroom which I want to use to start the fan above value "X" and stop when the humidity is below value "X". BUT... When someone has used the downstairs toilet and the have pressed a button for the fan I want the fan to start for lets say 5 minuits. To prevent that the bathroom Humidity or the 5 minuts timer shut the fan down when one of the values isn't matched I want to make something like this: Bathroom, above value X = on Toilet when pressed button (in app) = on and off after 5 minuits Bathroom below value X AND timer of toilet has not been completed = OFF Toilet timer is completed AND bathroom value is below X = OFF I have been playing with Variables which seems the most logical option but there is no possiblity for a 300sec timer.... Fibaro can't be this dump to have not such possiblity so can you help me where I'm going wrong. Bert.
  17. I have two HC2 connected together (Master and Slave). Devices are properly imported from Slave to Master but when logged on to Master I don't see the proper status of the devices. Eg. Master shows the light is ON when it is OFF. The same incorrect status is seen by the Fibaro Apps connected to Master. Any way to fix it and have the device statuses permanently synchronised between the two Centrals? Thank you in advance,
  18. Having added a DoubleSwitch2 to my HC2 (4.130) recently the inclusion seems to have worked as the switches appeared and have ID's but under advanced there are no parameters showing and saying requires a template. What should I do now?
  19. so i havn't updated my hc-2 for a while, still running 4.180. finally want to do and making preperations, tried to do a local backup and system would not do backup noticed this. what to do.
  20. ISSUE 1 My Fibaro HC2 no longer has a Serial Number displayed in Recovery Mode, Configuration Tab and in the Fibaro Finder Home Center app. Obviously I know what it is, as its on the label underneath, but is there anyway I can re-enter it? - Step by Step if possible??? Perhaps that's why its not getting detected in the cloud for remote access too...? ISSUE 2 EVERY time I attempt to update the software from v4.180 to v4.530, I get the same 503 Error at the end and if I click Refresh, the error re-appears. If I choose Restart Services, it reboots the HC2 and does not complete the upgrade, still on the same version 4.180. It appears to be stuck in a Loop!! Any suggestions?? So frustrating....
  21. Hi , Anybody that could clarify/help on following my current config config : HC2 fw 4.580 univ sensor with 2 inputs detected; a scene is triggered if 1 one the inputs are tripped (works fine) 5 X fibaro flush switches , 2 inputs managing 3 lights ; a scene manages these and other lights 2 ea fibaro flush dimmers , working in association 2 flush dimmers working autonomous 1 smoke sensor fibaro; based on other comments i don't dare to put in the network 1 additional smoke semsor POPP 4001 : works perfect ; one can command the sirene and is a part of a scene now : I want to add a "smart implant " to detect a trigger from an alarm panel , Purpose is to sound the POPP sirene ( see above) when fire or smoke is detected . The alarm panel sends its output using OC outputs ; Vcc is 12v; configuration set to "N.O" (i can change) Smart Implant has a Vcc of 12V configuration of Smart Implant: input 2: Binary sensor, smoke alarm. active when NO ( see above) incident becoming a problem: whatever the output of the alarmpanel is (0v or 12V ) the value notified at the Smart Implant stays "0" ( using a small scene in a loop to retrieve the "value") Anybody an idea? Is the 12V at IN2 too high and sets the read value to 0 ? ( see other posts on the input used as analog input) Or is the Smart implant defective? txs Geert
  22. New HC3 on its way: Do I Migrate my HC2 via the transfer process or setup everything from new? I am sure many people are asking what are the pro's and con#'s of each route: Migrating Pros - Known: Sections, rooms and icons will be migrated Z-Wave devices assigned to the rooms and their icons parameters of these devices Cameras not created via plugins associations Migration Con's - Won't be transferred Scenes plugins virtual devices cameras via plugins schedules (watering & climate) Questions: If a device is transferred, does HC3 tell the device to use 500 series communications automatically and will HC2 put the device in secure mode? (All my Heating Controllers (Fibaro Thermostats) are not in secure mode as you cannot upgrade if they are in secure mode Can I force Secure mode of a device that is transferred or do I have to remove it and re-add it to enable secure mode? Are my LUA scenes compatible (Cut and Paste [Changing deviceid as needed] from HC2 to HC3)? What are the other Pro's and Con's people have seen? Any pit-falls to watch out for?
  23. I do see that some things simply does not work in the HC3 yet. For example i have a lock that does not do anything except getting assigned to the HC3. I do have a HC2 where it did work. So can i set up the HC3 to control the HC2 to control the lock?
  24. knuth

    HC3 LUA vs HC2

    In making the transfer from HC2 to HC3 based on a cloud backup (update 4.581 Beta) it is stated that "scenes will not be moved and need to be created again". That's OK, but it would be helpful when planning the transfer to know what the differences are (in syntax and available functions) between the two LUA versions. I know that the new LUA editor is documented in https://manuals.fibaro.com/home-center-3-lua-scenes/ . What I would hope to see in addition, is a side by side comparison of all the crucial differences, to enable a pre-edit of the old LUA scenes before entering them into the new editor. Something like this: If you used this in HC2 LUA: You need to do this in HC3 LUA: fibaro.debug("txt") fibaro.debug("tag", "txt") os.time() ??? etc. If we all contribute to such a table as we identify all the differences, we may be able to help each other prepare for HC3. Not all differences can easily be summarized in the simple two-column format above, however. For the new definition of conditions and triggers, it seems it would be more appropriate to give a few examples of old codes (with triggers) converted to new codes. PS: I haven't even decided to buy the HC3 yet! But getting a feel for the amount of re-programming needed to convert my scene is an important factor in making that decision. The suggested table is now shown in a pdf file attached to this post, see below. It is regularly updated as new contributions are posted. LUA HC2 vs HC3.pdf
  25. I have some Qubino Flush On/Off Thermostats for controlling electric floor heating. I'm using the HC2 with 4.580 SW. My problem is the frequency of reading the actual temperature from Fibaro room sensors, the temperature is only updated once per hour. I have asked for support from Qubino and from Fibaro but no solution offered. From Fibaro it was promissed that the template for these thermostats would be included in the next update but when that (4.580) was rolled out a few weeks later the support for these thermostats were still missing. Anyone having a clue how to get the temperature reading updated more frequently?
×
×
  • Create New...