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, I made a virtual device to activate of deactivate my washing machine. One it's buttons should force the machine to start running at 5am. However, when I push the button, it will stay asleep for about an hour (I can't figure out how long the delay exactly is, maybe it's 30 minutes or 2 hours), but not until 5am. I have this code, where 135 is a wall plug attached to the machine: local currenttime = os.date('*t'); local currenthour = currenttime['hour']; local currentmin = currenttime['min']; local H = tonumber(currenthour) local M = tonumber(currentmin) local waitingtime if H < 5 then -- activated early in the night: waitingtime= ( ((5-1-H)*60) + 60-M )*60*1000 else -- activated on preceding day: waitingtime= ( ((5+24-1-H)*60) + 60-M )*60*1000 end fibaro:call(135, "turnOff") fibaro:sleep(waitingtime) fibaro:call(135, "turnOn") What did I do wrong?
  2. Hey everyone. Still rather new to this whole HC2 thing. At any rate I have all my devices up and running. I'm on the last FW v4.130. I am trying to setup some basic scenes using the building blocks for when arrive and leave. No matter how basic or complex a scene I try and create I cannot get them to trigger when using GPS. Am I doing something wrong here?? I have both home and work setup with the correct coordinates already. Also all the users are set to give up GPS at 1 minute intervals. Any help would be greatly appreciated.
  3. How can I write something to the event panel from a scene, which is only modifying global variables but not changing the state of a physical device? I do have scenes which now and then change the value of a global variable. To do this, I would like to have a text line in the event panel. SMS, e-mail or push works fine, but that is a total overkill and not needed for this. A simple entry in the event panel would be nice. any clue? thanks for tip and tricks. maybe another VD? but how should this be done?
  4. Is it possible to have a scene or several scenes triggered after a restart of the HCL? I thought about a variable in the automatic restart scene and VD, but is there any other solution or possibility? So is there a trigger condition, which is only TRUE when the HCL is restarted? kuno
  5. I do have scenes for day and night as well as weekends, adjusting the temperature as needed. How would you set the temperature during summer, when the central heating is switched off to: minimize battery consumption? avoid unnecessary activation of the motor? all the way down to 'freezing protection' or all the way up as it will never get that warm and the valves are kept fully open (free flow) how have you solved the 'summer'? I am really wondering how you do this, removing the batteries can not really be the solution kuno
  6. Can someone explain me why this scene gives me the warning of to many instances. I have several similar looking scenes that sometimes gives the notification of to many intances. Max running instances is set to 2
  7. I am still testing around the usage of variables and tried the following simple thing. I do have a predefined variable having two values being ON and OFF. I do have a scene (automatic) which switches on a wall plug, when the variable is in its OFF status and sets the variable to ON. If variable=ON the "switch on" and set variable to ON nothing happens. Only when I restart HCL, the scene is triggered. When I then switch the variable to OFF in the variable panel, nothing happens. What I also noticed. when the variable is switched ON and I manually trigger the scene, the wall plug is switched ON, even the trigger condition of the variable being OFF is not fulfilled, how comes? this somehow makes the usage of variables as trigger conditions useless. anyone having a clue?
  8. Hi, I successfully integrated my Samsung tv. Can now control it through Fibaro. Don't really see the use of it though. What I'd like to do is have a scene start when the tv is turned on through a normal remote. FYI: the scene will check daytime, if it's day it will close the blinds, if it's evening it will set the lights at a dimmed level, etc... Possible? Thank you, apgc
  9. I do have a scene to start the TV and another one to automatically shut it down hen all the devices have been set to standby. Now I am facing the following problem that the auto-off scene constantly starts, even the power consumption is at around 100W. What do I do wrong or what do I misunderstand? Auto-OFF should trigger if the TV is ON with a delay of 60s and the power consumption is below 16W with another delay of 60s
  10. Hi There I want to discuss a bout the new way of scene creation. This is DIY. It comes from " Do It Yourself". By this, smarthome user can introduce a scene with out any knowledge of computer. It would implement by 3 steps: 1- change the house appliances as the way you want ( like turn on the dimmer and fan, close the curtain and ...) 2- just click on save condition (save all the statuses of appliances) 3- Run the scene ( home will change as the save conditions like the statuses step 2) However Fibaro has 3 kinds of adding scene, but DIY can be perform as the newest and easiest way of smarthome learning, So, I want to make a scene to create panel for DIY in VirtualDevice like below: code of SAVE Button: local mystat = fibaro:getValue(135, "Value") fibaro:debug(mystat) fibaro:debug(tonumber(mystat)) code of RUN Button: if (tonumber(mystat) == tonumber("0")) then fibaro:debug("off"); fibaro:call(135, "turnOff") else fibaro:debug("on"); fibaro:call(135, "turnOn") end fibaro:debug(mystat) But, it just save and does not work (RUN). Would you please help me in this way ? How to save statuses and the run them again ? ADMIN NOTE: Please, read carefully descriptions of forum before posting.
  11. Does anyone have a clue, why the following ON scene does work, but the OFF scene does not? I do want to switch on a forced ventilation twice a day for 2h, so I created the scene to switch on if it is either 9 AM or 5 PM. and a scene to switch off if it is either 11 AM or 7 PM Auto-ON works perfect, but Auto-OFF fails every time. I do not understand at all..... what is wrong here? Yes, both scenes are ON Both scenes are tagged as run when HCL runs and in Automatic mode, Allowed instances 2
  12. Hi all, If you get frustrated when a copied scene does not behave properly.... I had it as well. situation: I created a very silly scene controlling a Fibaro relay switch to test some other stuff on my HCL, : if "device" is ON or "device" is OFF then switch "device" ON (Scene is manually triggered and has no internal trigger -> deselected check-box) Works perfect when manually triggered. I copied this scene and gave it a new name and changed it to: if "device" is ON or "device" is OFF then switch "device" OFF (Scene is manually triggered and has no internal trigger -> deselected check-box). Guess what. The OFF scene does not work at all, I edited and edited, until I noticed, that the scene is switching the light on, instead of off. I deleted the scene, created it from scratch and it worked. Wondering what went wrong here. kuno
  13. Hi All! Woul'd it be possible with Fibaro to make the system really intelligent by building dynamic scenes instead of static to "emulate" kind of machine learning. I mean the scene woul'd modify it self evt. by global variables in order to optimize it self according to the behaviour of the persons in home? For example I stand up every day at 7 o'clock except on wednesday, so i can make a scene that on wednesday the day starts let's say 1 hour later, but then i change my behaviour and will stand up later on thursday. So the scene will have to collect data about my behaviour and change itself or suggest the change to me....
  14. Hi, I am using an httpclient request to get an address out of json array of google maps. It is working perfect but I would like to have the value out of the request scope/block. I get a value at 1 but I do not get a value at 2. I hope someone can help me. Thank you! longitude = 52.568197 latitude = 4.560753 http = net. HTTPClient () http : request ( 'https://maps.googleapis.com/maps/api/geocode/json?latlng=' .. longitude ..',' .. latitude .. '&sensor=false', { options = { method = "POST" }, success = function (result) output = json.decode(result.data); address = (output.results[1].formatted_address); print("1:" .. address) end, error = function (err) fibaro: debug ("Errortje:" .. err); end }) print ("2: " .. address
  15. How to make a for loop what loops through several id's and checks if the light are ON, at a certain time, then it will display in fibaro debug or in a VD which lights where ON. time to check = 1:30am use these ID's (light ID's) 79 value 148 value 153 value 238 value 239 value 284 value 298 value 299 value 312 on 313 on 314 on 322 value to check if : tonumber(fibaro:getValue((i), "value")) > 0 Some help would be appreciated -Sam
  16. Hi Fibaro users Many of us are experiencing a very strange bug since a long time that kill our scenes. This bug appear without any reasons after several hours/days without any problems, it's a major issue that give us the feeling that the Fibaro box is not reliable. Just to give you my example of yesterday evening 19:41:06 : [DEBUG] 07:07:03: Module Parents (128) pressButton to 1 [DEBUG] 07:07:03: Module Espace Famille (123) pressButton to 1 [DEBUG] 07:07:03: Date : 2017/03/07 07:07:03 [DEBUG] 19:41:06: line 35: unexpected character @ character: 1 0:1 [�] line: [DEBUG] 19:41:06: � [DEBUG] 19:41:19: Redémarrage auto du script Réveil Matin (106): 2017/03/07 19:41:19 [DEBUG] 07:00:00: Réveil matin enclenché [DEBUG] 07:00:09: Ouverture volets matin phase 1 [DEBUG] 07:00:15: Module Parents (128) pressButton to 2 I saw several subjects in this forum with the same problem but without any clear answer to the problem, for examples : https://forum.fibaro.com/index.php?/topic/22964-script-terminated-garbage-in-log-script-error-line-incorrect/#comment-100942 https://forum.fibaro.com/index.php?/topic/22658-scene-keeps-quitting-on-error/#comment-99007 https://forum.fibaro.com/index.php?/topic/23955-vdscene-weather-status-v10b-netatmo-weather-station-rain-wind/#comment-108439 https://forum.fibaro.com/index.php?/topic/22801-issue-in-scene-after-update-to-41/#comment-99865 As you can see in the sample, i'm using (like many of us) another scene to check that the main scene is still active or not, and if not, to restart it. In french forums, users have done a specific virtual device to check scenes and vd. It seems it's a Lua bug that can be solved only by Fibaro. Could someone in Fibaro check that point to finally solve it one time for all? PS : Sorry for my english...
  17. I have a problem with my HC-2 and 12 Fibaro roller shutters. What I want is easy and logical: When I press a button on my remote, a scene will start so the blind will close when the door / window status is "safe", for that I use a door sensor. This works great for an individual blind. But I made a scene as well that closes more blinds at the same time, using the scenes that I made for every individual blind. When I start that scene on the remote there is no check anymore about the status of the door and the blinds will close under any circomstances. Somebody told met that if you run a scene from another scene the conditions of the underlying scene are not checked anymore, but that sounds not logic to me. Anybody an idea?
  18. I would like to create a scenne called "sleep time" which is invoked by amazon's Alexa by saying "Alexa turn on sleep time". The purpose is to turn bedroom lights off and switch off my Kld-40hx750 Sony Tv by sending the http post protocol (text/xml) to the TV like in attached Foto (the one is working example where I switch my tv to netflix by saying "Alexa, turn on Netflix" (to turn tv off the code is the same with the only difference in the string "AAAA..."). The Problem I have is that I can not send to Fibaro the Get Method (text/html) to turn the lights off (second Foto) and in the same time http post (text/xml) using HA Bridge (perhaps I'm wrong?). Therfore I was thinking to run the scene in Fibaro to turn the lights off simple calling function "fibaro:call(ID, "turnOff")" but the Problem remain with sending the http post protocol to the TV. I have read this can be done by making VD and sending http Protocol over it. Any help would be appreciated.
  19. Hi, I have two functions in a scene that I call one after the other function1 - create global variable if it doesn't exist (through the api) function2 - write some data to the global variable the second function will fail as the 'create variable' hasn't been completed by the time I try to write to it. I can add a delay or a check that the 'variable is not nill' (ie it exists) in function2 but it still fails to execute correctly I think I recall seeing that a http request in a scene will not always run in the order of the scene ? is this correct or something else here at play. If so has anybody found a way within a single scene to create a variable on the fly and then save data to it successfully. As a last resort I was thinking about having the scene run once to create the table, call a second instance of itself and kill the first instance. I'm not sure if this would even work but it seemed like a very inefficient workaround even if possible I have seen many virtual device examples of creating a variable on the fly and saving data to it but none from a scene Thanks -f @jompa68, @petergebruers, @Sankotronic
  20. Hi, Changing this post a little to generate some discussion around good morning sequences and what people are currently or planning to do. I'm hoping to get some ideas myself and may also help some people just starting this journey.. I'll start - This is my good morning sequence and it's triggered on weekdays at 6:40 and 8:00 on weekends by a scheduler derived from @Sankotronic Main Scene code. Music control is with the sonos-htt-api and TTS is AWS Polly. I have some sleep steps that I removed to allow some actions to finish before others start or just to provide seperation. Group 4 music zones upstairs using sonos api presets, select zones, radio station and play at zero vol Change radio station if station not available Set home mode (This may be redundant) Set sleepstate to Awake mode Switch ON Satelite Box Raise vol in master bedroom slowly to preset level Raise music vol in landing room slowly to preset level Raise music vol in kids1 room room slowly to preset level Raise music vol in kids2 room room slowly to preset level Set alarm to UNSET TTS Morning Greeting (weather, temp etc) - Master Bedroom Switch main bathroom mirror light on for kids TTS Morning Greeting (weather, etc)- kids1 room TTS Morning Greeting (weather, etc)- kids2 room Wait for motion trigger in kitchen and switch on kitchen spotlights Slowly raise the other lights to preset levels Slowly raise the kitchen, hall and playroom music to preset levels What else are other people doing ? Thanks -f
  21. Hi all I have a simple scene that says that if the night variable is set and if the Porch and Driveway lights are off and if front door is breached, it should switch the Porch and Driveway light on for 300 seconds. I have put the 300 as a value in the device.. however, when I opened the door in the morning, the lights didn't switch on at 6AM but when I returned home at 7AM, they were on. That would mean that what I thought was a setting to keep the lights on for 300 seconds is not really that but is a delay of 300 seconds. Am I correct in understanding this ?? Haven't touched the scenes for a while and need to get back into this. I have attached a screenshot of the scene and also the LUA code it generated. How can I change the code to keep the lights on for 300 seconds and then switch off? Thanks in advance. FibaroTestSceneLua.txt
  22. Hi, I have been working to automate more of my morning routine and wanted to share what I have to date Questions, ideas, comments, refinements welcome -f --[[ %% properties %% events %% globals --]] local jT = json.decode(fibaro:getGlobalValue("HomeTable")) if (fibaro:countScenes()>2) then fibaro:abort() end fibaro:call(jT.vd.SonosPresets, "pressButton",2) -- Group zones, select radio and play at zero vol fibaro:sleep(5000) -- sleep 5 seconds for preset to complete fibaro:call(jT.vd.SonosPresets, "pressButton",16) -- Change radio station if station not available fibaro:sleep(5000) -- sleep 5 seconds for channel selection fibaro:setGlobal( "House_Mode", "HOME") -- set home mode (This may be redundant) fibaro:setGlobal(sleepState, sleepStateMapping.Awake) -- Set sleepstate to Awake fibaro:call(jT.vd.MediaSourcePresets, "pressButton",3) -- Switch ON Sat Box fibaro:call(jT.vd.SonosPresets, "pressButton",13) -- raise vol in master bedroom slowly fibaro:sleep(3000) -- sleep 30 seconds fibaro:call(jT.vd.SonosPresets, "pressButton",14) -- raise vol in landing room slowly fibaro:sleep(3000) -- sleep 30 seconds fibaro:call(jT.vd.SonosPresets, "pressButton",11) -- raise vol in twins room slowly fibaro:call(jT.vd.SonosPresets, "pressButton",12) -- raise vol in franks room slowly fibaro:sleep(30000) -- sleep 30 seconds fibaro:call(jT.vd.AlarmManagement, "pressButton",16) -- Set alarm to UNSET fibaro:sleep(5000) -- sleep 5 seconds fibaro:call(jT.vd.SonosTTS, "pressButton",14) -- Morning Greeting (weather, temp etc) - Master Bed fibaro:call(jT.bathroom.MirrorLight, "turnOn") -- main bathroom mirror light on fibaro:sleep(30000) -- sleep 30 seconds fibaro:call(jT.vd.SonosTTS, "pressButton",15) -- Morning Greeting (weather, etc)- Twins Room fibaro:sleep(20000) -- Sleep for 20 seconds to let greeting finish fibaro:call(jT.vd.SonosTTS, "pressButton",16) -- Morning Greeting (weatherm, etc)- Franks Room fibaro:sleep(900000) -- sleep 15 mins fibaro:call(jT.vd.LightsPresets, "pressButton",21) -- Kitchen Morning Lights scene
  23. I really have a feeling someone will reply and i feel stupid... but.. How do you call a scene so it will start from a VD? fibaro:call(id,'start') doesn't work, and i can't really see examples for it.
  24. Hi HC2 guru's Would a scene with a xxx value in the header/properties or a VD main loop be more efficient (ie use less resources) if I wanted to use a sensor (motion, light, humidity) to trigger an action. I find some of my sensors don't always react to a scene header trigger and in a vd. I think I could also exert a better level of control with repeat triggers with a vd but I wanted to make sure that this approach wouldn't impact the HC2 excessively Thanks -f
  25. Hi! Let me explain what I'm dealing with. I have two scenes: 1st scene - check if power consumption on switch <10W, if yes - trigger 2nd scene with 30 second delay, 2nd scene - check if power consumption on switch <10W, if yes - turn off power switch. Quite simple, right? Thing I would like to achieve is: If power consumption is <30W for 30 seconds - turn off, if within these 30 seconds power consumption rise over 30W (something starter running) - do not turn off. What's wrong? When 30 second pass - no matter what is power consumption switch is turned off. My suspicion is that when Fibaro checks power consumption at 1st scene it does not check consumption at 2nd and just takes 1st measurement. Please help! I attach both scenes:
×
×
  • Create New...