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 device stops working


Ananta Creation

Question

Hi,

 

I am using Global cache (WiFi2IR) to control my all IR devices with Fibaro HC-2 (4.140).

 

1. When there is no internet at that time HC-2 is not able to communicate with Global cache.

2. Certain time i have to press VD button multiple time to send proper IR command.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

First... I have never seen the Global Cache unit. Just read abut them....

 

If you login and don´t do anything for a while, you maybe hit some session timeouts. If so, I would suggest you look for some sort of keep-alive function in global cache. If there i none, you maybe have to ask for something repeatedly from HC2 in the VD loop. I do this kind of thing in my DSC alarm integration engine. You could look at the loop and check for an existing connection (i.e "pollTimer"). *Maybe* you have to do something similar... 

Please login or register to see this link.

 

 

/Peo

 

Link to comment
Share on other sites

  • 0

The topic has been moved from "

Please login or register to see this link.

" to "

Please login or register to see this link.

".

 

Temat został przeniesiony z "

Please login or register to see this link.

" do "

Please login or register to see this link.

".

Link to comment
Share on other sites

  • 0

Hi @Ananta Creation,

 

I have HC2 on 4.140 and Global cache (IP2IR) and all working fine. I have made virtual device remote controllers as copy of the original ones:

Please login or register to see this image.

/monthly_2016_11/Samsung_soundbar.jpg.cfd702b73da211d1ae9ebb5653200fb4.jpg" alt="Samsung_soundbar.jpg.cfd702b73da211d1ae9ebb5653200fb4.jpg" />Philips_TV.jpg.83165caa50f14775bab0bb9d37407592.jpg

Please login or register to see this attachment.

 

And I use following code to send commands to IP2IR:

Please login or register to see this code.

To use above code you need to setup IP Address and TCP Port on general tab of the VD, and then just change sendCommand string and text for last command (zadnja komanda) that will be shown on label.

 

All commands I learned from original remote controllers using iLearn application that can be downloaded from 

Please login or register to see this link.

 

Link to comment
Share on other sites

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