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

  • 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 all, I have an Itho Eco RFT ventilation box, wich can be controlled by a wifi interface. You can make api requests, wich work fine i.e. a browser. Here are te requests that are available: http://192.168.x.x/api?action=Low http://192.168.x.x/api?action=Medium http://192.168.x.x/api?action=High http://192.168.x.x/api?action=Timer http://192.168.x.x/api?action=Learn http://192.168.x.x/api?action=reset&value=true I want to put this in a VD. 3 buttons for "Low, medium and high". How can I put these URL's under the buttons? Thanks!
  2. [VD] HC2 Icon preview v2.1 Dear Fibaro friends! As you know, the worst part of importing and setting up virtual devices is finding icons ID's. How many times you noticed my VD's here with beautiful icons , but when you imported it all beauty is gone and there is just that ugly, blue box And then even when you manage to import those beautiful icons of mine then what? In code you have to setup some iconID but where to find that? Well, the time finally came to put us all to the end of that misery!!! Here it is, HC2 Icon Preview VD in its glory: This latest version can be found here for download: Enjoy coding!
  3. In most of my VD's on the WebGUI, I got a slider on the right side from label. It only appears in labels from VD's Before 4.150 it was ok Now at V4.160, not solved yet. Can Fibaro confirm this as a BUG ? Update: I noticed that on Internet explorer it turns out ok, would it be a cache thing from the chome browser?
  4. Hi, I have an issue to control some devices by iPhone or iPad. Most of the time I can't switch a VD by iPhone or iPad. It either responds very late 20min to 1h or never, but sometimes it goes directly. The VD's are AC's and TV's controlled by IR converter iTach. The icon on the phone/pad changes directly but no response at the device. I checked the iTach and it works correct if I operate it directly by other software. Currently I'm running 4.153, but the problem was there before. Any suggestion are welcome
  5. My Virtual Device (VD) get stuck after a while trying to decode json data. The error is: expected value but found t_end at character 1 Is there any solution to fix that? I've tried to add more seconds with fibaro:sleep but no results. Thanks for your help, Tomax
  6. Hi All, So, I have the LG tv plugin installed but apparently it cannot turn the tv on from standby. My thoughts are to write a scene to send an IR command from a GC ITACH that I am already using for Roomba etc. Anyone help me on how to write the scene, and get the standby button on the plugin to trigger it? Many thanks
  7. I have an VD to gather real time values for monitoring battery bank. I can see these values in HC2 but not in Fibaro App (android). Is there an Fibaro App bug? Could be fixed somehow? Thank a lot for any feedback, Tomas
  8. Does anyone have a VD that can have several buttons that kan keep a light (or several) on for a certain time, e.g 3 hours, 4 hours etc. Or a suggestion to a scene (preferable block scene) that can do the same. I experience that with so long delay with timer to shut off a ligh in block scene I get problems with "to many instances"
  9. Hi, My name is Raul. I'm volunteering in a residence for people with disabilities where we're trying to setup a domotic system for a therapy SPA. I'm configuring a scene where Sonos needs to play a couple of songs that are hosted in PC (for the moment). I set up the Music library without any problems. However, when referencing the path to the song, the Sonos app prompts the following message: "Unable to play track1.mp3 - cannot connect to /// because the server cannot be found" To give you more context, here you can find the tutorial I'm using: https://doonic.wordpress.com/2015/08/14/sonos-und-fibaro-hc2/ Works for the radio although I don't need it. I'm only interested in playing my local mp3 files. My music library: Local path: C:\MusicSonos Sonos Music Library path: //DESKTOP-PVTSA31/MusicSonos/ Predefined variable SONOS_MUSIC set to //DESKTOP-PVTSA31/MusicSonos/track1.mp3 Not sure what I'm missing here. Could you please give me a hand? Thanks a lot!! Raul.
  10. Hi, I'm locking for how to read-out the VD's uiLable in a scene. I did try the following: fibaro:getValue(167, "ui.Label1.value") == "open" but it doesn't work. Any help on that is very welcome. Thanks
  11. Hi, I am using Global cache (WiFi2IR) to control my all IR devices with Fibaro HC-2 (4.140). 1. When there is no internet at that time HC-2 is not able to communicate with Global cache. 2. Certain time i have to press VD button multiple time to send proper IR command.
  12. Hi, is there a way to have 2 buttons for VD's on the UI? Two buttons like a regular light (on/off). any suggestion are welcome
  13. I was trying to find workaround here but without success. So I request for a new feature. Possibility to break line in labels of VD on all devices (web UI, iOS mobile, Android mobile) in one common way. Actually: web UI supports html tag <br/>, but mobile not (mobile displays tag as <br/>) iOS supports \n Android doesn't support <br/> nor \n Solution can be done in 2 ways: a) support <br/> tag on iOS and Android mobile or b) support \n on webUI and Android Examples how line breaking looks like actually: web UI iOS mobile Android mobile
  14. Hi I'm trying to break line in VD label. Do you have a solution for this? My VD has got 3 labels: Label 1: line 1<br/>line 2 Label 2: line 1\nline 2 Label 3: line 1<br/>\nline 2 Label 1 looks good on www but not on iOS mobile. Label 2 looks good on iOS mobile but not on www. Label 3 looks good on www but not on iOS mobile. Every of these 3 labels looks bad on Android mobile. www mobile iOS mobile Android My VD: Line_Break.vfib
  15. hi, I made this VD a while ago. It makes a weekly report of the HC2 and works pretty good but I want to move in to a scene. I used Net.FHttp and this doesnt work in scenes. Can somebody help? Regards Martijn --- UPDATE MEMORY VARIABLES fibaro:call(fibaro:getSelfId(), "pressButton", "8") --- MAKE CONNECTION connection = Net.FHttp("127.0.0.1", 11111); --- FUNCTION REQUEST DEVICES getData = function() --- MAKE CONNECTION response ,status, errorCode = connection:GET( "/api/devices/" ); --- STATUS NOTIFICATIONS fibaro:debug("status = " .. status); fibaro:debug("errorCode = " .. errorCode); --- IF SUCCES if (tonumber(status) == 200) then --- DECODE TO LUA TABLE deviceTable = json.decode(response); end return deviceTable; end --- FUNCTION REQUEST CONSUMPTION getConsumption = function(url) --- MAKE CONNECTION response ,status, errorCode = connection:GET( url ); --- IF SUCCES if (tonumber(status) == 200) then consumptionTable = json.decode(response); end return consumptionTable; end --- CONSTRUCT SUBSTRACTION DAYS START DATE OF LAST WEEK if(os.date("%a") == "Mon") then substract = 7 elseif(os.date("%a") == "Tue") then substract = 8 elseif(os.date("%a") == "Wed") then substract = 9 elseif(os.date("%a") == "Thu") then substract = 10 elseif(os.date("%a") == "Fri") then substract = 11 elseif(os.date("%a") == "Sat") then substract = 12 elseif(os.date("%a") == "Sun") then substract = 13 end --- SET VARIABLES UserId = 2; lowBat = 70; SelfId = fibaro:getSelfId() dev = getData(); lowBattDevices = ""; deadDevices = ""; totalConsumption= 0 ; heavyConsumption= ""; now = os.date("*t") week_start = os.time({year=now.year,month=now.month,day=now.day-substract,hour=0,min=0,sec=0}) --, week_end = week_start + 604799 -- plus a week --- LOOP THROUGH DEVICES for i = 1, #dev do --- SET VARS batLevel = tonumber(dev.properties.batteryLevel); deadValue = dev.properties.dead; deviceName = tostring(dev.name); prestr = "[" .. dev.id .. "] ➜ " .. deviceName; --- DEAD DEVICES if(dev.visible == true and deadValue == "true") then --- TRY TO WAKE fibaro:wakeUpDeadDevice(dev.id) fibaro:sleep(2*1000); --- CHECK IF STILL DEAD if(fibaro:getValue(dev.id, 'dead') ~= "1") then deadDevices = deadDevices .. prestr .. " ✔ Woke up \n"; else deadDevices = deadDevices .. prestr .. " ❌ Did not wake up \n"; end end --- LOW BATT / IF FIELD EXISTS if (dev.visible == true and dev.properties.batteryLevel ~= nil and (batLevel < 100 or batLevel == 255)) then --- ONLY LOW BAT OF ALLREADYDEAD if(deadValue == "true" or batLevel <= lowBat or (deadValue ~= "true" and batLevel == 255)) then -- lowBattDevices = lowBattDevices .. prestr .. " - " .. string.format('<%s style="color:%s;">%s</%s>', "span", "red", dev.properties.batteryLevel .. " %", "span") .. "<br>\n" lowBattDevices = lowBattDevices .. prestr .. " - " .. dev.properties.batteryLevel .. "% ❌ \n" else lowBattDevices = lowBattDevices .. prestr .. " - " .. dev.properties.batteryLevel .. "% ✔ \n" end end --- CONSUMPTION if (dev.visible == true) then --- SET VARS url = "/api/energy/" .. week_start .."/" .. week_end .. "/compare/devices/power/" .. dev.id Consumption = getConsumption(url); --- ONLY IF THERE IS A KWH FIELD if(Consumption[1].kWh ~= nil) then --- SET VARS kwh = tonumber(Consumption[1].kWh) --- HEAVY USERS LOOP if kwh > 1 then heavyConsumption = heavyConsumption .. prestr .. " ⚡ " .. Consumption[1].kWh .. " kWh \r"; end --- TOTAL CONSUMPTION SUM totalConsumption = tonumber(totalConsumption) + kwh end end end --- CONSTRUCT MAIL HOME REPORT emailContent = "Weekly Home Report \n"; emailContent = emailContent .. "Date: " .. os.date("%d %b %Y - %H:%M") .. "\n \n"; emailContent = emailContent .. "⎋ Low Battery\r"; emailContent = emailContent .. lowBattDevices .. "\r \r"; emailContent = emailContent .. "⎋ Dead Nodes\n"; emailContent = emailContent .. deadDevices .. "\n \n"; --- SEND MAIL fibaro:call(UserId,"sendEmail", "Weekly Home Report " .. os.date("%d %b %Y - %H:%M"),emailContent); --- CONSTRUCT MAIL CONSUMPTION REPORT emailContentConsumption = "Weekly Consumption Report \n"; emailContentConsumption = emailContentConsumption .. "Date: " .. os.date("%d %b %Y - %H:%M") .. "\n \n"; emailContentConsumption = emailContentConsumption .. "⌘ Consumption\n"; emailContentConsumption = emailContentConsumption .. "From: " .. os.date("%d %b %Y",week_start) .. " till " .. os.date("%d %b %Y",week_end) .. "\n \n"; emailContentConsumption = emailContentConsumption .. "Heavy consumption \n"; emailContentConsumption = emailContentConsumption .. heavyConsumption .. "\n\n"; emailContentConsumption = emailContentConsumption .. "Consumption total\n"; emailContentConsumption = emailContentConsumption .. totalConsumption .. " kWh \n\n"; --- SEND MAIL fibaro:call(UserId,"sendEmail", "Weekly Consumption Report " .. os.date("%d %b %Y - %H:%M"),emailContentConsumption); --- CONSTRUCT MAIL CONSUMPTION REPORT emailContentMemory = "Weekly Memory Report \n"; emailContentMemory = emailContentMemory .. "Date: " .. os.date("%d %b %Y - %H:%M") .. "\n \n"; emailContentMemory = emailContentMemory .. "⌽ Memory\n"; emailContentMemory = emailContentMemory .. "➜ Free memory: " ..fibaro:getValue(SelfId, "ui.labFreeRam.value") .. "\n"; emailContentMemory = emailContentMemory .. "➜ Maximum free: " ..fibaro:getValue(SelfId, "ui.labMax.value") .. "\n"; emailContentMemory = emailContentMemory .. "➜ Minimum free: " ..fibaro:getValue(SelfId, "ui.labMini.value") .. "\n"; emailContentMemory = emailContentMemory .. "➜ Memory Cache: " ..fibaro:getValue(SelfId, "ui.labCache.value") .. "\n"; emailContentMemory = emailContentMemory .. "➜ Memory Buffers: " ..fibaro:getValue(SelfId, "ui.labBuffers.value") .. "\n"; emailContentMemory = emailContentMemory .. "➜ Memory Used: " ..fibaro:getValue(SelfId, "ui.labUsed.value") .. "\n"; emailContentMemory = emailContentMemory .. "➜ Storage: " ..fibaro:getValue(SelfId, "ui.labStorage.value") .. "\n"; --- SEND MAIL fibaro:call(UserId,"sendEmail", "Weekly Memory Report " .. os.date("%d %b %Y - %H:%M"),emailContentMemory);
  16. Hi all, Is it possible to create a "tapable" virtual device? Meaning that - for example like the Fibaro plug - when you tap it it can execute some LUA code? What I want to do is quite simple: I have automatic lights in the bathroom, which is great. However, sometimes I want to take a bath and I do a) not want the lights to turn off automatically and b) set the lights to the lowest setting. I know how to achieve this in LUA, however I want to have a VD that I just tap to turn it on and off and perhaps change the icon while I'm at it. Is this possible? Thank you for your help, much appreciated. KR, Kristof
  17. Hey Guys, Trying to send a HTTP String from my HCL VD but it's not working.. anyone see what I'm doing wrong, String I'm trying to send is: GET https://api.thingspeak.com/update?api_key=MYKEY&field1=
  18. Hello everyone, I have this code local myDeviceID = fibaro:getSelfId() local value1 = fibaro:getGlobal('bg_ramendeuren') fibaro:call(myDeviceID, "setProperty", "ui.Label1.value", value1) if value1 == "Open" then fibaro:call(744, "SetProperty", "currentIcon", 1008) else fibaro:call(744, "SetProperty", "currentIcon", 1010) end But what I want it to do (change the icon based on the global variable) doesn't work and I have no idea what's wrong. The code is running within the "main loop" section of a virtual device. the virtual device only has one label, no buttons. debugging the main loop gives no errors. Hope someone can help me out here.... Greetings, Vincent
  19. Hi. I have a fibaro HC Lite and have recently bought a Sonos Play:1. I would like to use the double click of my kitchen light switch to 'play' the speaker and then again to pause it.I've installed the plugin and have it working but I cannot see the device when in the graphical blocks scene builder, nor is it showing as a virtual device.I also tried to get the hcl virtual device to import but it just kept on saying doesn't support LUA code. Even though it was the specific home centre lite virtual device control plugin from the fibaro website.What am I doing wrong? Any advice would be greatly appreciated as I only bought the play:1 as it works with FibaroCheers,Steve
  20. HI I am running 4.134 (just updated issue was in 4.133) I have a very simple VD to change a variable Variable is "Position" VD Below PUT /api/globalVariables/Position HTTP/1.1 Host: 127.0.0.1 Authorization: Basic a2VsdmluQHN1ZHMzMi5jby5uejp######## admin user and password (in my case admin is email address) {"name":"Position","value":"Home"} And PUT /api/globalVariables/Position HTTP/1.1 Host: 127.0.0.1 Authorization: Basic a2VsdmluQHN1ZHMzMi5jby########## {"name":"Position","value":"Out"} Screen shots attached. Basically it does not work anymore but I can't work out why, I have other VD's that have stopped working but the Reboot one works fine
  21. Guest

    MQTT

    Witam, Oto opis sytuacji: mam czujnik temperatury, wilgotności, ruchu oraz natężenia światła. Całość działa pod kodowaniem arduino. Informacje z czujki są wysyłane do serwera mqtt (CloudMQTT). Wygląda to tak na serwerze mqtt: sensornode_2{"state":"OFF","color":{"r":255,"g":255,"b":255},"brightness":255,"humidity":"45.90","motion":"standby","ldr":"903","temperature":"31.40","heatIndex":"26.40"} sensornode_1{"state":"OFF","color":{"r":255,"g":255,"b":255},"brightness":255,"humidity":"48.80","motion":"standby","ldr":"816","temperature":"31.10","heatIndex":"26.20"} Czy da się to przenieść na HC2 jako VD ?? Będę wdzięczny za pomoc.
  22. Hello, I've some of my automatic Somfy automatic curtains connected with a Rollershutter 2. Now i would like to create a Virtual Device with 3 buttons ('Open' , 'Half' and 'Close') and a slider to manage these curtains Is some having a kind of VD for this already of can somebody me give some examples how to create a VD like tis? Thank you in advance! John.
  23. Guest

    Earthquake VD

    Hello, Here is site with earthquake sensors. Any one tried to create VD with these sensors ?? http://quakecatcher.net/qcn-map With regards, pablo77
  24. Hi, Is this is new bug or a feature for a while If I try and create a label ID with a _ it reverts back to the preset label even though the preset ID has an _ Take VD label... change the ID and click save and the label ID reverts back trying the with a simpler ID with no underscore and success... new bug, old bug or just the way it is ? Thanks
  25. Hi, I'm new to HC2 and getting HC2 to know little by little. I have a VD to control my airco. I have three buttons, Power toggle, Power on and Power off. I have Power on and Power off working. I use LUA for all three buttons. Is it possible to control the Power on and Power off buttons from the Power toggle button? If Yes, could someone please provide me with some sample code? Thanks, FJW.
×
×
  • Create New...