Jump to content
Guides for the Forum Read more... ×
Poradniki na Forum Read more... ×
  • 0
jakub.jezek

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

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.

Share this post


Link to post
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

    Share this post


    Link to post
    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" ?

    Share this post


    Link to post
    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.

    Share this post


    Link to post
    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.

    Share this post


    Link to post
    Share on other sites
    • 0

    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

    Share this post


    Link to post
    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.

     

     

    Share this post


    Link to post
    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

    Share this post


    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    ×