Ergebnis 1 bis 3 von 3

Thema: How to show a value on the iPhone

  1. #1
    Registriert seit
    Jul 2011
    Ort
    Luxemburg
    Beiträge
    9

    Frage How to show a value on the iPhone

    Gira HomeServer 3
    Gira HomeServer App 1.2
    iPhone 4

    Good day all.
    For quite a while now I am trying to display a list of temperatures on my iPhone.
    The only way I've found so far is to use the Function Template "heating/ventilation/AC".
    Not 1 of those 17 templates is able to show a single (Actual) temperature.

    How do I display a single value or text?
    Just like this:

    Livingroom.............20,6
    Sunrise................05:34
    Doorbell..................12X

    Danke and have a sunny day!

  2. #2
    Registriert seit
    Jul 2011
    Ort
    Luxemburg
    Beiträge
    9
    By chance I found a solution!
    In HS Expert I made an object with 14-byte Text as data type.
    In the Graphic logic editor I made a function which has the sunrise and sunset temperatures as text output.
    In QC config I used the function template Date/Time.
    As date I used a dummytext object.

    Right now I am trying to display a temperature.
    Presently it only shows an integer value without decimals....

    Anhang 2044

  3. #3
    Registriert seit
    Jul 2011
    Ort
    Luxemburg
    Beiträge
    9
    Slowly advancing...
    Now have the temperature with 2 digits behind the decimal point.
    In the Graphic Logic Editor I used the teperature as input, multiply by 100, IntToString, StrToFloat, divide by 100.
    The result is a float.
    Couldn't find a way to convert a float to a string which would help me to add the degree C symbol.

    I am not impressed by the amount of modules available in the Graphic Logic Editor.
    Some can only convert 1 way, like IntToFloat.
    Strange...

    Anhang 2045

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Stichworte

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •