Ankündigung

Einklappen
Keine Ankündigung bisher.

How to show a value on the iPhone

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    HS/FS How to show a value on the iPhone

    Gira HomeServer 3
    Gira HomeServer App 1.2

    I use the built-in temperature sensor of the GIRA 200800 Busankoppler 3.
    In the graphic logic editor the temperature values of several Busankoppler are summed up and divided by the number of sensors to get an average temperature.

    How do I get this value displayed on a regular page?
    I get it on the Status Line only so far (top right on the iPhone).
    Would like to have a page on the iPhone (and iPad later on) with all the available temperatures.
    Livingroom 20,6 ℃
    Kitchen 21,2 ℃
    Bedroom 17,8 ℃
    And so on.

    Same kind of question regarding displaying the Sunrise and Sunset times.
    Right now I have them displayed by using the Set Value function with 2 separate lines for Hour and Minutes..
    Want to have it in normal time format like 22:17

    I would expect a Function Template "Text" but it ain't there...

    #2
    Bitte?

    Kommentar


      #3
      Do you mean something like this:
      Angehängte Dateien
      Gruß Matthias
      EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
      - PN nur für PERSÖNLICHES!

      Kommentar


        #4
        Yesss!
        Presently I don't need the "Soll" value as I do not use KNX yet to control the heating system (although the Gira 101800 Heizungsaktor is waiting to be installed...)
        Did you use one of the 17 "standard" heating/ventilation/AC functions?
        Is there a way to just have a single value displayed?
        The "Ist" value is the one I am interested in.
        Vielen dank!

        Kommentar


          #5
          There two ways to display a value:

          via Weather station plugin (simple) or
          via Status Heizen Soll Ist

          If you do not have all the necessary KNX-Objekts, just use internal objects as dummy objects. And you can use your KNX-Temperature on Soll and IST. So you have the same value twice, for saftey
          Gruß Matthias
          EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
          - PN nur für PERSÖNLICHES!

          Kommentar


            #6
            Suppose the Weather Station plugin is only available for the Quad Client and not for the iPhone?
            I tried all HVAC functions but not a single one was able to just show a single temperature.

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

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

            If that would be possible it would help me a lot!

            IMG_0541.jpg

            Kommentar


              #7
              Wheaterstation is also possible on Iphone/Ipad
              Gruß Matthias
              EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
              - PN nur für PERSÖNLICHES!

              Kommentar


                #8
                ... and looks like this:
                Angehängte Dateien

                Kommentar


                  #9
                  Woww, looks really cool.
                  Could you explain how to get that on the iPhone?
                  The only way I found to use a Plugin is by first using "Insert plugin" under the tab "Quadrants" and insert the Valuedisplay/Weatherstation plugin.
                  Then adding a line in the tab "Menu" and then select Weatherstation as "call up plugin 1".
                  As 'Control List - Action" I have no idea what to use...

                  Isn't there a possibility to just display a value?
                  I want to create a page with all the temp values coming from the Tastsensors.
                  Gr. Eric

                  Kommentar


                    #10
                    By chance I found a solution!
                    In HS Expert I made an object with 14-byte Text as data type.
                    Using 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....

                    IMG_0546.jpg

                    Kommentar


                      #11
                      than you must choose an objekt....
                      Angehängte Dateien

                      Kommentar


                        #12
                        Thanks all!
                        Got it all working quite well right now.
                        @buellist, the Weather Station plugin works now on the iPhone
                        Time to get myself a weather station
                        Which one do you have?

                        I am surprised by the limited amount of logic modules in the Graphic Logic Editor.
                        For example I am missing a module which converts a float to an integer.
                        This would help me to convert a number like 6,673 into 6,67
                        While there is an Integer2String there is no String2Integer....

                        IMG_0549.jpg

                        Kommentar


                          #13
                          I have been trying to get a similar output as you have shown, but I get stuck on getting the decimal timeoutput of the sunrise/sunset converted to he hours:minutes text you show here. Which modules did you use in the logic? Can yo please share?

                          Thanks!

                          Kommentar


                            #14
                            Don't remember how I used to do it but nowadays I use this home-made module:

                            #
                            # Homeserver Logic module 10001 Version 0.1 25.11.2013
                            # Decimal time to string hh:mm and hh:mm:ss
                            # Modified module from Rainer Trier (Taxus on KNX forum)
                            #

                            #5000|"Text"|Retentive (1/0)|No. of inputs|.n.|No. of outputs|.n.|.n.
                            #5001|No. of inputs|Outputs|Offset|Memory|Calculation during start
                            #5002|Index input|Default value|0=numeric 1=alphanumeric
                            #5003|Memory|Initialisation value|Retentive
                            #5004|Output|Initialisation value|round binary (0/1)|type (1-send/2-sbc)|0=numeric 1=alphanumeric
                            #5012|cancellation with con. (0/1)|condition|formula|time|pin output|pin offset|pin memory|pin neg. output

                            #5000|Folder\Name | Retentive (1/0) | No. of inputs | Input names | No. of outputs | Outputs names
                            5000|"747driver\Decimal time to String hh"|0|1|"Decimal time"|2|"hh:mm:ss"|"hh:mm"

                            #Logic module definition
                            # |Input(s)
                            # | |Output(s)
                            # | | |Time memory
                            # | | | |Variable(s)
                            # | | | | |Calculate at startup: 1=Yes 2=No
                            5001|1|2|0|10|1

                            #5002 Inputs EN[n]
                            # |Input index
                            # | |Default value
                            # | | |0=num 1=text
                            5002|1|0|0 # Decimal time

                            #5003 Memory variables SN[n]
                            # |Memory variable index
                            # | |Default value
                            # | | |Remanent 0=No 1=Yes
                            5003| 1| 0|0 # hh h:mm:ss
                            5003| 2| 0|0 # mm h:mm:ss
                            5003| 3| 0|0 # ss h:mm:ss
                            5003| 4| 0|0 # hh hh:mm
                            5003| 5| 0|0 # mm hh:mm
                            5003| 6|""|0 # hh hh:mm:ss
                            5003| 7|""|0 # mm hh:mm:ss
                            5003| 8|""|0 # ss hh:mm:ss
                            5003| 9|""|0 # hh hh:mm
                            5003|10|""|0 # mm hh:mm

                            #5004 Outputs AN[n]
                            # |Output index
                            # | |Default value
                            # | | |Binary 0=No 1=Yes
                            # | | | |1=send, 2=sbc
                            # | | | | |0=num 1=alphanum
                            5004|1|""|0|1|1 # Time as h:mm:ss
                            5004|2|""|0|1|1 # Time as h:mm

                            #5012 Logic formula
                            # |End calculation when <>0 (1=YES 0=NO)
                            # | |"Condition"
                            # | | |"Formula"
                            # | | | |"Time Formula"
                            # | | | | |Put result into Output
                            # | | | | | |Put result into Time memory
                            # | | | | | | |Put result into Variable
                            # | | | | | | | |Inverted
                            5012|0|""|"int(EN[1])" |""|0|0| 1|0 # hh hh:mm:ss
                            5012|0|""|"int((EN[1]-SN[1])*60)" |""|0|0| 2|0 # mm hh:mm:ss
                            5012|0|""|"int(60*(60*(EN[1]-SN[1])-SN[2]))"|""|0|0| 3|0 # ss hh:mm:ss
                            #
                            5012|0|""|"SN[1]" |""|0|0| 4|0 # hh hh:mm
                            5012|0|""|"SN[2]" |""|0|0| 5|0 # mm hh:mm
                            5012|0|"SN[3]>29"|"SN[2]+1" |""|0|0| 5|0 # mm hh:mm
                            5012|0|"SN[5]==60"|"SN[1]+1" |""|0|0| 4|0 # hh hh:mm
                            5012|0|"SN[5]==60"|"0" |""|0|0| 5|0 # mm hh:mm
                            #
                            5012|0|""|"'0'+str(SN[1])" |""|0|0| 6|0 # hh hh:mm:ss
                            5012|0|""|"'0'+str(SN[2])" |""|0|0| 7|0 # mm hh:mm:ss
                            5012|0|""|"'0'+str(SN[3])" |""|0|0| 8|0 # ss hh:mm:ss
                            5012|0|""|"'0'+str(SN[4])" |""|0|0| 9|0 # hh hh:mm
                            5012|0|""|"'0'+str(SN[5])" |""|0|0|10|0 # mm hh:mm

                            #Put the output together without leading zero for the hours
                            5012|0|""|"(SN[6][len(SN[6])-2:len(SN[6])]) + ':' + (SN[7][len(SN[7])-2:len(SN[7])]) + ':' + (SN[8][len(SN[8])-2:len(SN[8])])"|""|1|0|0|0
                            5012|0|""|"(SN[9][len(SN[9])-2:len(SN[9])]) + ':' + (SN[10][len(SN[10])-2:len(SN[10])])" |""|2|0|0|0

                            Kommentar

                            Lädt...
                            X