Ankündigung

Einklappen
Keine Ankündigung bisher.

datatypes

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

    datatypes

    Hi,

    I have the following problem my installation returns DPT 14.068 which I need to log and print to screen..

    {{ basic.float('Temp', 'second.sleeping.temperature', '°C') }}

    using groupread I get the following response which I believe is a HEX representation of a 4 byte float which should read something like 68.00

    Response from 0.4.1 to 0/2/5: 42 88 00 00

    but the following line gives me

    19.00°C

    How do I solve this??

    #2
    Hi John,

    Zitat von jj2005 Beitrag anzeigen
    How do I solve this??
    first step. Provide more information. Which backend do you use? What line?

    If you use SmartHome.py provide the debug log, item config and plugin config.

    so long

    Marcus

    Kommentar


      #3
      Zitat von mknx Beitrag anzeigen
      Hi John,



      first step. Provide more information. Which backend do you use? What line?

      If you use SmartHome.py provide the debug log, item config and plugin config.

      so long

      Marcus
      Dear Marcus,

      I use smarthome.py as the backend, my item.conf is quite simple as i try out my options before I build the entire pages

      Code:
      [second]
          [[sleeping]]
           	[[[temperature]]]
                  name = Temperature
                  type = num
                  history = yes
                  visu = yes
                  knx_dpt = 14.068
                  knx_listen = 0/2/5
      Where is the Debug log located??, here is a cutout from the log:


      HTML-Code:
      Number of Threads: 8
      2013-10-23 20:15:25 SmartHome.py INFO     Stop Plugins
      2013-10-23 20:15:25 SmartHome.py INFO     KNX: connection to 127.0.0.1:6720 closed
      2013-10-23 20:15:26 SmartHome.py INFO     SmartHome.py stopped
      2013-10-23 20:15:31 SmartHome.py INFO     Start SmartHome.py 0.9-20-g35ccac6
      2013-10-23 20:15:31 SmartHome.py INFO     Init Scheduler
      2013-10-23 20:15:31 SmartHome.py INFO     Init Plugins
      2013-10-23 20:15:31 SmartHome.py ERROR    Onewire: could not connect to 127.0.0.1:4304: [Errno 111] Opkobling nægtet
      2013-10-23 20:15:31 SmartHome.py INFO     Init Items
      2013-10-23 20:15:32 SmartHome.py INFO     Start Plugins
      2013-10-23 20:15:32 SmartHome.py INFO     Start Logics
      2013-10-23 20:15:32 sh.con       INFO     KNX: connected to 127.0.0.1:6720
      2013-10-23 20:15:36 hello        INFO     Hello World!
      2013-10-23 20:15:46 SmartHome.py INFO     WebSocket: incoming connection from 192.168.0.25:56604
      Further info could be that the device I am trying to read is Arcus-EDS: M-BUS
      In ETS group monitor the data comes out just fine..

      Kommentar


        #4
        Try to use

        Code:
        knx_dpt = 14
        instead of

        Code:
        knx_dpt = 14.068
        Mit freundlichen Grüßen
        Niko Will

        Logiken und Schnittstelle zu anderen Systemen: smarthome.py - Visualisierung: smartVISU
        - Gira TS3 - iPhone & iPad - Mobotix T24 - ekey - Denon 2313 - Russound C5 (RIO over TCP Plugin) -

        Kommentar


          #5
          I have already tried that, but even if I choose
          Code:
          knx_dpt = 14
          instead of
          Code:
          knx_dpt = 14.068
          i get a wrong result, any suggestions of how to debug this would be greatly appreciated.

          Kommentar


            #6
            The log says

            Code:
            2013-10-24 17:46:17 SmartHome.py WARNING  knx: Ignoring Temperature unknown dpt: 14.068
            what does the log exactly say if you use knx_dpt=14?

            EDIT: do you need the Onewire Plugin? Because it can't find the configured Onewire server. If you don't need it, then deactivate it.
            Mit freundlichen Grüßen
            Niko Will

            Logiken und Schnittstelle zu anderen Systemen: smarthome.py - Visualisierung: smartVISU
            - Gira TS3 - iPhone & iPad - Mobotix T24 - ekey - Denon 2313 - Russound C5 (RIO over TCP Plugin) -

            Kommentar


              #7
              I have edited the former question because I had tried both options for DPT, the log only came up with the error when 14.068 was set.

              I will deactivate the OW plugin, but still this is a strange outcome which i driving me crazy...

              Kommentar


                #8
                Hi John,

                have you verified the data with the ets group monitor?
                What does the ets say and what does SH.py in the debug log say.

                so long

                Marcus

                Kommentar

                Lädt...
                X