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

  • 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. Hello All, I am looking for some help to create a virtual device for a epson projector that utilizes the PJLink protocol. that way it could be used for a lot of different projectors. I am a newbie and have little experience with coding, Any help would be gtreatly appreciated.
  2. Version 1.1.0

    70 downloads

    Hello Everyone, I 've tried Konnected alarm panel in parallel with my old alarm system, and it is working great. (Konnected) My task that was assigned to myself was to integrate Konnected directly to my HC2. So with a little LUA magic we have ready the Konnected Virtual Device for HC2. You can find the Virtual Device Repository here. Enjoy!
  3. I have a smart switch 6 made by AEOTEC. It took several attempts to add it correctly in HC2. Once it did it added the switch and a Volt and Amp meter. The Amp and Volts work just fine but switching the switch on and off does nothing. to turn it on and off I have to press the action button on the switch. even if I do that the status does not change on HC2. Can someone explain what is wrong? Fibaro bug? I know there has been some issues in the latest versions with parameters but I don't see why it would cause this issue. *Note when I added it on my first several attempts it would say not configured but. was able to turn the device on and off successfully (so I know it does work). this did the same thing on 4.540 and 4.541 beta.
  4. Hi I have to understand the Quick app HC2 code to make the same app to HC3. This Quick App control Multiroom AMCP MR4.50-XT - 4 Zones with Itach RS232 Serial Interface. I do not understand where in the LUA Code call function like above: local ID_VD = fibaro:getSelfId() fibaro:call(ID_VD, "pressButton", "6") fibaro:sleep(600) fibaro:call(ID_VD, "pressButton", "16") fibaro:sleep(600) fibaro:call(ID_VD, "pressButton", "26") fibaro:sleep(600) fibaro:call(ID_VD, "pressButton", "36") fibaro:sleep(300) Where I need to looking for some information about this code? MULTIROOM.vfib
  5. Version 1.0.0

    10 downloads

    v 1.1 22/05/2021 This scene polls if a Shelly Vintage bulb is online and sets its state. The default state is "opposite" which is converted to legal values "on" or "off". When state is a numeric value it is interpreted as brightness setting. Also, this scene can be called from another scene as fibaro:startScene(number_of_this_scene,{ip_number,a_state_as_described_above}); Things are complicated by the asynchronous character of the http call. With many thanks to jgab for the solution to this challenge. There is now also a VD based on this lua.
  6. ISSUE 1 My Fibaro HC2 no longer has a Serial Number displayed in Recovery Mode, Configuration Tab and in the Fibaro Finder Home Center app. Obviously I know what it is, as its on the label underneath, but is there anyway I can re-enter it? - Step by Step if possible??? Perhaps that's why its not getting detected in the cloud for remote access too...? ISSUE 2 EVERY time I attempt to update the software from v4.180 to v4.530, I get the same 503 Error at the end and if I click Refresh, the error re-appears. If I choose Restart Services, it reboots the HC2 and does not complete the upgrade, still on the same version 4.180. It appears to be stuck in a Loop!! Any suggestions?? So frustrating....
  7. Hi, I'm working on a Home Center 2. With all Qubino modules sofar (flush dimmer, Shutter DC, relay 2 and relay 1) there is an error that there is no template available. For Fibaro sensor and dim modules, it works fine. How do I get the correct templates in the Home Center and where can I find them? Thanks! Willem-Jan
  8. Version 1.0.0

    38 downloads

    This VD is a interface to the ping_shelly.lua which can also be found here. The IP-address needs to be configured as shown in the image. The port value ("109") is used/misused to set the number of the lua script in your HC2 ("_lua"). As example here the code for the "on" button: local _self=fibaro:getSelfId() local _addr=fibaro:getValue(_self,"IPAddress") local _lua=fibaro:getValue(_self,\"TCPPort\") fibaro:startScene(_lua,{_addr,"on"}) fibaro:sleep(1000) fibaro:startScene(_lua,{_addr}) fibaro:sleep(1000) local _slider = tonumber(fibaro:getGlobalValue("S" .. string.gsub(_addr,"%.","_"))) if (_slider <= 0) then _slider=10 fibaro:startScene(_lua,{_addr,_slider}) end fibaro:call(_self,"setProperty","ui.brightness.value",_slider)
  9. Some of my devices are randomly becoming dead nodes and will not communicate. I have tried reconfiguring the z-wave network for neighbors but no luck. Any suggestions? I am on HC2 running the latest software update (it happened before I updated to the latest update)
  10. Once the alarm is activated I need to wait for the delay (60 seconds in my case) until the system is armed and THEN run a Scene. I can easily run the Scene at the same time the alarm is activated but cannot find any event or trigger for when the alarm is actually armed. Any assistance greatly appreciated.
  11. Hi. I'm an experienced programmer, but a novice in LUA. 1. I have some qubino smart meters, and would like (of course) to read all the parameters they can provide. It seems to me that every single parameter in them get an ID in HC2. When I want one of the values, i use fibaro:getValue(63,'value'); But: For some of the parameters there are no ID's! So how can I get their values? Examples of missing parameters are 143: Reactive power total and 144: Power factor total How can I get to those? 2. Is there a way to get parameters based on the device parameter numbers? I'd like to use some function v=fibaro:getParameter(main id,parameter number); Is this possible? 3. Where can I find a list of legal parameter values to the getValue call? Helgemor
  12. knuth

    HC3 LUA vs HC2

    In making the transfer from HC2 to HC3 based on a cloud backup (update 4.581 Beta) it is stated that "scenes will not be moved and need to be created again". That's OK, but it would be helpful when planning the transfer to know what the differences are (in syntax and available functions) between the two LUA versions. I know that the new LUA editor is documented in https://manuals.fibaro.com/home-center-3-lua-scenes/ . What I would hope to see in addition, is a side by side comparison of all the crucial differences, to enable a pre-edit of the old LUA scenes before entering them into the new editor. Something like this: If you used this in HC2 LUA: You need to do this in HC3 LUA: fibaro.debug("txt") fibaro.debug("tag", "txt") os.time() ??? etc. If we all contribute to such a table as we identify all the differences, we may be able to help each other prepare for HC3. Not all differences can easily be summarized in the simple two-column format above, however. For the new definition of conditions and triggers, it seems it would be more appropriate to give a few examples of old codes (with triggers) converted to new codes. PS: I haven't even decided to buy the HC3 yet! But getting a feel for the amount of re-programming needed to convert my scene is an important factor in making that decision. The suggested table is now shown in a pdf file attached to this post, see below. It is regularly updated as new contributions are posted. LUA HC2 vs HC3.pdf
  13. Hello, I'm trying to modify a already define global variable using the REST API for the HC2. This is done from a ESP2866 (nodeMCU-isch) board. I can do a http.get towards the HC" and I get the correct JSON information. When I do http.put I seem not to be able to set the variable. My message headers contains a basic auth, and I have payload that looks like this {"value":"On"} The address looks like this http://1.2.3.4/api/globalVariables/thevariable According to the httpclient i'm using i seem to get return code 200 but no result and the variable is not changed. Using the hc2ip/docs link I can test this out with the correct payload and it works fine. However I'm logged in as an Admin then. Trying to change the user from my ESP2866 I just got that the HC" banned me for 30 min. So is there a problem using normal users when trying to modify a global variable ? Do I need to be admin ? Or is there something else I need to check ? Regards P
  14. Hello. I wanted post it here: https://forum.fibaro.com/forum/129-other-solutions/ but i have no rights for it. First of all I want to say that it is totally not recommended to do it. If you have similar problems - ask for support first! DO IT ON YOUR OWN RISK! Probably this will end your warranty (but my already ended). Two days ago a need to do some electric works and I shutdown my HC2 by pressing power button. Then, when I finished - I switch it on leds start to blinking... but nothing hapened. I tried to boot to recovery but it did not boot also. I unscrewed left panel of HC and attach monitor to see whtats hapening. And I sawed that it is immediatly reboot after selcecting a boot device. It was a GRUB problem. This tutorial is for linux users. Btw, my HC2 version is 4.550. 1. You need: >=1Gb flash drive Keyboard Monitor with VGA connector Linux PC (you can prepare USB drive on Windows, but I do not know how, sorry) 2. Preparing flash drive Download Debian 6 image: https://cdimage.debian.org/mirror/cdimage/archive/6.0.10-live/amd64/usb-hdd/debian-live-6.0.10-amd64-rescue.img And flash it to usb drive (this will erase all your data on flash drive): dd if=debian-live-6.0.10-amd64-rescue.img of=/dev/sdc /dev/sdc - is your USB Flash. 3. Boot with prepared flash drive Power off HC2. Insert USB Flash. Remove fibaro recovery usb-drive. Press F10 like crazy after power on. Select your USB flash in menu. 4. Fixing grub When GRUB of flash drive appering - select failsafe mode and press enter After boot sequence will compleate you have about 5 minutes to fix your problem (after sometime something will reboot your HC2). Determine system drive device: ls -al /dev/disk/by-label You will see something like: ... lrwxrwxrwx 1 root root 10 Nov 9 14:38 SystemFS -> ../../sdb2 ... So, sdb is your target drive. Mount SystemFS with write permissions: sudo mount /dev/disk/by-label/SystemFS /mnt -rw Install GRUB to your target device. sudo /usr/grub/grub-install --root-directory=/mnt /dev/sdb Now you need to fix grub.cfg vi /mnt/boot/grub/grub.cfg grub.cfg should become like this: set default="0" set timeout="5" menuentry "Buildroot" { set root=(hd0,msdos2) linux /boot/bzImage initrd /boot/initramfs boot } 5. Reboot Do not forget to remove your flash drive. It shodl boot normaly now.
  15. Has anyone integration their dishwasher with Fibaro HC2? I would like to be able to schedule the dishwaser to run...
  16. 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 !!!
  17. Hi can anyone help me please? I want to send a value from my Node-red and assign it to a Global variable value on my HC2. The Global variable i wish to update is "message" and the value is "Connection established". Tried some flows from here but always get JSON error. Hop someone can help ... Thanks
  18. Hi - Brand new to this. I have an HC2 and Harmony Hub. Both were working well until recently where connection was lost. I factory reset the Harmony and attempted a reload of the Harmony Hub Plugin. The plugin loads and i am able to get the Harmony Pin. On copying and saving it to the HC2 i get the message "Undefined error" Further attempts also fail. Has anyone had this problem and is there a solutioin? Cheers Andrew
  19. I have a Jasco in-wall dimmer (26932). When I go to add it (by selecting or deselecting every option) the device adds and it says configuration finished. But when I go to the devices they all say not configured. It turns off the switch and when motion is detected it turns the switch back on, but the motion does not indicate a breach. It also added two lights for some reason. Does anyone have advise on resolving this issue or should I try another brand of in wall dimmer? I am tired of Fibaro not being able to add all of my devices properly!! HC2 4.600 device is 2” away from antenna
  20. Hi, I'm trying to find a topic about a status update on harmony elite. The remote is working fine and the integration with the plugin is amazing BUT when I turn on the activity with the remote is not updating the status in HC2. More than that when I'm turning on the activity in HC2 is working great but I need to turn it on twice to reflect the actual status. Any ideas or workaround for this issue? Thanks in advance! P.s. Solving this issue will help me later on writing some Lua scrips to integrate activities with scenes.
  21. Hi all, I searched through the forum and there does not seem to be much recent activity regarding this. Has anyone had much success in using the Harmony Home Hub Extender with Fibaro HC2 ? http://www.logitech.com/en-us/product/harmony-home-hub-extender If so, please can you share the level of success - what you have manage to achieve etc.? Many thanks
  22. While working from home for eight months now I had the need to toggle a light or run a scene from my Windows 10 laptop. After some Google I didn't find an app so I decided to learn basic C# and create a Windows tray application myself. The application loads your configured rooms, devices and scenes from your HC2/HC3 and puts them in a menu in the system tray. Now you can run a scene or toggle a light switch without reaching for a wall switch or your phone. ? The program looks like this: I Iearn and get a lot from the Fibaro community, therefore I made the code open source on GitHub. You can download the application from the releases page. You only need the .exe file. I don't own a HC3. If it also works on the HC3 please inform me. Than I add it to the documentation.
  23. Hi people, who knows about things, I'm quite new in HC2 so might this is reason but I don't understand the logic of dashboard. I have home with 10+ rooms, regulated heating with temp-switch pairs (smoke detector + smart plug or single relay = connected device) and 2 bath-ruums with "real termostates". To monitor overview of climate system I find that Dashboard - Climate - Heating is good for overview but - only my batchrooms appear there. All rest isn't here visible. On mobiile app - all "heated" rooms (together 13 rooms) all are listed on climate view. My question - why heated rooms aren't listed on Dashboard? With bests Henn Sarv
  24. I have installed a Sensative Strip Drip to alert me about water leaks. The device works as planned, and was recently triggered. On the HC2 it indicated "breached", and the icon turned red. But I received no push message to my phone! I know I have the push system set up, as I regularly receive messages from other units. Typically, thermostats and temperature measurements, where "possible fire" and "freezing" are indicated when temperatures exceed those limits. I must have missed something to make the Sensative Strip trigger a push message in a similar way. What do I need to do? I have not set up an alarm panel yet. Is that necessary to make such devices with alarm frames trigger push messages or e-mails? And what about third party smoke alarms - do they need to be included in an alarm panel to trigger push messages or other alerts?
  25. I need help to understand why the below described HC2 Scene does not trigger when set to "Automatic" and the Variable "ATest" is set to "True". I can trigger the Scene manually wherafter the Device "Test" turns off as expected. Below follows the details: In order to understand the difference between "Automatic" and "Manual" and the effect of having av Scene turned "On" or "Off" in HC2, I made the following very simple test Scene in the Graphic Block editor: IF Variable "ATest" == "True" THEN Device "Test" = "Turn Off" The Variable "ATest" was created in the HC2 Variable Panel as a "Predefined Variable" with to defined values, namely "True" or "False". The Device "Test" is a Fibaro Wallplug In precise LUA code: --[[ %% properties %% weather %% events %% globals ATest --]] local startSource = fibaro:getSourceTrigger(); if ( ( fibaro:getGlobalValue("ATest") == "True" ) or startSource["type"] == "other" ) then fibaro:call(182, "turnOff"); end Any help to explain why the Scene does not turn off the device will be highly appreciated!
×
×
  • Create New...