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

  • 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. HCL version 4.100 (stable). I noticed that in case you change the order of labels in a VD that scene's, writing info in those labels, use the wrong one. Reproduce it : Create a VD with 2 labels. Write a scene in which you write information to a label of the VD. Create 2 different scene's within each 1 of the different VD labels in it. Test your scene's. Re-order the labels in the VD. Open the scenes. You'll see now it's using the wrong label. Change to the correct label in your scene. Close the scene. Open the scene again --> if you're fast, you'll even see now that is has the old (wrong) label even still in memory. After a second, you'll see the correct label. After the change, it's correctly working. But if you want to reorganize your VD, it can be a lot of work to change your scene's.
  2. HI, I noticed that some of my scenes have the number of instances displaying in the web browser (see blue text on scene box) .... but I am not setting it. How is this controlled ? Thx -f
  3. Is there anything like this for the HC2?
  4. Hi there, I got the next setting but it does not work properly can someone explane to me whats wrong? I made a variable "timeOfDay" with 3 options "day" "evening" "night" Then I made three scenes on time: 06h30 set variable to day, 18h30 set variable to evening, 23h30 set variable to night. after this I made a scene to turn on the lights in my livingroom asfollow: If sensor livingroom detects motion check variable equals to evening. and lux value < 35 then turn on lights I only checked the triggering device "motion" so this scene will only run if motion is detected en then checks if all statements are true. somehow this works if I manualy activates the "evening" variable I want this because when I go to the bathroom at night I walk though the livingroom and do not want the lights to turn on. So I guess the problem is not in this scene but in de variable scene that sets the variable on time. Or is this thought al wrong? Where can I see witch state the varibale has at this time and do i need to check the "start when home center 2 starts" box? You can see the attach for more details (it's in Dutch) Thanks in advance. Maurice ***UPDATE*** I got it to work now. 2 things I have changed. First I forgot to check the box "start when home center2 starts" and "do not allow alarm to stop scene while alarm is running" Second I had 3 states the variable could be in, "day, evening, night" I brought this back to 2 states "day and night" Now the scene works like a charm. Good luck.
  5. I have a Yale lock and a Fibaro door sensor which i need help to make a auto lock scene with. The yale lock has a auto lock after 30 seconds which is good, but it will lock even if the door is open. So I have disabled this and made a scene on my HC2 instead. This is what I want to achieve. 1. IF lock is open for 30 seconds or more 2. AND the door is closed for 3 minutes or more 3. THEN lock It must also lock in the instance that the lock was opened but the door wasn't, i.e. the door has not open/closed to trigger the three minute count down. ​I built a scene as below but it doesn't work, can anyone suggest where I am going wrong? I made a simple scene as below that says if front door is safe for 0 seconds then lock after 180 seconds, this works fine however if the door doesn't open/close then it never triggers. Any help or suggestions much appreciated. Thanks, Karl
  6. local daysoftheweek={"Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"} local day = urlencode(daysoftheweek[os.date("*t").wday-1]) function urlencode(str) if (str) then str = string.gsub (str, "\n", "\r\n") str = string.gsub (str, "([^%w ])", function (c) return string.format ("%%%02X", string.byte(c)) end) str = string.gsub (str, " ", "+") end return str end function MM(data) local function getMethod(requestUrl, successCallback, errorCallback) local http = net.HTTPClient() http:request(requestUrl, { options = { method = 'GET', headers = { }, }, success = successCallback, error = errorCallback }) end local url = 'http://192.168.0.137:8080/syslog?type=INFO&message='..data getMethod(url, function(resp) print(resp.data) end, function(err) print('error' .. err) end ) end MM(day..'+'..fibaro:getGlobal("yeasterdayKW")..'+'..'kWh') Result [DEBUG] 14:13:32: {"status":"success","payload":{"type":"INFO","message":"Söndag 34.96 kWh","timestamp":"2016-10-10T12:13:32.103Z"}} Should be [DEBUG] 14:13:32: {"status":"success","payload":{"type":"INFO","message":"Söndag 34.96 kWh","timestamp":"2016-10-10T12:13:32.103Z"}} so i think my header with utf8 is not correct. If i run url direct in browser it works with same data
  7. Hi, is there a smart way to see what scene was executed a specific time? Could I get that info trough a api or somehow?
  8. Hello, Can i use virtual devices in the block scene configurator ? The virtual devices i created are not available in the block scene creator. Thank, Richard
  9. Guest

    Update of DDNS Using Scene

    Hi Guys, First post on here. I've just moved from a Vera to the HC2 to give it a go and find things quite difficult. I had a scene set up on my Vera than ran periodically to update my Dynamic DNS server using a wget function in Luup. I've been mucking around tonight for quite a while using Lua scenes trying to achieve the same outcome with no luck! I'm sure it's easy but can anyone help out? Thanks! Sam.
  10. Is it possible to check if the virtual device button was pressed in lua? Is there any function for that in lua? I want to code something like this: (If Button "3" of virtual device with an ID of 674 was pressed than a=a+1) for example
  11. Hi guys, I bought a Fibaro system (Fibaro lite 4.082, 2 IR sensors, 2 flood sensors) a few weeks ago and was able to set it up after a little bit of tinkering. Unfortunately, I am unable to get the notifications working. The alarm is clearly working on a user interface (red flashing light on screen, pin code to disengage etc) but the next step, notifications just won’t work. No emails or push to my iPad or Galaxy S6. I’ve tried several different email addresses and altered push to my S6 and iPad but I get nothing. I believe my programming is correct and all the notification info is saved before use so the problem must be something else. I’ve read forum and this ( http://forum.fibaro.com/index.php?/topic/18877-hcl-notifications-does-not-work-anymore/) but it seems to relate to different issue. This is a major deal breaker. Any ideas how to get it to work?? Additional question: On a notification scene under a general tab there are two buttons; one to run the scene and one to stop. Should I be able to send alarm notifications to test them just by pressing the ‘run’ button? So far it doesn’t do anything. Additional question2: Is there a way to see if my notification -scene has been activated at all? I read something about "debug" variable ( http://forum.fibaro.com/index.php?/topic/21766-mail-and-push-notification-stop-working/). How can I create one? All help and info will be much appreciated
  12. Hello, I love the new widget slide in the iOS. As I have found out, it only is for scenes not devices. I have a garage door opener device I really like to control with the widget. This way I can quickly open the garage door without even unlocking my phone. Any Ideas how to build this scene? Should be easy, the garage control is only a on/off relay switch. But all scenes seems to need a trigger? How would the magic scene look like? Tried with only Garage door == ON THEN but didn't work.. I want to trigger the scene myself, but the magic scene needs a trigger How to solve ? Please help, should be a quick fix for most of you skilled people Regards, Thomas
  13. Hi all, After a long time, i got it finally working. (my knowlegde go LUA is almost 0) I would like that the lights only getting on when the house is in evening or night status. Or maybe even better when also/or the LUX is getting below 60.. This code for updating my house state: [ %% properties %% autostart %% globals --]] -- Scene : Time of Day -- Version : 6.0.3 -- Release Date : 14 January 2016 -- Compatibility : Home Center 2, v4.030 to v4.063 Beta -- Purpose : Check time of day and Set global variable -- Trigger : None -- Contributors : Fibaro Forum - petergebruers, boerremk and many others who have shared bits of scripts in the forum -------------------- Configuration - Scene Info sceneName = "Time of Day"; sceneVersion = "6.0.3"; -------------------- Configuration - Time Offsets -- Set the offset time in minutes -- Set positive offset value for after Sun-rise/set, negative value for before Sun-rise/set, zero for no offset offsetSunrise = 0; offsetSunset = -50; -------------------- Configuration - Debug Parameters local dispExtDebug = false; -------------------- Script Functions -------------------- Function: Fibaro Debug Message with Color function fDebug(color, message) fibaro:debug(string.format('<%s style="color:%s;">%s</%s>', "span", color, message, "span")); end -------------------- Function: Fibaro Wait Time function fSleep(stime) fibaro:sleep(stime); end -------------------- Function: toTimestamp local function toTimestamp(time, offset) currDate = os.date("*t"); hours, minutes = time:match("^(%d+)%d+)"); return os.date("%H:%M", os.time({ year=currDate.year, month=currDate.month, day=currDate.day, hour=hours, min=minutes, sec=seconds }) + (offset*60)) end -------------------- Validate Source Trigger local sourceTrigger = fibaro:getSourceTrigger() fDebug("green", "Script started because of: " .. sourceTrigger["type"]); -------------------- Validate Number of Scene Instance fSleep(50); if (fibaro:countScenes()>1) then if (dispExtDebug) then fDebug("yellow", "Scene, " .. sceneName .. " is already running with " .. fibre:countScenes() .. " instances!"); fDebug("yellow", "Aborting additional instance(s)!"); end fibaro:abort(); end -------------------- Start of Scene Execution if (sourceTrigger["type"] == "autostart") then while true do local currDate = os.date("*t"); local currTime = os.date("%H:%M"); ---------------- Time-string Manipulation ---------------- %02u means unsigned int, 2 wide, leading zero currTimeAsString = string.format("%02u",currDate.hour) .. ":" .. string.format("%02u", currDate.min) varTimeOfDay = fibaro:getGlobalValue("TimeOfDay") if (dispExtDebug) then fDebug("Time of Sunrise: " .. fibaro:getValue(1, "sunriseHour")); fDebug("green", "Time of Sunset: " .. fibaro:getValue(1, "sunsetHour")); end fDebug("green", "Current Time: " .. currTimeAsString); if (dispExtDebug) then fDebug("green", "Current Time of Day: " .. varTimeOfDay); end if ---------------- Morning currTime == toTimestamp((fibaro:getValue(1, "sunriseHour")), offsetSunrise) then if (dispExtDebug) then fDebug("grey", "Time of Offset Sunrise: " .. toTimestamp((fibaro:getValue(1, "sunriseHour")), offsetSunrise)); end fDebug("grey", "Setting Time of Day as Morning"); fibaro:setGlobal("TimeOfDay", "Morning"); elseif ---------------- Afternoon currTime == "11:00" then fDebug("grey", "Setting Time of Day as Day"); fibaro:setGlobal("TimeOfDay", "Day"); elseif ---------------- Evening currTime == toTimestamp((fibaro:getValue(1, "sunsetHour")), offsetSunset) then if (dispExtDebug) then fDebug("grey", "Time of Offset Sunset: " .. toTimestamp((fibaro:getValue(1, "sunsetHour")), offsetSunset)); end fDebug("grey", "Setting Time of Day as Evening"); fibaro:setGlobal("TimeOfDay", "Evening"); elseif ---------------- Night currTime == "23:00" then fDebug("grey", "Setting Time of Day as Night"); fibaro:setGlobal("TimeOfDay", "Night"); elseif ---------------- Dawn currTime == "06:00" then fDebug("grey", "Setting Time of Day as Morning"); fibaro:setGlobal("TimeOfDay", "Morning"); else ---------------- No Match fDebug("orange", "Current time does not match any scenario."); end ------------------ Once Per 55 Seconds Wake-up fSleep(55*1000); end ---------------- End of Infinite While-loop fDebug("Scene not started, this is autostart-only!") end ------------------ End of sourceTrigger["type"] == "autostart"
  14. Hi, I am finally getting close to a decent level of automation around the house with lights, music, security, etc. The challenge is that by its very nature a lot of decisions are being made by the scenes and a lot of events firing as a result. I am looking for a way to keep track of some of the main variables and device states just to see that the 'engine' is working as designed/desired. I see as being helpful when something goes awry and I need to debug I reckon there may be 15- 20 'things' I would like to keep track of and I can only think of a couple of ways to accomplish this... Notifications - Popup service (https://developer.fibaro.com/docs/fghc-luaapi) - I don't think this will work as I don't want a notification for each event (more like a summary) and I don't want to have to acknowledge each one Global Variables Log/append each one to a string stored in a global variable and after a number of entries dump out the content Log event to a json encoded table) and read back / dump anything older than 24 hrs (this would take a bit of research/help but think I could do this with some help) VD/Fibaro:log perhaps create a VD and use fibaro:log() function t capture the data but I'm not sure if this is even possible Are there other ways that people think would work or does anybody have anything like this already in place. Thanks Frank
  15. I can´t start a scene from a widget when it´s pin protected, how come? I would like to open/close the garagedoor from a widget but protect the opening scene from opening by mistake.
  16. Hi! I want to automatically make a new global variable in a scene? How can this be done?
  17. Hi I am trying to create a script that will be triggered when another scene such as 'kids to bed' is run. I want to capture the id of the scene 'kids to bed' This is what I have so far but no luck --[[ %% autostart %% properties 490 sceneActivation %% events %% globals --]] local startSource = fibaro:getSourceTrigger() local ScID = startSource['deviceID'] local ScType = startSource['type'] fibaro:debug(ScType) fibaro:debug(ScID) so.. when scene 490 is run I want the above scene to run and whne this happens I want to be able to display the scene id ( in my example above it would be 490) Ultimately I am looking to create a scene which will trigger when any of my other scenes are run and I'll then email the date/time and scene id so i can see across my whole system what is running and when. I have a few scenes that don't seem to be running when they should be and I am looking to narrow it down. Thanks -Frank
  18. I'm trying to send a UDP packet in a scene triggered by a global variable change. I know UDP packets can be sent in a virtual device but I get the "attempt to index global 'Net' (a nil value)" error running Net.FUdpSocket() from a scene. Is there another way to send UDP packets in a scene? Thanks (@T.Konopka: Why did this get moved from the Scenes to the Modules forum? It's not a module question...)
  19. Hello everyone! I'm trying to figure out a good block scene to help elder people in their bedroom, during night (e.g.: Wake up to go to the bathroom at night). I'm using motion sensor + dimmer modules + door sensor. My concern: not trigger the scene with motion sensor while he/she is moving in bed during sleep time, but only when he/she stands up to go to the bathroom. Any tips?
  20. I have recently purchased a HC2 and i love it. I do though have a couple of questions pertaining to scenes. I have multiple scenes set up to turn items off and on when leaving home and when returning home. THe points i set is home and i used leaving the area with a 100 meter distances. It all seems to be working the only real question i have is sometimes i pops up saying that i have to many instances. I'm not actually sure what it actually means. When i go to the scene control it is set to 1 instance. Any help on this matter would be greatly appreciated.
  21. Hi, Does anybody know if it is possible to run a scene to and extract a 'result from there scene via the API An example might be to check which sensors are triggered or zones are open/closed and just return open ones. I'm pretty sure I could run the scene and update a global variable and then just use the API to read the value of the global variable but I was wondering if there was a way to do it with just the scene Thanks -F
  22. Hi, I've a 403 error when I try to save a new scene. I don't understand why. I've check and ALARM is OFF. I had this error with version 4.081. The problem still there with the last firmware 4.082. Can you help me ?
  23. I just want to switch on lights if the motion sensor detects moving objects. After detection of moving objects, lights should be switched on for a number of seconds. Lights must be switched off after delay of a number of seconds. I am using: Motion sensor = FGMS001 Motion Sensor 3.2 Switch = FGP111 Plug Home Center 2, version = 4.080 Can anyone advise me to solve the 'problem' ?
  24. Is there a way for a scene to trigger each time a push button connected to the S2 input on a dimmer with the scene activation setting enabled is activated? I can only seem to trigger the scene when the sceneActivation state changes. ie: double click after single click. I'm trying to setup a sensor override push button where the following should occur: single click = toggle light (on/off) + enable sensor override hold = start dimming light + enable sensor override release = stop dimming light double click = disable sensor override When the sensor override is disabled, the motion sensor will have control of the light. Cheers.
  25. Hi folks, I'm looking for some help or some directing. I've searched the forum but can't find what I'm looking for even though it has to be there and tried before. I am trying to create a scene to read and adjust my heating system through the API The steps would be - login over http passing username and password. (this would activate a session) - read back the authentication code to use in next step - issue a post to the API to read or adjust the heating (over http) any help or pointing me to other forum posts would be appreciated Thanks Frank Edit: I've attached a wireshark trace export of the transaction requesting a 1 deg decrease. I blanked out some email addresses and site specific information for privacy. This is essentially what I am trying to replicate through a scene if it's possible. ws trace export.txt
×
×
  • Create New...