Announcement

Collapse
No announcement yet.

Http requests

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Http requests

    I am trying to trigger an event based on the status of my plex player. I am able to determine what is playing (paused or stopped) by using a http request (http://192.168.0.11:3000/xbmcCmds/xb...rrentlyPlaying) but I am unable to figure a way of using that information to control lighting events in homeseer? Any help would be great as I am new to homeseer.

    thanks in advance

    #2
    There is a serial/TCP plugin going around which might help you with this, never used it myself but I think you can set up triggers on the basis of received TCP strings. If you can be specific with the recieved strings in the events then you can set up your lighting from there.

    There is no native way of receiving data in HS via TCP ports, COM ports when you open them you give a callback script/function but no such option exists for TCP ports. I am not sure but I don't think you could script a socket receiving data (sending you can) as I am sure the buffer empties and even if it did not then you would run the script at a recurring interval which would give some delay.

    Comment


      #3
      I wanted to do this as well. Keep us updated on your progress!

      Comment

      Working...
      X