Announcement

Collapse
No announcement yet.

Detect state?

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

  • spud
    replied
    Originally posted by Krumpy View Post
    There is a NOTIFY message. When notified that is when a change event has occurred. I'll trade you knowledge for a plugin license.. Kidding.... I don't need the plugin, but it would be handy. I'm happy to share the document if you ping me offline. Heck, I am actually more surprised that the doco you have doesn't have this in it. Maybe it is a different document? Sony Simple IP Control Protocol for BRAVIA 2015 Android TV models

    2 Type 1 byte 0x43 [C]: Control 0x45 [E]: Enquiry 0x41 [A]: Answer 0x4E [N]: Notify
    This is the same document I have, and as I said before it mentions a NOTIFY type message, but from my tests the TV never send it by itself.
    Have you tested the plugin?
    If your TV does send notify messages then the plugin will read them and handle them, and in that case you can disable polling altogether

    So, there is nothing to change in the plugin...

    Leave a comment:


  • Krumpy
    replied
    There is a NOTIFY message. When notified that is when a change event has occurred. I'll trade you knowledge for a plugin license.. Kidding.... I don't need the plugin, but it would be handy. I'm happy to share the document if you ping me offline. Heck, I am actually more surprised that the doco you have doesn't have this in it. Maybe it is a different document? Sony Simple IP Control Protocol for BRAVIA 2015 Android TV models

    2 Type 1 byte 0x43 [C]: Control 0x45 [E]: Enquiry 0x41 [A]: Answer 0x4E [N]: Notify

    Leave a comment:


  • spud
    replied
    Originally posted by Krumpy View Post
    It is my understanding that the protocol does broadcast volume, power, and input changes. Maybe only the newer TV's. So, you will want to change that.
    Where did you see that?
    The doc I have says the TV sends some "Notify" type messages, but if I remember correctly on my TV those messages are only sent if the plugin sends an Enquiry or Control messages before. Anyway if with your TV the Notify messages are broadcasted on every changes, the plugin should already be able to handle those. If you want to see what messages the TV receives, set the log level to debug.

    Leave a comment:


  • Krumpy
    replied
    It is my understanding that the protocol does broadcast volume, power, and input changes. Maybe only the newer TV's. So, you will want to change that.

    Leave a comment:


  • wkearney99
    replied
    Good, just under the wire for the sale then, eh?

    Leave a comment:


  • spud
    replied
    The plugin polls the TV every X minutes (X being configurable from the config page) to know the state of the TV, so yes it's possible.

    Leave a comment:


  • wkearney99
    started a topic Detect state?

    Detect state?

    Is it possible to detect when the power on/off state has changed?

    As in, start a timer for the kid's TV when it's detected as having been turned on?
Working...
X