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


  • 0

virtual remote for blinds and light


Question

Posted

Hello all,

i splitted my house into 2 main areas (sections) day zone and night zone. Since i am going to install some tablets mounted on the wall i found not very useful the actual fibaro interface. devices and scenes requires many gesture to be reached and not so intuitive menu.

here's my idea. I was looking at virtual device and i was wondering if it would be possible to build virtual remotes for my blinds and light in the 2 main zone. the final goal would be have the 7" tablet mounted on the wall showing that remote with all the button reachable at glance

Please login or register to see this image.

/emoticons/default_wink.png" alt=";)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

i am at zero level in coding, so i hope for some suggestion on how to proceed.

project is at the end two remotes with let's say 6 buttons for blinds, 6 for lights and 2 or 3 buttons for scenes. this in order to have a simple and smart interface on the wall very intuitive.

any experience?

thanks in advance!

9 answers to this question

Recommended Posts

  • 0
Posted

I use iRule to design my own look and feel on top of hc2 for small stuff like this.

I then use the Fibaro app for everything else.

So control hc2 over wifi with iRule.

The you can get the exact look and functionality you want for every device.

I does not support sliding dimmers, but for me I only use 3 presets and scenes To control lights.

And to walk around the dimming dimming issue I made a script that does the dimming if I hold a button.

A bit crude but it works.

Just one of many ways of doing it.

  • 0
  • Inquirer
  • Posted

    thanks for your answer, i am looking at irule builder, what i am missing is how do you link fibaro device since irule use ip or rs232 device only???

    • 0
    Posted

    You can control anything (almost) with iRule.

    Not just GC devices.

    You specify in the builder software the commands you want to send.

    Ex, create a custom device with commands you send to HC2 over IP.

    Create a command something like this:

    api/callAction?deviceID=6&name=setValue&arg1=0

    This sets the device with ID 6 to 0% = Turn off.

    Do this with all your required devices and create the layout you want, add some buttons, done.

    There are many "Control HC2 over IP" threads that can get you started with basic commands.

    And in the iRule app you then add a gateway (your HC2) with IP and password.

    You then send the commands you created in the Builder software.

    This might seem overwhelming at first but once you set it up its easy to use.

    Edit*

    You could also make virtual devices to start with in HC2 and have that always displayed.

    This is easier to start with and might suit your needs.

    • 0
  • Inquirer
  • Posted

    speedy, thanks for your help. what i am missing is how to point at HC2 via ip from irule builder.

    i don't want to bother you with my total ignorance about coding, so if you have any template or guide i can read and learn about this topic i would really appreciate. ( i quicly browsed iRule support and community but found any)

    Moreover, as you seem to be very well prepared about i am looking for some source of simple documentation in order to get familiar with lua, learning how to use variable in variable pannel in HC2 and learning how to use virtual device. if you have any good and simple source or community it will help me a lot.

    thanks again for your advices.

    • 0
    Posted

    xantony, full documentation can be found on developer.fibaro.com but it was created for beta versions, so little differences can be found. But basics are the same.

    • 0
    Posted
    xantony, full documentation can be found on developer.fibaro.com but it was created for beta versions, so little differences can be found. But basics are the same.

    Yes that's the best place to start.

    And go trough the forum here in the coding section for inspiration.

    Everything I have learned is thanks to this forum and Google and some tinkering.

    Start with a basic scene with some on and off commands in lua and learn from there.

    I have something similar to what you want but it's never just cut and paste.

    It's not that I don't want to share my stuff but if you want to learn lua it's easy once you get going and you can then get exactly what you want.

    Do you want to learn lua or do you just want a quick solution, and some help to get there?

    If you want a blinds controlling virtual device and a scene to control it we can move to the coding forum and continue from there.

    • 0
  • Inquirer
  • Posted

    Speedy,

    I very much appreciate your post. My goal is to learn something about lua, and i will start registering an account and begin reading the basics. As i told you i am not into coding so this is absolutely new for me but i take it as something to have fun with. thank you for your advices.

    The iRule idea was coming from the need of having a simple but functional interface on the wall.

    that i would need it to understand quickly as i am going to buy 3 tablets and need to be sure wether i can realize or not a decent interface. As far as i understood in order to build a simple interface with iRule i don't need to code to much in lua. at the very beginning i need just to play with lights and blinds. You think i can proceed buying a irule license??

    • 0
    Posted

    That's a great mindset to get started, keep that up and all will go well.

    Well, you don't need iRule to get started.

    It might just complicate things.

    But if you want to try the there is a free for 30 days trial with iRule. Ad funded.

    So you can get started today

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

    For me iRule is good for adapting the interface for all resolutions on all platforms.

    So it doesn't matter what type of pad you buy, specify the resolution and your done.

    So it's a nice way I think for bridging the gap between the full Fibaro app and

    The small everyday stuff with an interface you can change to your liking.

    And with iRule as you say, you only need simple controls in iRule and let hc2 do the heavy thinking and specific control.

    Some might say it's a bit of a hassle switching between apps but for me and my personal experience I use scenes wich are adapted according to

    Light, temp, states etc so one scene in LUA can be really powerful.

    And with this in mind I only need 3 "smart scenes" for a room so basic buttons is enough.

    I seldom use scenes or the app at all. It's all automated.

    My personal goal is to have no buttons at all

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

    Got a but carried away here I see..

    Well to sum it up, try iRule for free, get IP control working and see where it takes you.

    The goal usuall changes along the way, in a good way

    Please login or register to see this image.

    /emoticons/default_icon_smile.gif" alt=":-)" />

    • 0
    Posted

    Hello,

    Could anyone explain me how can I integrate the Fibaro system with an alarm system, like Paradox EVO192. I found a module PRT3 that uses RS232. My question is how can I link it with Fibaro through RS232 protocol?

    Thank you,

    Silviu

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...