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. 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
  2. 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
  3. 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"
  4. 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
  5. 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.
  6. Hi! I want to automatically make a new global variable in a scene? How can this be done?
  7. 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
  8. 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...)
  9. 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?
  10. 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.
  11. 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
  12. 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 ?
  13. 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' ?
  14. 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.
  15. 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
  16. Hey guys, I have some simple LUA Scenes that simply don't work unless I manually click RUN. Any help would be appreciated. Secondly, this "Goodnight" scene, breifly turns ON the lights, before turning them off??? I also have to manually run it twice before it updates the variable? The all lights OFF scene works perfectly by itself. I have a feeling I'm missing some basic understanding, thank you for your help. Jamie
  17. I have a Home center Lite. My motion sensor to turn on my lights if it is between a certain lux in the room and if motion it detected. I have it set to not turn on the lights if it detects 0 lux in the room. This can be good for sleeping but what if it gets dark at 6pm with 0 lux in the room but I'm not ready for bed and want the lights to trigger with motion. Does anyone know of a solution to only run my scene i created between a certain range of times during the day? thanks for the help
  18. Hello All, I have got a number of Philips Hue GU10 (color) spots sitting behind a dimmer2. I basically have these spots at a dim level of 100% at all times and use the Hue Plugin and scripts leveraging this plugin to control the dim level. It would be nice (ideal even) if I could attach a switch to S2 on dimmer2. Then capture dim levels from S2 to drive a scene that calls the Hue Plugin to pass on or synchronise the dim levels accordingly. I know how to set dim levels though the Hue Plugin, but have not been able to figure out how to capture dim levels from S2 on dimmer2. Is there anyone who could give me a pointer? I appreciate all the help you can give me! Cheers, Barry
  19. Hi. I experience problems with setting value for dimmers in scenes. It works if i choose turn on. Set value does not work. On older scenes made before update to 4.080 it works. It is a bug or am I doing something wrong?
  20. Guest

    Time based trigger

    Hi, I had problems with a block scene on my HC2, so I let the system convert it to a Lua scene and worked from that. Now, the scene itself works (which was a problem before) both from manual activation in the app and from activation of a wall controller (device 54), but the timers do not work. Any ideas on why? And also - what is "%%events" in the generated header? I have not seen a description of this anywhere. --[[%% autostart %% properties 54 sceneActivation %% events %% globals --]] local currentDate = os.date("*t"); local startSource = fibaro:getSourceTrigger(); if ( -- Weekdays at 6:25 ( ((currentDate.wday >= 2 and currentDate.wday <= 6) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "06:25") ) -- Weekends at 7:00 or ( ((currentDate.wday == 1 or currentDate.wday == 7) and string.format("%02d", currentDate.hour) .. ":" .. string.format("%02d", currentDate.min) == "07:00") ) or -- 30 minutes before sunset ( (os.date("%H:%M", os.time()+30*60) == fibaro:getValue(1, "sunsetHour")) ) or ( tonumber(fibaro:getValue(54, "sceneActivation")) == 20 ) or (startSource["type"] == "other") ) then fibaro:call(43, "turnOn"); fibaro:call(21, "setValue", "78"); fibaro:call(58, "turnOn"); fibaro:call(24, "setValue", "60"); end
  21. When I build a scen blockscene and use the command "Turn on" then the dimmer turn on the light to the last used level. But if I use the command "Set value" and use the value "50" (or "100" or "255") nothing happens. How to do if I want a scene to activate the dimmer to a certain level, e.g. 50%?
  22. Hi, i'm trying to create a block scene with my Remotec ZXT-120. I set some time schedules but i can't set temperature, mode and fan option into the device It's a bug? Regards
  23. When I build a scen blockscene and use the command "Turn on" then the dimmer turn on the light to the last used level. But if I use the command "Set value" and use the value "50" (or "100" or "255") nothing happens. How to do if I want a scene to activate the dimmer to a certain level, e.g. 50%?
  24. Hello, Having some problems using my new Octan Remote from Nodon. I've recently bought HC2 and I'm probably doing something stupid. I've added the remote, that works fine. I've tried adding couple of parameters to the remote, made a couple of scenes but still nothing happens. Parameters added: Number Data type Desired Valuie 1 1d 0 2 1d 0 3 1d 1 Scene: --[[ %% properties %% events 100 CentralSceneEvent 1 Pressed %% globals --]] local startSource = fibaro:getSourceTrigger(); if ( ( true ) or startSource["type"] == "other" ) then local deviceValue1 = tonumber(fibaro:getValue(36, "value")); if (deviceValue1 > 0) then fibaro:call(36, "turnOff"); else fibaro:call(36, "turnOn"); end end After the new update I thought maybe a simple graphic scene would do the trick but with no luck. Sincerely HC2 Newbie
  25. Hi All, I have received the following message (attached) regarding a scene to run my swimming pool pump at certain dyatime tempratures to push the water through my solar heating panels. I do not understand what is meant by too many instances with regards to scenes, therefore I do not know how to fix. The idead is that the scene run at a certain time of the day for ½ hour if it is 28C or warmer. I have an identical scene for 11:30 and one for 13:30 Please help Thanks Danie
×
×
  • Create New...