Label 'Flavours'

Discussion in 'C-Bus Serial Protocols' started by Conformist, Feb 21, 2007.

  1. Conformist

    Conformist

    Joined:
    Aug 4, 2004
    Messages:
    788
    Likes Received:
    74
    Location:
    Adelaide, South Australia
    Hi

    Is there any more info on 'flavours' as outlined under options for Labels in the lighting document? I understand the principal but can't see where the flavour is applied to or changed. I see 'Variant' but that seems more in tune with the device state.

    Cheers
     
    Last edited by a moderator: Feb 21, 2007
    Conformist, Feb 21, 2007
    #1
  2. Conformist

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    Flavours and variants are the same thing.. the document should be updated to use the word "Variant".
     
    Duncan, Feb 21, 2007
    #2
  3. Conformist

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,400
    Likes Received:
    26
    Location:
    Adelaide, South Australia
    Flavours is the name used internally. It seemed a good idea at the time.

    Variants is what has made it into the world at large because it is a more meaningful (though more bland) term.

    Flavours / Variants allow you to have, as an example, 2 buttons attached to the same group, and apply different labels to each button. Just designate the buttons as variant 0, variant 1, etc, then send the label commands appropriately.
     
    ashleigh, Feb 22, 2007
    #3
  4. Conformist

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,400
    Likes Received:
    26
    Location:
    Adelaide, South Australia
    A hint.

    Don't re-label buttons over and over and over...

    For example, using the label on a DLT as a temperature readout is a BAD idea.

    Why?

    The label is stored in EEPROM, and it is rated to > 100K cycles. But for example if you updated a temperature every 5 seconds, the EEPROM would wear out in about 5 years, or thereabouts.

    If used as intended, the DLT label memory will last forever. If abused though, it may lead to grumpy customers.
     
    ashleigh, Feb 22, 2007
    #4
  5. Conformist

    Conformist

    Joined:
    Aug 4, 2004
    Messages:
    788
    Likes Received:
    74
    Location:
    Adelaide, South Australia
    Thanks Ashleigh

    This is sort or where we are heading. I would like to think we can be a little more smart in that we wouldn't write when the security is armed (no point displaying info to an empty house) and would look at a refresh of somewhere between 5-20 minutes. We would only need to refresh if there is a change too. As we will only work in 0.5 degree steps, it shouldn't have too many writes. We could also put in periods of the day (say between 12:00am and 6:00am) when the write could be hourly if at all.

    Thanks for the advice. It will be interesting to see how well it works.

    A thought... Is there any possibility in the future, the labels can temporary(optional) and therefore will not be written to flash?

    Cheers
     
    Conformist, Feb 22, 2007
    #5
  6. Conformist

    ashleigh Moderator

    Joined:
    Aug 4, 2004
    Messages:
    2,400
    Likes Received:
    26
    Location:
    Adelaide, South Australia
    No such plans.

    I'm not mad on the idea: too many options = more complexity to wade through, and that thing is complex enough as it is!
     
    ashleigh, Feb 22, 2007
    #6
  7. Conformist

    Don

    Joined:
    Aug 4, 2004
    Messages:
    429
    Likes Received:
    0
    Location:
    Townsville, Australia
    I'm not sure of this myself, but if you are only changing the display between a small number of limited options "arm - standby - disarm" or something like that, could you not load all options as different languages, then simply change the language of the unit display? I wonder if language is also stored in eeprom?
     
    Don, Feb 23, 2007
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.