Jump to content

HansAvlund

Member
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About HansAvlund

  • Rank
    Newbie

Profile information

  • Country
    Norway
  • Gateway/s
    Home Center 2
    Home Center Lite

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. HansAvlund

    Adjustable White LED strips

    I think I might have found a solution, but have not tested this yet. If anyone knows if this works, it would be wonderful Include RGBW and set controlled device to "Input / output" Using a common 24V power supply for RGBW and LED -strips I can controll 2 outputs individual. The two other devices I choose to hide in GUI. Thanks!
  2. HansAvlund

    Adjustable White LED strips

    Hello! Any ideas on how to get a 3-terminal white led strip to work properly together with a RGBW? It has adjustable warm and cold white, and ground. Also the LED strip require +24V. Something like this: https://www.led-lighthouse.co.uk/led-strip-lights/white-cct-adjustable-led-strip/cct-adjustable-white-led-strip-3527-120led-m-waterproof-24v Any ideas on how to get this to work?
  3. HansAvlund

    Autostart sceene

    Thanks for the answer. Been fiddeling around with the sceene. And so far I have got (see file attached) I am pretty saticfied with how this code works, and I think I will keep it this way. If not any of the experts on the forum sees a incoming problem with the code. I attached new code. This sceene basicly controls the blinds according to time, and lux. It triggers when motion sensor changes Lux value. persienne.lua
  4. HansAvlund

    Autostart sceene

    Hello! Probably very stupid question. But... Cant seem to find out how to get this sceene to autorun. Have done a bit of searching in the forum, but cant seem to find anything that works? atleast I cant get it to work. This sceene controlls blinds. Their posision and their angulation. I use scene run : Automatic. Max running instances : 5 I used while true do function and a delay. But it does not seem like the best way to implement this... I also tested local selfrun, and local refresh. But did not seem to work Any idea how to make this sceene run one every 2 minutes or something? Thanks! the code: --[[ %%autostart %% properties %% events %% globals --]] --[[ ID: 1267 = Persienne kalle 1264 = Trappegang/ arkiv 1261 = Spiserom Ø-Side H 1255 = Spiserom Ø-Side V 1227 = Nytt møterom ]]-- -- While true do brukes for att denne scenen skal kjøre hele tiden. local selfRun = true local refresh = 120 h = tonumber((os.date('%H%M'))) posisjon = tonumber (fibaro:getValue(1261, "value")) vinkling = tonumber (fibaro:getValue(1261, "value2")) Lux = tonumber (fibaro:getValue(1272, "value")) Tidned = 630 Tidopp = 1800 -- Kjøres når persienne skal opp for natten. Mellom 1800 og 0630 if ( h > Tidopp or h < Tidned) and (posisjon < 10) then fibaro:call(1267, "open") fibaro:call(1264, "open") fibaro:call(1255, "open") fibaro:call(1261, "open") fibaro:call(1227, "open") end -- Kjører hvis kl er mellom 0630 og 1800 og Lux verdien er mellom 1200 og 20 000, solskjemingen må være opp fra før for att denne kommandoen skal kjøre. if (h > Tidned and h < Tidopp) and (Lux > 1200 and Lux < 20000) and (posisjon > 90)then fibaro:call(1267, "close") fibaro:call(1267, "setValue2", "60") fibaro:call(1264, "close") fibaro:call(1264, "setValue2", "60") fibaro:call(1255, "close") fibaro:call(1255, "setValue2", "60") fibaro:call(1261, "close") fibaro:call(1261, "setValue2", "60") fibaro:call(1227, "close") fibaro:call(1227, "setValue2", "60") end -- Kjører hvis Lux verdien er undere 20 000 og solskjemingen er nede og vinkelen ikke er satt til 60 fra før if(Lux < 20000) and (posisjon < 10) and (vinkling ~= 60) then fibaro:call(1267, "setValue2", "60") fibaro:call(1264, "setValue2", "60") fibaro:call(1255, "setValue2", "60") fibaro:call(1261, "setValue2", "60") fibaro:call(1227, "setValue2", "60") end -- Kjører hvis Lux verdien er over 20 000 og solskjemingen er nede og vinklingen ikke er satt til 35 fra før. if(Lux > 20000) and (posisjon < 10) and (vinkling ~= 35) then fibaro:call(1267, "setValue2", "35") fibaro:call(1264, "setValue2", "35") fibaro:call(1255, "setValue2", "35") fibaro:call(1261, "setValue2", "35") fibaro:call(1227, "setValue2", "35") end -- Scene som kjører hvis det er veldig skart ute og solskjermingen ikke er tatt ned. if (h >= Tidned and h <= Tidopp) and (Lux > 20000) and (posisjon < 90) then fibaro:call(1267, "close") fibaro:call(1267, "setValue2", "35") fibaro:call(1264, "close") fibaro:call(1264, "setValue2", "35") fibaro:call(1255, "close") fibaro:call(1255, "setValue2", "35") fibaro:call(1261, "close") fibaro:call(1261, "setValue2", "35") fibaro:call(1227, "close") fibaro:call(1227, "setValue2", "35") end -- tar en pause på 1min før den looper tilbake på starten. end
  5. HansAvlund

    Can`t find HC2 after put in recovery.

    Hello! We recived a broken HC2 at the office. Reporting that an end-user can`t connect to the HC2. Can`t find the HC2 with Fibaro finder nor using Advanced IP Scanner (looking for a mac adress) I have tried using the backup IP adress: 192.168.81.1, adjustig my computer to 192.186.81.x. Still cant find it with Fibaro Finder / Advanced IP Scanner. Tried regular boot multiple times with and without Recovery Stick plugged in. When I did regular boot. ONLY the power LED was lit up. And yes, I know the ethernet port I used has a direct connection to my computer. (As i use it on a daily basis.) Any suggestions on this? Is there some sort of "Quick fix"? Or do Fibaro need to take a look at this. Thanks! Best regards Hans
×