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 'scenes'.

  • 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 a New HC Lite, and i have started to add Devices and setting scenes. I try first With a motion sensor, that i want to start a wall plug. I have created a scene, see photo. When i start the scene using the play button, the wall plug turn on light, and after 60 Seconds it turn off. But - when there is movement in front of the motion sensor - nothing happens, light will not turn on. Often the play button is also in pause, even if i have put X that it will not allow alarm to stop scene. Anyone who can give me hint or tips for what i am doing wrong here? I want the system to og on "loop" so every time the motion sensor is trigged the light will turn on.
  2. L.S. I'd like to request the functionality to open device or a scene by clicking on the device/scene icon, instead or next to the small wrench. This will make working with the devices and scenes much easier. Best regards, Bodyart
  3. Hi, Wondering if there is a way to mix scenes and devices in one tab perhaps the overview screen ? I want my elderly mother inlaw to access lighting and a couple of devices. I can do what i need through a scene, there's only a couple of switches she needs access to and I have an iphone kicking around. my thoughts were to have just one screen with scenes required and a couple of devices, but I don't want her to have to scroll through tabs etc .. I know I can restrict what she sees with her access but can we mix them up any way ? If not, I'll have to run a local web page for her and just have the commands on that I suppose. Cheers, al.
  4. Hi I am trying to set automatic scenes in my bathrooms so lights will come on a certain level depending on the time of day which I have setup using simple scenes - example below: This works fine and i have variable to switch from day and night, however I would like the ability to override this as the kids get annoyed when they are in the bath and the lights go off. is there a way to change the variable on pressing the light switch button On which would change the variable to override and then when the light switch if switched off change the variable back to day or night based on timings? Any help would be greatly appreciated.
  5. Solved. stupid mistake by myself.....
  6. Dear All, I've installed 3 Fibaro Smoke sensors fgsd-002 throughout my home and have them connected to Domoticz; allong with some other zwave devices. Now i am a bit stuck with regards to integrating them in scenes i want to make. Do i have to make virtual switches for them, if yes, which type and how to know you did it right? Are they setup from the factory to send some kind of notification to domoticz triggering what? I suppose many home automators are using the software, also integrating Fibaro sensors? Tips for getting to know the software/tutorials for a non-IT background are most welcome! Cheers, Q
  7. Hey guys, I thought it would be a nice idea to share some of the new scenes which people are using. This way it could potentially give people inspiration on what the system can do while also helping people with similar scenes to perfect them of use them in a more efficient way. So I suppose I will start... Today I have put together a lighting scene, it took quite a while because it's two scenes per room. I started by adding 3 variables called time: Day, Dusk & Night. I have set a scene to trigger the variable depending on the time, so Daytime starts at 8am, Dusk becomes active at dusk (set by Fibaro's time clock) and finally night becomes active at 10pm. The break down is: Day - No lights Dusk - Lights at 100% brightness Night - Lights at 10% brightness I have attached the block scenes below. I can't wait to see what you have all been up to with your HC.
  8. Hi, It would be great to have a LUA function collection (maybe as a new Panel?) where we could store reusable functions, making them globally available. I'm doing a lot of custom automation and ended up having a collection of functions that get copy/pasted in scenes but as any developer would find, this is very error prone and makes maintenance extremely problematic. It would be great if we could create new functions as part of a collection namespace and have them available in all scenes. Any change to one of the functions would propagate to all usages. As a MVP for this feature, even a simple editor somewhere where we could drop all functions would be fine, as long as those functions are available in scenes. If there is a better way of currently achieving this, please let me know and close this topic. Much appreciated, Romeo
  9. I understand that the plugin in HC2 is only to enable manual control of lights from the HC2 and from the Fibaro App. Are there any other ways I could include one or more hue lights into scenes? Any coding? Anything else before I have to throw a large investment I made in hue lights or instead the Fibaro one? Many thanks for your support.
  10. Like several other users, I struggle to customize the Fibaro (iPad) mobile app to suit my needs. The graphical looks is superb, but we are in great need of better configuration and shortcut functionalities. Too many clicks are needed to access the most frequently used devices, scenes or rooms. Too much fancy graphics that will impress my friends, but confuse and annoy my wife. The widgets are however a start and bring scenes to the immediately accessible surface, but it's only a start. Here are a few improvement proposals (or questions, if I have missed some already available obvious solutions). (1) Why limit the number of available widget slots to 6 ? My iPad has a huge fancy empty dark blue screen. I would gladly sacrifice the energy graph or some other elements of graphically pleasing looks but dubious information value. (2) I need to get some of my VDs to the surface. Widgets are limited to Scenes. Any chance I have missed something? (3) I need the icons of the widgets to reflect status. I have found no way to dynamically change this. LUA fibaro: getSelfId() can only pick up VD IDs as far as I been able to confirm. Any solutions out there? Just one simple example: I have a great VD which changes the heating scheme from "Scheduled" to "Holiday" to "Home" status. VDs change icons dynamically. No way to bring this to the dashboard. A bit irritating.
  11. Hi I have problem making scenes for my light outside and hope someone can help me I have one dimmer, one motion detection and light sensor. When it gets dark the light should turn on 30% with the dimmer. If there are some motion the light should go to 90% on the dimmer. After 3 min after last motion it should go again to 30% on the dimmer. When it gets bright again the light should turn off. Gunnar H.
  12. Hey.... Im having problems setting up scenes?? Any support available for this? Thanks
  13. I suddenly have a small problem with my HC2. I have approx 50-60 devices. All kinds of devices like, dimmers, wallplugs. relays, thermostats, rollershutters, sirens, garagedoor controllers etc. Suddenly out of nowhere allmost all my devices change state when some scenes are running. I have made no changes. The scenes are simple block scenes that turns on or off some light in the morning/evening triggered by a timer and a variable. They have been running like this for months. Suddenly when this scenes are triggered all my devices change state. Blinds closes, garagedoors opens, light are turned on. What can cause this? Have tried to restore and older backup. Did not help. Are running ver. 4.130. Anyone have an idea?
  14. Hi , I am using both HC2 and HCL in master slave mode. and i tried to activate alarm panel to take actions in arm mode. first, i selected emergency lights , close blinds and send notification and tested it and it worked good. this situation was before adding any other scenes to the system. i activated the alarm panel in the HC2 (master controller) only . After adding several scenes ( Ex: scenes to open and close lights according to motion detection and LUX in several areas ) , i tried to re test the alarm panel by arming the motion sensors in my system and try to breach any of them. when i did so in the 1st trail only the blinds closed but no notifications sent and the emergency lights did not work as well. i tried to reset the alarm panel and deactivate all actions and re enable it again. when i did so nothing of actions took place. Hint : i have several scenes take place several rimes and always there is notification to alarm that that scenes run sequently more than the number of runs i set in each scene ( 10 times ) my question : is this delay due to these scenes which run a lot or this is a bug in system ? i am using the latest update in both controlled ( not the beta one )
  15. This is feature request with low priority. So i will post it only on forum Better function of clipboarding from debug windows from VD debug window and LUA scene debug window. How it is now works: Succesfull clipboard: Hold left mouse button to select some debug lines and then ctrl+C for copy, while left mouse button is held down. Unsuccesfull clipboard: Hold left mouse button to select some debug lines, release mouse button and then ctrl+C for copy, while left mouse button is holded. What is requested: Hold left mouse button to select some debug lines, release mouse button and then ctrl+C for copy, while left mouse button is holded.
  16. Hi All, Probably a really stupid question and i think i know how to resolve this, But with my scenes i get notifications telling me "Too many Instances" - I know on the scene you can type in the max number of instances - however what does this actually mean ?, I can run it more than "2" times or whatever the prescibed max number is. I'm assuming this is one of those things you want to set a parameter up that zeros it on a daily basis ? however have no idea how to do this, anyone able to walk me through an example please. Thanks in advance
  17. Hello guys, Am I wrong or JSON body (in REST API) changed its structure in 4.122? I just came to it by testing Zipato RFID keypad in block scenes and wondered why it's not working . I believe, that Triggers and Action werent there on 4.120? Can anybody chcek it? I have 4.122 everywhere and i don't want to downgrade. Also i do not thing, that using capitals in in property values in an API is good idea. See property "runConfig". { "id": 114, "name": "test", "type": "com.fibaro.blockScene", "roomID": 0, "iconID": 5, "runConfig": "DISABLED", "alexaProhibited": true, "autostart": false, "protectedByPIN": false, "killable": true, "killOtherInstances": false, "maxRunningInstances": 2, "runningInstances": 0, "instances": [], "runningManualInstances": 0, "visible": true, "isLua": false, "properties": "", "triggers": { "properties": [ { "id": 549, "name": "value" } ], "globals": [], "events": [], "weather": [] }, "actions": { "devices": [ 549 ], "scenes": [], "groups": [] }, "liliStartCommand": "\"\"", "liliStopCommand": "\"\"", "sortOrder": 135, "lua": "--[[\n%% properties\n549 value\n%% weather\n%% events\n%% globals\n--]]\n\nlocal startSource = fibaro:getSourceTrigger();\nif (\n ( tonumber(fibaro:getValue(549, \"value\")) == 255 )\nor\nstartSource[\"type\"] == \"other\"\n)\nthen\n\tfibaro:call(549, \"secure\");\nend\n\n", "html": "<span id=\"hiddenFields\">\n<input name=\"lastAddedGroup\" id=\"lastAddedGroup\" type=\"hidden\" value=\"5\">\n<input name=\"lastAddedElementGroup_1\" id=\"lastAddedElementGroup_1\" type=\"hidden\" value=\"3\">\n<input name=\"thenBlockPosition\" id=\"thenBlockPosition\" type=\"hidden\" value=\"2\">\n<input name=\"lastAddedElementGroup_2\" id=\"lastAddedElementGroup_2\" type=\"hidden\" value=\"1\"><input name=\"lastAddedElementGroup_3\" id=\"lastAddedElementGroup_3\" type=\"hidden\" value=\"3\"><input name=\"lastAddedElementGroup_4\" id=\"lastAddedElementGroup_4\" type=\"hidden\" value=\"1\"><input name=\"lastAddedElementGroup_5\" id=\"lastAddedElementGroup_5\" type=\"hidden\" value=\"0\"></span>\n<div class=\"SceneAreaSection\" id=\"sceneGroup_1\">\n<span id=\"sceneGroupList_1\"><img class=\"scene_bracket_left\" id=\"group_1_element_0\" src=\"../img/bracket_left.png\"><div class=\"scene_device\" id=\"group_1_element_1\" name=\"group_1_element_1\"><input name=\"elementtype_group_1_element_1\" id=\"elementtype_group_1_element_1\" type=\"hidden\" value=\"device\"><input name=\"elementid_group_1_element_1\" id=\"elementid_group_1_element_1\" type=\"hidden\" value=\"549\"><div class=\"scene_device_head\"></div><div class=\"scene_device_centrum\"><div class=\"scene_device_dropdown\"><a onclick=\"xreopenAddDevicesWindow(1, 1, 'editScene'); return false;\" href=\"#\"><span class=\"txt\" id=\"deviceName_group_1_element_1\">Klávesnice</span><img style=\"margin: 8px 0px 0px 10px; float: left;\" src=\"../img/dziubek.png\"></a></div></div><div class=\"scene_device_tail\"></div></div><div class=\"scene_order\" id=\"group_1_element_2\"><input name=\"elementtype_group_1_element_2\" id=\"elementtype_group_1_element_2\" type=\"hidden\" value=\"operator\"><input name=\"elementid_group_1_element_2\" id=\"elementid_group_1_element_2\" type=\"hidden\" value=\"549\"><div class=\"scene_order_head\"></div><div class=\"scene_order_centrum\"><select name=\"select_group_1_element_2\" class=\"scene_order_dropdown\" id=\"select_group_1_element_2\" onchange=\"onSelectChange(this); onOperatorChange(this);\"><option value=\"4\">==</option><option value=\"29\">Není rovno</option></select></div><div class=\"scene_order_tail\"></div></div><div class=\"scene_action\" id=\"group_1_element_3\"><input name=\"elementtype_group_1_element_3\" id=\"elementtype_group_1_element_3\" type=\"hidden\" value=\"deviceValue\"><input name=\"elementid_group_1_element_3\" id=\"elementid_group_1_element_3\" type=\"hidden\" value=\"13\"><div class=\"scene_action_head\"></div><div class=\"scene_action_centrum\"><select name=\"select_group_1_element_3\" title=\"Zavřeno\" class=\"scene_action_dropdown\" id=\"select_group_1_element_3\" style=\"float: left; \" onchange=\"onSelectChange(this);\" data-device-type=\"com.fibaro.doorLock\" data-device-id=\"549\"><option value=\"12\">Otevřeno</option><option selected=\"selected\" value=\"13\">Zavřeno</option></select><select name=\"doorLockUser_group_1_element_3\" class=\"scene_dropdown\" id=\"doorLockUser_group_1_element_3\" style=\"margin-left: 8px; display: none;\" onclick=\"reGenerateDoorLockUsersOptions(this, 549)\" onchange=\"onSelectChange(this);\"><option selected=\"selected\" value=\"0\">Jakýkoliv uživatel</option></select><span id=\"handValue_group_1_element_3_RGBW\" style=\"display:none;\"><span class=\"Txt scene_RGB_label\">R:</span><input name=\"handValue_group_1_element_3_R\" class=\"scene_input rgbw_input\" id=\"handValue_group_1_element_3_R\" onkeyup=\"onInputChangeDevice(this,549);\" type=\"text\" value=\"0\"><span class=\"Txt scene_RGB_label\">G:</span><input name=\"handValue_group_1_element_3_G\" class=\"scene_input rgbw_input\" id=\"handValue_group_1_element_3_G\" onkeyup=\"onInputChangeDevice(this,549);\" type=\"text\" value=\"0\"><span class=\"Txt scene_RGB_label\">B:</span><input name=\"handValue_group_1_element_3_B\" class=\"scene_input rgbw_input\" id=\"handValue_group_1_element_3_B\" onkeyup=\"onInputChangeDevice(this,549);\" type=\"text\" value=\"0\"><span class=\"Txt scene_RGB_label\">W:</span><input name=\"handValue_group_1_element_3_W\" class=\"scene_input rgbw_input\" id=\"handValue_group_1_element_3_W\" onkeyup=\"onInputChangeDevice(this,549);\" type=\"text\" value=\"0\"></span><select class=\"scene_order_dropdown hidden \" id=\"handValue_group_1_element_3_property_value\" style=\"margin-left: 10px;\"></select></div><div class=\"scene_action_tail\"></div><div class=\"scene_time_centrum\"><div class=\"scene_time_dropdown\" style=\"float: left; padding: 2px 10px 2px 8px;\"><input name=\"valueTime_group_1_element_3\" class=\"scene_input\" id=\"valueTime_group_1_element_3\" style=\"width: 40px;\" onkeyup=\"positiveNumbersOnly(this); onInputChange(this);\" type=\"text\" value=\"0\"><span class=\"txt\" style=\"margin: 2px 0px 0px 4px;\">s</span></div><div class=\"scene_time_tail\"></div></div></div></span>\n<div class=\"scene_add_remove\">\n<a title=\"Odebrat poslední prvek\" id=\"deleteButtonGroup_1\" onclick=\"xremoveElementFromScene(1, document.getElementById('lastAddedElementGroup_1').value, 'editScene'); return false;\" href=\"#\"><img style=\"float: left; margin-right: 10px;\" src=\"/fibaro/img/remove.png\"></a>\n<a title=\"Přidat další prvek\" id=\"addButtonGroup_1\" onclick=\"setNoLua(); setLua(0); setClickedPosition(this); xgenerateFullMenu(1, 'editScene'); return false;\" href=\"#\"><img class=\"addButtonGroup\" style=\"float: left;\" src=\"/fibaro/img/add.png\"></a>\n</div><img class=\"scene_bracket_right\" id=\"group_1_element_bracket_right\" src=\"../img/bracket_right.png?v=1494339732339\">\n<div class=\"hr0\"></div>\n</div>\n<div class=\"SceneAreaSection\" id=\"sceneGroup_2\"><span id=\"sceneGroupList_2\"> </span><div class=\"scene_order\" id=\"group_2_element_1\"><input name=\"elementtype_group_2_element_1\" id=\"elementtype_group_2_element_1\" type=\"hidden\" value=\"operator\"><input name=\"elementid_group_2_element_1\" id=\"elementid_group_2_element_1\" type=\"hidden\" value=\"3\"><div class=\"scene_order_head\"> </div><div class=\"scene_order_centrum\"><select name=\"select_group_2_element_1\" title=\"A\" class=\"scene_order_dropdown scene_order_dropdown_operators\" id=\"select_group_2_element_1\" onchange=\"checkSceneOperatorChange(2); onSelectChange(this);\"><option value=\"1\">A</option><option value=\"2\">Nebo</option><option selected=\"selected\" value=\"3\">Pak</option></select></div><div class=\"scene_order_tail\"> </div></div><input name=\"selectOldValue_group_2_element_1\" id=\"selectOldValue_group_2_element_1\" type=\"hidden\" value=\"3\"></div><div class=\"SceneAreaSection\" id=\"sceneGroup_3\"><span id=\"sceneGroupList_3\"> <img class=\"scene_bracket_left\" id=\"group_3_element_0\" src=\"../img/bracket_left.png\"><div class=\"scene_device\" id=\"group_3_element_1\" name=\"group_3_element_1\"><input name=\"elementtype_group_3_element_1\" id=\"elementtype_group_3_element_1\" type=\"hidden\" value=\"device\"><input name=\"elementid_group_3_element_1\" id=\"elementid_group_3_element_1\" type=\"hidden\" value=\"549\"><div class=\"scene_device_head\"></div><div class=\"scene_device_centrum\"><div class=\"scene_device_dropdown\"><a onclick=\"xreopenAddDevicesWindow(3, 1, 'editScene'); return false;\" href=\"#\"><span class=\"txt\" id=\"deviceName_group_3_element_1\">Klávesnice</span><img style=\"margin: 8px 0px 0px 10px; float: left;\" src=\"../img/dziubek.png\"></a></div></div><div class=\"scene_device_tail\"></div></div><div class=\"scene_order\" id=\"group_3_element_2\"><input name=\"elementtype_group_3_element_2\" id=\"elementtype_group_3_element_2\" type=\"hidden\" value=\"operator\"><input name=\"elementid_group_3_element_2\" id=\"elementid_group_3_element_2\" type=\"hidden\" value=\"549\"><div class=\"scene_order_head\"></div><div class=\"scene_order_centrum\"><select name=\"select_group_3_element_2\" class=\"scene_order_dropdown\" id=\"select_group_3_element_2\" onchange=\"onSelectChange(this); onOperatorChange(this);\"><option value=\"7\">=</option></select></div><div class=\"scene_order_tail\"></div></div><div class=\"scene_action\" id=\"group_3_element_3\"><input name=\"elementtype_group_3_element_3\" id=\"elementtype_group_3_element_3\" type=\"hidden\" value=\"deviceValue\"><input name=\"elementid_group_3_element_3\" id=\"elementid_group_3_element_3\" type=\"hidden\" value=\"4\"><div class=\"scene_action_head\"></div><div class=\"scene_action_centrum\"><select name=\"select_group_3_element_3\" title=\"Otevřít\" class=\"scene_action_dropdown\" id=\"select_group_3_element_3\" style=\"float: left; \" onchange=\"onSelectChange(this);\" data-device-type=\"com.fibaro.doorLock\" data-device-id=\"549\"><option value=\"3\">Otevřít</option><option selected=\"selected\" value=\"4\">Zavřít</option></select><select name=\"doorLockUser_group_3_element_3\" class=\"scene_dropdown\" id=\"doorLockUser_group_3_element_3\" style=\"margin-left: 8px; display: none;\" onclick=\"reGenerateDoorLockUsersOptions(this, 549)\" onchange=\"onSelectChange(this);\"><option selected=\"selected\" value=\"0\">Jakýkoliv uživatel</option></select><span id=\"handValue_group_3_element_3_RGBW\" style=\"display:none;\"><span class=\"Txt scene_RGB_label\">R:</span><input name=\"handValue_group_3_element_3_R\" class=\"scene_input rgbw_input\" id=\"handValue_group_3_element_3_R\" onkeyup=\"onInputChangeDevice(this,549);\" type=\"text\" value=\"0\"><span class=\"Txt scene_RGB_label\">G:</span><input name=\"handValue_group_3_element_3_G\" class=\"scene_input rgbw_input\" id=\"handValue_group_3_element_3_G\" onkeyup=\"onInputChangeDevice(this,549);\" type=\"text\" value=\"0\"><span class=\"Txt scene_RGB_label\">B:</span><input name=\"handValue_group_3_element_3_B\" class=\"scene_input rgbw_input\" id=\"handValue_group_3_element_3_B\" onkeyup=\"onInputChangeDevice(this,549);\" type=\"text\" value=\"0\"><span class=\"Txt scene_RGB_label\">W:</span><input name=\"handValue_group_3_element_3_W\" class=\"scene_input rgbw_input\" id=\"handValue_group_3_element_3_W\" onkeyup=\"onInputChangeDevice(this,549);\" type=\"text\" value=\"0\"></span><select class=\"scene_order_dropdown hidden \" id=\"handValue_group_3_element_3_property_value\" style=\"margin-left: 10px;\"></select></div><div class=\"scene_action_tail\"></div><div class=\"scene_time_centrum\"><div class=\"scene_time_dropdown\" style=\"float: left; padding: 2px 10px 2px 8px;\"><input name=\"valueTime_group_3_element_3\" class=\"scene_input\" id=\"valueTime_group_3_element_3\" style=\"width: 40px;\" onkeyup=\"positiveNumbersOnly(this); onInputChange(this);\" type=\"text\" value=\"0\"><span class=\"txt\" style=\"margin: 2px 0px 0px 4px;\">s</span></div><div class=\"scene_time_tail\"></div></div></div></span><div class=\"scene_add_remove\"><a title=\"Odebrat poslední prvek\" id=\"deleteButtonGroup_3\" onclick=\"xremoveElementFromScene(3, document.getElementById('lastAddedElementGroup_3').value, 'editScene'); return false;\" href=\"#\"><img style=\"float: left; margin-right: 10px;\" src=\"../img/remove.png\"></a><a title=\"Přidat další prvek\" id=\"addButtonGroup_3\" onclick=\"setClickedPosition(this); xgenerateFullMenu(3, 'editScene'); return false;\" href=\"#\"><img class=\"addButtonGroup\" style=\"float: left;\" src=\"../img/add.png\"></a></div><img class=\"scene_bracket_right\" id=\"group_3_element_bracket_right\" src=\"../img/bracket_right.png?v=1494339732339\"></div><div class=\"SceneAreaSection\" id=\"sceneGroup_4\" style=\"display: none;\"><span id=\"sceneGroupList_4\"> </span><div class=\"scene_order\" id=\"group_4_element_1\"><input name=\"elementtype_group_4_element_1\" id=\"elementtype_group_4_element_1\" type=\"hidden\" value=\"operator\"><input name=\"elementid_group_4_element_1\" id=\"elementid_group_4_element_1\" type=\"hidden\" value=\"549\"><div class=\"scene_order_head\"> </div><div class=\"scene_order_centrum\"><select name=\"select_group_4_element_1\" class=\"scene_order_dropdown scene_order_dropdown_operators\" id=\"select_group_4_element_1\" onchange=\"checkSceneOperatorChange(4); onSelectChange(this);\"><option value=\"1\">A</option><option value=\"2\">Nebo</option><option value=\"3\">Pak</option></select></div><div class=\"scene_order_tail\"> </div></div><input name=\"selectOldValue_group_4_element_1\" id=\"selectOldValue_group_4_element_1\" type=\"hidden\" value=\"1\"></div><div class=\"SceneAreaSection\" id=\"sceneGroup_5\" style=\"display: none;\"><span id=\"sceneGroupList_5\"> </span><div class=\"scene_add_remove\"><a title=\"Odebrat poslední prvek\" id=\"deleteButtonGroup_5\" style=\"display:none;\" onclick=\"xremoveElementFromScene(5, document.getElementById('lastAddedElementGroup_5').value, 'editScene'); return false;\" href=\"#\"><img style=\"float: left; margin-right: 10px;\" src=\"../img/remove.png\"></a><a title=\"Přidat další prvek\" id=\"addButtonGroup_5\" onclick=\"setClickedPosition(this); xgenerateFullMenu(5, 'editScene'); return false;\" href=\"#\"><img class=\"addButtonGroup\" style=\"float: left;\" src=\"../img/add.png\"></a></div></div>" }
  18. Hi All, I'm new to all of this, Have a HC2 , also have a Harmony Remote along with a few sono's speakers. I was looking to create my first scene using the Motion sensor to essentially play music on my sonos if it gets triggered during certain times of the day, however everytime i try creating a scene the Sonos device doesnt show up, nor does any of my Harmony remote options ? I'm assuming i'm doing something wrong or does this kind of stuff need to be done via LUA (i can't code btw- but might have to start learning)
  19. Hi! Have you tried to run a scene with danalock V2 in HC2? I can lock and unlock the door with signle command button on HC2. But whene I try t do the same command in scene (Open/Close) I can't do it. When the scenes run nothing happen. thanks.
  20. I'd like to see an optional parameter added that will disable triggering scenes when setting a global variable in LUA. The HTTP API has this functionality albeit in reverse (default to false) Something along the lines of: fibaro:setGlobal( varName, value [, invokeScenes] ) Where: varName: The name of the global variable value: The new value of the global variable invokeScenes: Boolean, default true
  21. Hi, I have external lights. I use geolocation with ifttt. When I arrive near my house my lights turn on automatically. But it must light up when it is dark. At sunset. I created one variable : I created 3 scenes. First scene : --[[ %% autostart %% properties %% weather %% events %% globals --]] local sourceTrigger = fibaro:getSourceTrigger(); function tempFunc() local currentDate = os.date("*t"); local startSource = fibaro:getSourceTrigger(); if ( ( ((currentDate.wday == 1 or currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == fibaro:getValue(1, "sunsetHour")) ) ) then fibaro:setGlobal("ext", "1"); end setTimeout(tempFunc, 60*1000) end if (sourceTrigger["type"] == "autostart") then tempFunc() else local currentDate = os.date("*t"); local startSource = fibaro:getSourceTrigger(); if ( startSource["type"] == "other" ) then fibaro:setGlobal("ext", "1"); end end My first scene Sets my variable to 1 when the sun goes down My second scene sets my variable to 0 when the sun rises. --[[ %% autostart %% properties %% weather %% events %% globals --]] local sourceTrigger = fibaro:getSourceTrigger(); function tempFunc() local currentDate = os.date("*t"); local startSource = fibaro:getSourceTrigger(); if ( ( ((currentDate.wday == 1 or currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == fibaro:getValue(1, "sunriseHour")) ) ) then fibaro:setGlobal("ext", "0"); end setTimeout(tempFunc, 60*1000) end if (sourceTrigger["type"] == "autostart") then tempFunc() else local currentDate = os.date("*t"); local startSource = fibaro:getSourceTrigger(); if ( startSource["type"] == "other" ) then fibaro:setGlobal("ext", "0"); end end And My third scene that executes the lighting of my lights when ext = 1 and that the sun goes down. --[[ %% properties %% weather %% events %% globals ext --]] local startSource = fibaro:getSourceTrigger(); if ( ( tonumber(fibaro:getGlobalValue("ext")) == tonumber("1") ) or startSource["type"] == "other" ) then fibaro:call(32, "turnOn"); end I have a problem, It makes day or night my scene of lighting my lights work all the time. I don't understand. One idea ? if you can help me please. Thx.
  22. Hi, I am considering HCL to replace my VeraLite, which suddenly went dead... Majority of tasks I expect are simple, so HCL would satisfy this. But I have a bit complex one with heating: I currently have 8 thermostats in different rooms. Those are working indepently based on their program using scenes. For instance: Living rooms temperature is during Weekend from 7:00 to 20:00 is 22 degrees and from 20:00 to 7:00 19 degrees and 22 degrees from 16:00 to 20:00 + 19 degrees from 20:00 to 16:00 during Working day. Similarly for bedroom, bathroom, etc. So far I understand HCL would support this. However, I am using something like multiple button for defining modes like Home, Holiday, Weekend off, etc. This is the first selection and based on this above described scenes are running. So the sample with the Living room applies for Home, but for Holidays the temperature is 15 degrees, for Weekend off 17 degrees till Sunday 15:00 and 22 degrees after. Is HCL relativelly easily able to manage this? I am not a programmer and I am using PLEG in Vera, but how it is this solveable in HCL? HC2 is 2x more expensive than HCL and HCL is 2x expensive than Vera, so it is my concern...
  23. I am in the middle of my new house constructions. Ordered HC2 more than a month ago to play with it and see what it is capable of, what kind of wiring and setup I need to do in my house to use it wisely. Looks very impressing so far. And now the time has come to move this unit in to my brand new house as it already has doors and windows. I want to start using my Fibaro HC2 for security manners at first. I purchased simple security siren, hooked it to z-wave relay switch. I am able to make it scream whenever an alarm is triggered in Fibaro Home Center, no problems there. But how do I shut that siren off? What I expect is that when I enter PIN code to disarm breached sensor or entire network siren stops screaming automatically. I was unable to find any hook in LUA API to get an event of PIN code entered or system disarmed so that I could shut that siren down by some custom scene. If I had to shut the siren down manually every time security is breached - that's even more stupid than dumb... Looks like step backwards from simple wire based security system as If I am cancelling an alarm from remote location I might forget to chill that siren down and my neighbors will kill me once I get back home... How do you guys deal with that? Am I missing something or misunderstanding the concept of how security should be done with Fibaro Home Center 2?
  24. Hope someone can help on it I have the problem that some lights doesn't switch off and some randomly switch on. In detail: I have an ON Scene and an OFF Scene for the lights. They are triggered by Motion Sensor. I can see after the Motion Sensor is save again, the OFF scene is running, after a while it's not running anymore and the light is still on. The thing is it happens only sometimes, but too often. Here is an OFF Scene: --[[ %% properties 262 value 97 value %% events %% globals CRLED --]] --CR_LED_OFF ID 156 local date = os.date( '*t' ) local time = tonumber( string.format( '%02d%02d', date.hour , date.min ) ) local startSource = fibaro:getSourceTrigger(); if(startSource["type"] == "other") then fibaro:call(28, "turnOff"); else if (( tonumber(fibaro:getValue(262, "value")) == 0 ) --Motion Dressroom and ( tonumber(fibaro:getValue(97, "value")) == 0 )) --Motion Bedroom then setTimeout(function() local delayedCheck0 = false; local tempDeviceState0, deviceLastModification0 = fibaro:get(262, "value"); if (( tonumber(fibaro:getValue(262, "value")) == 0 ) and (os.time() - deviceLastModification0) >= 120) then delayedCheck0 = true; end local delayedCheck1 = false; local tempDeviceState1, deviceLastModification1 = fibaro:get(97, "value"); if (( tonumber(fibaro:getValue(97, "value")) == 0 ) and (os.time() - deviceLastModification1) >= 120) then delayedCheck1 = true; end local startSource = fibaro:getSourceTrigger(); if ( ( delayedCheck0 == true and delayedCheck1 == true and fibaro:getGlobalValue("CRLED") == "Active" ) or startSource["type"] == "other" ) then fibaro:call(28, "turnOff"); --Light Changeroom end end, 2*60000) --delay 2min end end ******************************************************************************** BTW I'm sure and double confirm the variable CRLED is Active Here is an ON Scene: --[[ %% properties 262 value %% events %% globals CRLED Mode --]] --CRBF_LED_ON 150 local startSource = fibaro:getSourceTrigger(); if ( ( tonumber(fibaro:getValue(262, "value")) > 0 ) --Motion Dressroom and ( fibaro:getGlobalValue("CRLED") == "Active" and ( fibaro:getGlobalValue("Mode") == "Day" or fibaro:getGlobalValue("Mode") == "Evening" )) or startSource["type"] == "other" ) then fibaro:call(28, "turnOn"); --LED ON end
  25. I am trying to create a day/night setup via lua. Where at 8 am-10pm the variable is set to day and at 10pm-8am the variable is set to night. I cannot successfully do this via a block scene so i have used LUA to do this. Could someone help me look over my code to see if this is correct as i am fairly new in LUA. Thanks! --[[ %% autostart %% properties %% globals --]] -- Only need to call getSourceTrigger once -- For better debugging, I moved it to the top, -- before countScenes local sourceTrigger = fibaro:getSourceTrigger() fibaro:debug("Script started because of: " .. sourceTrigger["type"]) if fibaro:countScenes()>1 then fibaro:debug("Scene already running, aborting this one") fibaro:abort() end if (sourceTrigger["type"] == "autostart") then while true do local currentDate = os.date("*t") -- Do the time-string manipulation thingy here, instead of in -- each and every if-then statement -- %02u means unsigned int, 2 wide, leading zero TimeAsString = string.format("%02u",currentDate.hour).. ":" .. string.format("%02u", currentDate.min) fibaro:debug("TimeAsString: ".. TimeAsString) Day_night = fibaro:getGlobalValue("Day_night") fibaro:debug("Day_night: " .. Day_night) if ( currentDate.wday == 1 or currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7 ) and TimeAsString == "8:00" then fibaro:debug("Setting scenario number 1") fibaro:setGlobal("Day_night", "Day") elseif ( currentDate.wday == 1 or currentDate.wday == 2 or currentDate.wday == 3 or currentDate.wday == 4 or currentDate.wday == 5 or currentDate.wday == 6 or currentDate.wday == 7 ) and TimeAsString == "22:00" then fibaro:debug("Setting scenario number 2") fibaro:setGlobal("Day_night", "Night") else fibaro:debug("Current time doesn't match any scenario") end end fibaro:debug("Scene not started, this is autostart-only!") end -- end of sourceTrigger["type"] == "autostart"
×
×
  • Create New...