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

Sending serial commands to Global Cache iTach Flex (RS232/RS485)


jakub.jezek
 Share

Question

Hello guys,

 

I ran into interesting problem. Honestly i do not know if problem is in Fibaro or Global Cache, so i need some help. Ticket in partners dedicated channel: #95470.

 

I'm doing VD for a customer (Fibaro dealer) for control of Somfy RTS module (VD is below). But i'm able to receive only 8 comands, then it seems like connection get stucked. If i send commands from iTest (global cache app), that i am not a problem to receive more than 8 commands. If i send commands from Fibaro to PC directly (Hercules app can be set as TCP server), then i'm able receive more than 8 commands (Same port and protocol, just diffrent IP adress).

 

I'm sending those serial commands (RS-232/RS-485) to my Laptop to application Hercules (Link below).

 

Global Cache i'm using is iTach Flex IP. Cables connected are Flex Link RS-232 cable and Flex Link RS-485 cable. I tested it with both.

 

As RS-485 to USB converter i'm using something like that:

Please login or register to see this link.

or this one (rs-232)

Please login or register to see this link.

 

@T.Konopka or @M.Baranowski, can you look at this one please?

 

Global Cache Cables:

Please login or register to see this link.

Hercules app link:

Please login or register to see this link.

Virtual device:

Please login or register to see this attachment.

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • I just tested iTach IP2SL. There i can send only 4 commands, till it stops working.

     

    @T.Konopka, can some Fibaro Engineer look into this? Now, connection while using serial commands seems to be an issue. IR works just as should work. VD where i found an issue is in Post #1.

     

    ----- 2nd Message----

    @T.Konopka, please tell to engineers that Connection to Global Cache have to be closed. Fibaro does not closing connection to Global Cache, so that is why it get stucked. Flex can have 8 connection at once and IP2SL only 4. That is FATAL issue

    Edited by jakub.jezek
    Link to comment
    Share on other sites

    • 0
    2 hours ago, jakub.jezek said:

    ----- 2nd Message----

    @T.Konopka, please tell to engineers that Connection to Global Cache have to be closed. Fibaro does not closing connection to Global Cache

     

    even if you uncheck "Wait for device response" ?

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • 2 hours ago, tinman said:

     

    even if you uncheck "Wait for device response" ?

    I think yes. I test it tomorrow again to make 100% sure and report back.

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • @tinman, even if i uncheck "Wait for device response", it still does not close connection. With unchecked "Wait for device response" it is even worse. I send command once and cannot send it again.

    Link to comment
    Share on other sites

    • 0
    Guest andyhud

    Thanks. Let us know how it goes. I've just posted an issue with IP2Serial but my device (amplifier) doesnt use HEX, it uses ASCII.

     

    Cheers

     

    Andy

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Hello,

     

    So, reporting back from testing.

     

    It still does not work.

     

    Please login or register to see this spoiler.

     

     

    Link to comment
    Share on other sites

    • 0
    Guest andyhud

    Damn! Thats a real shame. Have you logged as a bug with Fibaro?

    Link to comment
    Share on other sites

    • 0
  • Inquirer
  • Well, it is logged under #95470 from last year. I will try to reach them again.

     

    For a customer i made it work via code below (used for Somfy RTS control):

    Please login or register to see this code.

     

    Edited by jakub.jezek
    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.

     Share

    ×
    ×
    • Create New...