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


marecki_0luk1

Member
  • Posts

    284
  • Joined

  • Last visited

2 Followers

About marecki_0luk1

Profile information

  • Gender
    Male
  • Country
    Wrocław@Poland
  • Gateway/s
    Home Center 2

Contact

  • Website URL
    http://www.id-club.pl

Recent Profile Visitors

506 profile views

marecki_0luk1's Achievements

Smart User

Smart User (3/8)

23

Reputation

3

Community Answers

  1. Solution I found on this forum - so simple, so great local function filterPartitions(filter) local res = {} for _,p in ipairs(api.get("/alarms/v1/partitions") or {}) do if filter(p) then res[#res+1]=p.id end end return res end local function getAllPartitions() return filterPartitions(function(p) return true end) end local function getArmedPartitions() return filterPartitions(function(p) return p.armed end) end local function getActivatedPartitions() return filterPartitions(function(p) return p.secondsToArm end) end local function getBreachedPartitions() return api.get("/alarms/v1/partitions/breached") end lva_allPartitions = getAllPartitions(); lva_armedPartitions = getArmedPartitions();
  2. Anybody know what to do ? Fibaro stuck at: Also cannot enter recovery mode. Ps. Sometimes I regret that I bought that s**t.
  3. Does anybody recive any help in this topic?
  4. stupid question->stupid answer. i want to buy a car how much will i spend ? stupid question->stupid answer. i want to buy a car how much will i spend ?
  5. at least $50k. Have you ever think to put information about house and what would you like to control ?
  6. https://www.dobregniazdka.pl/eliminator-rozblyskow-wksl-do-zrodel-energooszczednych?gclid=Cj0KCQjwn-bWBRDGARIsAPS1svtbl0_Zs0amp-xxnTU2vifxcpFNPg_w7ECirSDkAJp7e-8gmHBkrhoaAu45EALw_wcB
  7. Yes you should put 24V, but please dont do it on your own.
  8. Of course it is. I am using old double switches which has "IN" terminal. Attach to "IN" 24V and thats all. Look for FGS-212 or FGS-222.
  9. @Nexus try this code which I use to Satel Icons. Put it under button in VD. -- CHANGE IDs OF SATEL SENSORS IN EACH GROUP -- lva_SensorsPIR = {2,3,4}; lva_SensorsFlood = {5,6,7}; lva_SensorsWindow = {8,9,10}; lva_SensorsDoors = {11}; lva_SensorsGarageDoor = {12}; lva_SensorsGlass = {13}; -- PUT ICONS ID FOR EACH TYPE OF DEVICE lva_IconsPack = {PIR = 3237, Flood = 3241, Window = 3238, Doors = 3239, GarageDoor = 3246 , Glass = 3247}; lva_Device = {PIR = lva_SensorsPIR, Flood = lva_SensorsFlood, Window = lva_SensorsWindow, Doors = lva_SensorsDoors, GarageDoor = lva_SensorsGarageDoor, Glass = lva_SensorsGlass}; -- END OF CUSTOMIZATION -- for k, v in pairs(lva_Device) do fibaro:debug(k); for i=1, #lva_Device[k] do VD = Net.FHttp("127.0.0.1", 11111); lvs_PUTcall = '{"id": '.. lva_Device[k][i] ..',"properties": {"deviceIcon": '.. lva_IconsPack[k] ..'}}'; fibaro:debug(lvs_PUTcall); VD = VD:PUT("/api/devices", lvs_PUTcall); VD = nil; end; end;
  10. @A.Smolinski please close this topic. I have just uploaded my solution to:
  11. Version 0.6.0

    572 downloads

    Automatic Icon Downloader What does this device: Device can automatically download from dedicated web-page all icons that you use to your HC2. The device can be used by installers to easily download their favorite sets of icons to new HC2, by end users to get back icons after recovery or any other purpose. Device before uploading any icon to your HC2 check if any of selected in IconSet already exists so it should be safe to click on "Download to HC2" button many times. This solution has to separate parts: vd and portal. Version history: 0.6 - first published version of AID To Do VD: - future version of virtual device will be updated automatically from internet if user agreed to do it, after HC2 restart To Do portal: - next version will support adding user device icon to library (on, off, state 1-10) Manual 1. Download and install virtual device. 2. Go to: www.grace-land.pl/fibaro/aid portal to get your IconSet. Current version looks like below. Please note some important things: - HC2 keeps your icons in 4 separate groups: devices, virtual devices, scenes, rooms. It means that if you want to use one image as room image and virtual device image it needs to be added twice - that is why portal items are divided into four groups (for user convenience - each group has different color) How the portal works? You just check all icons in each group you want to add to your IconSet and then click "Get your IconSet". Please remember that you can edit this IconSet later. What if I have icon/s that is not in portal library? There is option to upload your icons and make library bigger. In this case you click on "Add new icons" button. You will be redirected to new page. Please note some important things: - You can upload many files and many groups in the same time, - All icons will be checked before upload. Icon needs to be: PNG file, 128x128 size, unique [portal checks if this icon exists in this group*], no bigger then 1MB (one icon), - You will see preview of icons that you want to add but without category, - For now there is no option to add "device" icons. I am working on it to make it simple, - You will get status whats was added and what not. How to edit my IconSet? You need to know your IconSetID and then click on "Edit your IconSet" button. Page will refresh and all icons from your set will be automatically checked. What you need to do is to check more icons or uncheck unwanted icons and then click "Update your IconSet". Please note that VD doesn't delete icons from your HC2. 3. After you have your IconSetID there is time to configure virtual device. In this case you need to provide some information. a) In VD information please provide IP and TCP port. IP: grace-land.pl TCP port: 80 b) In Advanced tab scroll to button and replace needed credentials. c) click "Save". Please note that virtual device only downloads data so there is no risk in providing credentials. ------------------------------------------------- -- PUT YOUR ADMIN CREDENTIALS ------------------------------------------------- sv_user = '[email protected]'; sv_password = 'Y0urP@ssword'; sv_automaticDownloaderId = 'iconSetID_from_website'; 4. Your device is ready to use. You just click on "Download to HC2" and wait. All needed information is in debug for vd button. Device before uploading any icon to your HC2 check if any of selected in IconSet already exists so it should be safe to click on "Download to HC2" button many times, but it will take a while. Have fun! Disclaimer: Every of icons on portal [grace-land.pl/fibaro/] aid library are not my property. The code wasn't inspired by the somebody mentioned in comment below - the first version of uploading I found in 2013 [https://github.com/rafikel/Fibaro/tree/master/ncplus] - and I went this way to make something usefull.
  12. You need to open folder and use CTRL+A then click select - you choose multiple icons images but you cannot click on folder name.
  13. @jompa68 did you check new portal version (I deployed it yesterday)? Now you can add many icons in the same time. Still the "devices" upload is not working - I am thinking about it
  14. @samuel there is now option to edit your iconset ! have fun
×
×
  • Create New...