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


xirilius

Member
  • Posts

    19
  • Joined

  • Last visited

About xirilius

Profile information

  • Gender
    Male
  • Country
    the Netherlands
  • Gateway/s
    Home Center 2
    Home Center Lite
    Other / Inne
  • Interests
    ICT, Domotica, Gadgets, Books, Movies, Electronics, Friends

Recent Profile Visitors

192 profile views

xirilius's Achievements

Newbie

Newbie (1/8)

0

Reputation

  1. Hello all, In the QA editor on the left there are two icons, a cube and a list, after pressing the list icon it is possible to add extra lua files. I searched allover this forum, maybe somewhere there is a manual but i did not find it. I think one can use this for splitting a big lua file in more readable sections (main, menu, screen,devices,calculate,etc) But how do i call the functions? I tried changing the function name, i used the filename instead of self, so i typed 'menu:Blahblah(12)' in the main file to call a function in the 'menu lua file' but that does not work.
  2. This works fine but i use a lua scene (just for the trigger) and a QA. My question is: "is it possible without the extra lua scene?" And how does that work? How can i combine this? (Put the triggering in the QA itself)
  3. How can i trigger a QA function by a sensor? I can use a scene to call the QA function, is it possible without the extra lua scene? In a lua scene in DECLARATIONS i can set a trigger for a motion sensor (id:36) { conditions = { { id = 36, isTrigger = true, operator = "==", property = "value", type = "device", value = true } }, operator = "any" } And then in ACTIONS i can call a QA function "Action" with ID:48 fibaro.call(48, "Action")
  4. Hmmmm, strange......... i was scrolling through the HC2 docs (hc2_ip/docs) but i must have overlooked that one Thanks for your very fast response!
  5. Hello, Is it possible to get the HC name (Serial Number like HC2-030XXX) within a lua script? Maybe with a API call or through the __ENV variable? Thanks in advance
  6. Hello, the new V2.6 Heat-it thermostats can measure the power usage and that is great, but is it also possible to overrule the measured power by setting a 'declared power consumption'? I connected 'a big 3-fase Crydom solid-state relay' on the heat-it output (8 Kw electric heating is a little too much for the Heat-it), so the Home Center consumption graph shows only 0.2 watt (relay power usage)
  7. Hello, I'm lost.... can i use linked devices (or something else) to combine Heating Panel (HP) with Heat-it Thermostats (HT)? I want to use the time and temp settings in HP and send them to my thermostats. Can HC2 do this for me or do i have to write a LUA scene, i know how to write that scene, so that is not the problem. I need to know if this is a standard HC2 option or not. Example: at 7:00 HP-1 sends 20 degrees to HT-1 in the livingroom, HT-1 shows the temperature in the display and controls the heating at 09:00 HP-1 sends 15 degrees to HT-1 in the livingroom, HT-1 now shows the low 15 temperature. at 8:00 HP-2 sends 20 degrees to HT-2 in the office, HT-2 shows the temperature in the display and controls the heating at 17:00 HP-2 sends 15 degrees to HT-2 in the livingroom and so on with the other thermostats and Heating Panels.
  8. Hello Satori, Dit you find a solution? I have exactly the same problem with 1 (out of 5) smoke sensors (type: FGSD-002 EU). A few weeks ago (offcourse in the middle of the night) it starts beeping and it never stops. It beeps once every minute. I removed it multiple times from the Z-wave network (Fibaro Homecenter 2) and i added it again and again. Also i did some factory resets with the B-button on the Smoke Sensor and i changed the battery but it keeps beeping. I cleaned it by blowing air through the device with a can compressed air and later with a air-compressor. See my smoke sensor graph below this text, it jumps from 20 to 30 after resetting the device, so i think it must be a firmware problem......
  9. No, i want to create functions who are accessible from every scene
  10. Hello, Is it posible in HC2 LUA to create global functions? I use o lot of functions over and over again and have to include them in every scene Is it possible to create functions in a centralized scene and use them from every other scene? Example: ------------------------------------------------------------------------------------ GlobalFunctions ------------------------------------------------------------------------------------ global function BeepXseconds(x) fibaro:call(42, "turnOn") fibaro:sleep(x * 1000) fibaro:call(42, "turnOff") end global function MyDebug(text, color) -- read GlobalGlob if DebugGlob = true then -- do something with formatting text, add OS.date and add colors fibaro:debug(text) end end ------------------------------------------------------------------------------------ now i can use the global functions in other scenes ------------------------------------------------------------------------------------ scene 161 - TurnAlarmOn ------------------------------------------------------------------------------------ -- do something MyDebug("Turn Alarm on", "red") BeepXseconds(5) -- do something ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------ scene 254 - Doorbell ------------------------------------------------------------------------------------ -- do something MyDebug("Someone is ringing", "BLUE") BeepXseconds(2) -- do something ------------------------------------------------------------------------------------ AND OFCOURSE I CAN CREATE SCENES AND USE THEM LIKE GLOBAL FUNCTIONS BUT PARSING VARIABLES IS NOT THAT SIMPLE, I THEN HAVE TO USE GLOBAL VARIABLES REAL GLOBAL FUNCTIONS (LIKE A LIBRARY) WOULD BE GREAT !!!
  11. Thanks! Did you or someone else update the firmware by OTA or by the cable? Some websites offer a cable to update the firmware https://www.vesternet.com/cable-for-heatit-thermostat-software-updates https://www.robbshop.nl/update-kabel-voor-heat-it-thermostaten https://smarterhome.sk/en/accessories/kabel-pre-softverovu-aktualizaciu-termostatov-heatit-316.html But on the HeatIT website you can see 'Firmware updates (OTA)' OTA = Over the Air, so you don't need a cable, you can wireless update via zwave with Fibaro HC2 or another controller. https://www.heatit.com/z-wave/heatit-z-temp/
  12. Hello, Is it possible to read the relay state from the Heatit thermostat with LUA? i can read the setpoint, roomtemp, but not if the heating/cooling is on or off fibaro:getValue(50, "value")) >> setpoint fibaro:getValue(51, "value")) >> roomtemp I also tried a lot of the other getValue commands, like 'mode' and 'thermostatState' but nothing happens And of course i can create a scene that calculates the difference between roomtemp and setpoint, so that the relay is on if roomtemp - setpoint > diff but i like to check the real state
  13. Hello, I can put data in Virtual device labels with a for loop in LUA code: fibaro:call(63, "setProperty", "ui." .. Labels[n] .. ".value", kwh[n] .. " Kwh") What property (like value) do i use to change the name of these labels? Where can i find this documentation? (it is not in http://myhc2ip/docs) Thanks!
  14. Hello, Is it possible to send data from my HC2 to a FTP server? Thanks! I know that i can send data to a (MySQL) database but that is not what i need
  15. Yes that is a fine solution, we use lots of RGBW controllers for electric heating and other stuff. Always use a flyback diode (inverse polarity !!!) on the valve coil to protect the RGBW outputs (eliminate voltage spikes across an inductive load) Or maybe better connect a solid-state relay to the RGBW outputs and connect the valves (high power on 12 volt dc) or other stuff (230 volt ac) to the solid-state relays This circuit are we using for many electric heaters controlled by my Lua code on Fibaro HC2's, and we use solid-state relays because they are silent, no standard relais clicking noise.
×
×
  • Create New...