Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Class: TV
#1
General Description

This thread is for discussion of the device class for TV devices. It is like that any driver that implements this device class would also implement Audio, Power, Switcher, and possibly others though it would be less common.

Fields Provided
[INDENT]The fields provided by this device class have pre-determined names, and these MUST be implemented as indicated here. They are all prefixed by the device class prefix in the form:

TV#fieldname

where TV# indicates it is a field of this device class, and fieldname meets the general requirements of CQC field names. It is assumed that there will never be multi-unit naming concerns for TVs, i.e. that all TVs are separate entities.

The fields provided by this class are:
  • AspectRatio. This field should be a read/write, enumerated string field, the limits of which list the available aspect ratios. Ratios SHOULD always be expressed in the colon based form, unless there is some strong reason why some cannot be, i.e. 16:9, 4:3. Some TVs may have special names for some ratios, so those MAY be listed if so.
  • CurChannel. This field indicates the currently selected channel. It should be marked with the CurChannel semantic field type and conform to that type definition. It is purely for display, i.e. read-only, so it can be a meta-data description, a channel number, a 'dotted' channel.subchannel indicator, etc...
  • SetChannel. This is a write-only field that is used to set the current channel. The format of the value written MUST be in the numeric, dotted 'channel.sub-channel' format. If sub-channels aren't supported, the driver MUST just accept any value for the sub-channel and select the main channel. If, for some reason, the TV does not have such a concept, it must provide a mapping mechanism by which the user can map arbitrary channel/subchannel values to actual channels.
[/INDENT]

Power Management Issues
[INDENT]Any drivers that implements this class MUST also implement Power.[/INDENT]

Multi-Unit Considerations

[INDENT]All TVs are assumed to be standalone devices, never containing multiple units in the same enclosure.[/INDENT]


Backdoor Commands/Queries

[INDENT]None are required at this time.[/INDENT]
Dean Roddey
Explorans limites defectum
Reply
#2
(reserved for expansion)
Dean Roddey
Explorans limites defectum
Reply
#3
(reserved for expansion 2)
Dean Roddey
Explorans limites defectum
Reply
#4
Took a rough first whack at this one.
Dean Roddey
Explorans limites defectum
Reply
#5
Removed the Power field, since that's now handled separately via the Power device class, and may or may not be implemented by a given driver, depending on whether it allows for power control.
Dean Roddey
Explorans limites defectum
Reply
#6
The source input field was removed. This will be implemented now via the Switcher device class, so that all switching can be done generically. Sorry for any confusion this might cause but we need to make this change before 4.5 goes out, after which it would have been a lot harder to do it. Being able to switch any device generically will be a powerful capability, so it's worth doing, even at this late stage in the release cycle.

This change will be in 4.4.929. All shipped drivers will be updated to comply.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Class: Security Dean Roddey 34 35,415 01-02-2019, 12:26 PM
Last Post: Dean Roddey
  Class: Weather Dean Roddey 6 6,687 10-11-2018, 11:09 AM
Last Post: Dean Roddey
  Class: Thermostat Dean Roddey 17 26,479 01-29-2016, 10:15 AM
Last Post: Dean Roddey
  Class: SceneCtrl Dean Roddey 20 20,836 03-31-2015, 12:38 PM
Last Post: Dean Roddey
  Class: Irrigation Dean Roddey 8 9,530 01-28-2015, 12:09 PM
Last Post: Dean Roddey
  Class: NowPlaying Dean Roddey 8 9,782 09-23-2014, 02:01 PM
Last Post: Dean Roddey
  Class: Switcher Dean Roddey 9 10,625 08-20-2014, 08:17 AM
Last Post: Dean Roddey
  Class: Projector Dean Roddey 29 27,005 08-11-2014, 08:56 AM
Last Post: Dean Roddey
  Class: Lock Dean Roddey 5 7,189 07-31-2014, 01:24 PM
Last Post: Dean Roddey
  Class: ContactClosure Dean Roddey 7 8,739 07-31-2014, 10:14 AM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)