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

control orvibo wifi socket


Question

Posted

Hello guys. I bought a orvibo socket (a wifi socket), which can only be controlled manually or via its own mobile app.

Using Wireshark i managed to intercept the packets sent from the mobile app for turning on/off the socket. These are UDP packets sent to port 10000 on the socket.  I've replicated the  data from my pc using Packet Sender, and i managed to get it working.

Before the on/off commands, i must send a subscribe command in hex:  68 64 00 1e 63 6c ac cf 23 45 3d aa 20 20 20 20 20 20 c0 19 24 23 cf ac 20 20 20 20 20 20

after which i can send the on command: 68 64 00 17 64 63 ac cf 23 45 3d aa 20 20 20 20 20 20 00 00 00 00 01 or the off command: 68 64 00 17 64 63 ac cf 23 45 3d aa 20 20 20 20 20 20 00 00 00 00 00.

Now i am trying to make a virtual device in fibaro that can do this and i caught my ears on sending hex data. Here's what i have till now, but it does not work:

Please login or register to see this code.

7 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Posted

    ok, got it working, so for orvibo s20 socket this is the command for turning on :

    Please login or register to see this code.

    Now i have a problem receiving the data/response

    Please login or register to see this image.

    /emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" /> Any ideea on how to do that?

    I have tried with socket:read() but nothing happens

    • 0
    Posted

    and if you read the content of "bytes" ?

    • 0
  • Inquirer
  • Posted

    i only get a number (30), the same for each on/off command

    • 0
    Posted

    i only get a number (30), the same for each on/off command

    Hello Florin, 

    I see you have achieved some success with the orvibo plug. It would be helpful if you could let me know how to use Wireshark. As I have a Wifi DoorBell that streams Audio and video once the bell is pressed to the users mobile phone and the user can unlock the door from a remote location. I would like to integrate with Fibaro since the manufacturers are not providing the APIs.

    • 0
    Posted

    Any news on this ?

    • 0
    Posted

    So did anyone fix this? I'm new here and I have no idea how to set up my S20s

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