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

SkyHD RS-232 feedback


Question

Posted

Hi everyone,

I would like to announce a new Virtual Device available in the Fibaro UK

Please login or register to see this link.

You can now download a SkyHD virtual device which will enable you to connect to the RS-232 port on the back of a SkyHD box (via an IP-RS232 converter) and receive feedback from it. Feedback includes the state of the SkyHD box (on/off), the current channel number and when the box is correctly tuned: information about the channel, current programme, date and time, etc.

The RS-232 port on a SkyHD box is one-way only. It only sends information. This is a limitation imposed by Sky - I don't know why. If you want to control the box, you will need to send IR to the port at the front. This virtual device does not do this!

The virtual device will write decoded messages it receives from the SkyHD box to a global variable so you can use the status change to run other scenes. For example, when the SkyHD box turns on, turn on the TV and dim the lights.

This version of the device is very rudimentary and you will see that although the structure of the code is there for each recognised command, there is no body to it. What you do when something happens is up to you. Also, there is a button on the virtual device - this does nothing. It is only there to enable you to open the interface so you can read the status on the label. Without the button you can't open the virtual device's interface.

If you need any help with any of the Lua code used in this Virtual Device, check out the Fibaro UK

Please login or register to see this link.

or, of course, post your questions here on the forum!

Happy Automating

Adam Bewsher

4 answers to this question

Recommended Posts

  • 0
Posted

This is awesome. Have you any suggestions for IP-Serial convertors? Or at least the one you tested with?

I used to have this with my old Homeseer setup and had it configured to send an alert of the kids were watching late night TV

Thanks

Darren

  • 0
Posted

nice, can you create something as this for dreambox?

  • 0
  • Inquirer
  • Posted

    Hi akatar,

    Perhaps not me, but someone may be able to.

    Just find the command strings used on the RS232 port (or even better, the direct IP protocol) and it should be able to be done.

    Happy Automating,

    Adam Bewsher

    [ Added: 2014-11-10, 08:37 ]

    Hi darren-mc,

    Sorry for the delay in replying to your question.

    The device we used for testing was an E-P232-X but you could use an iTach IP2SL from Global Cache or any other IP to Serial (RS232) connector.

    Happy automating,

    Adam Bewsher

    • 0
    Posted

    hi

     

    been trying to get this thing working to no avail.

     

    this is the problem i am having....

     

    [ERROR] 18:05:59 line :debug (arg 2), expected 'string const &' got 'FTcpsocket*'

     

     I wont get as far as fibaro:debug('connected to Sky HD')

     

    would be greatfull for any ideas.

     

    cheers

     

    leigh

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