Ankündigung

Einklappen
Keine Ankündigung bisher.

Smartmeter Plugin - Tester gesucht

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

    #91
    hat schon jemand das script zufällig für einen Landis+Gyr E650 angepasst ?

    Das dingt spuckt einiges aus über die commandozeile, was so ca 190 sekunden läuft für einen auslesevorgang.

    admin@smarthome:/usr/smarthome/plugins/dlms$ cat /dev/lesekopf0

    /?!
    /LGZ5\XXXXXX.B32
    F.F(00000000)
    0.0.0(XXXX)
    0.0.1(XXXXX)
    0.1.0(04)
    0.1.0&04(14-07-07 16:12)
    0.1.0*03(14-07-01 14:35)
    0.1.0&02(13-10-21 10:48)
    0.1.0&01(13-10-21 09:53)
    0.1.0*00(00-00-00 00:00)
    0.1.0*00(00-00-00 00:00)
    0.1.0*00(00-00-00 00:00)
    0.1.0*00(00-00-00 00:00)
    0.1.0*00(00-00-00 00:00)
    0.1.0*00(00-00-00 00:00)
    0.1.0*00(00-00-00 00:00)
    0.1.0*00(00-00-00 00:00)
    0.1.0*00(00-00-00 00:00)
    0.1.0*00(00-00-00 00:00)
    0.1.0*00(00-00-00 00:00)
    0.9.1(06:40:40)
    0.9.2(14-07-28)
    1.4.0(10)(00.49*kW)
    2.4.0(10)(00.00*kW)
    9.4.0(10)(00.79*kVA)
    10.4.0(10)(00.00*kVA)
    1.6.0(03.47*kW)(14-07-26 15:15)
    1.6.0&04(00.00)(00-00-00 00:00)
    1.6.0*03(00.61)(13-10-21 11:30)
    1.6.0&02(00.62)(13-10-21 10:15)
    1.6.0&01(13.81)(13-10-21 09:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    1.6.0*00(00.00)(00-00-00 00:00)
    2.6.0(03.85*kW)(14-07-15 14:15)
    2.6.0&04(00.00)(00-00-00 00:00)
    2.6.0*03(00.62)(13-10-21 11:15)
    2.6.0&02(00.61)(13-10-21 10:30)
    2.6.0&01(13.81)(13-10-21 09:30)
    2.6.0*00(00.00)(00-00-00 00:00)
    2.6.0*00(00.00)(00-00-00 00:00)
    2.6.0*00(00.00)(00-00-00 00:00)
    2.6.0*00(00.00)(00-00-00 00:00)
    2.6.0*00(00.00)(00-00-00 00:00)
    2.6.0*00(00.00)(00-00-00 00:00)
    2.6.0*00(00.00)(00-00-00 00:00)
    2.6.0*00(00.00)(00-00-00 00:00)
    2.6.0*00(00.00)(00-00-00 00:00)
    2.6.0*00(00.00)(00-00-00 00:00)
    2.6.0*00(00.00)(00-00-00 00:00)
    9.6.0(03.72*kVA)(14-07-23 10:45)
    9.6.0&04(00.00)(00-00-00 00:00)
    9.6.0*03(13.82)(13-10-21 11:30)
    9.6.0&02(13.81)(13-10-21 10:15)
    9.6.0&01(13.82)(13-10-21 09:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    9.6.0*00(00.00)(00-00-00 00:00)
    10.6.0(03.92*kVA)(14-07-15 14:15)
    10.6.0&04(00.00)(00-00-00 00:00)
    10.6.0*03(13.82)(13-10-21 11:15)
    10.6.0&02(13.81)(13-10-21 10:30)
    10.6.0&01(13.81)(13-10-21 09:30)
    10.6.0*00(00.00)(00-00-00 00:00)
    10.6.0*00(00.00)(00-00-00 00:00)
    10.6.0*00(00.00)(00-00-00 00:00)
    10.6.0*00(00.00)(00-00-00 00:00)
    10.6.0*00(00.00)(00-00-00 00:00)
    10.6.0*00(00.00)(00-00-00 00:00)
    10.6.0*00(00.00)(00-00-00 00:00)
    10.6.0*00(00.00)(00-00-00 00:00)
    10.6.0*00(00.00)(00-00-00 00:00)
    10.6.0*00(00.00)(00-00-00 00:00)
    10.6.0*00(00.00)(00-00-00 00:00)
    1.8.1(000137.1*kWh)
    1.8.1&04(000004.5)
    1.8.1*03(000004.5)
    1.8.1&02(000004.3)
    1.8.1&01(000004.2)
    1.8.1*00(000000.0)
    1.8.1*00(000000.0)
    1.8.1*00(000000.0)
    1.8.1*00(000000.0)
    1.8.1*00(000000.0)
    1.8.1*00(000000.0)
    1.8.1*00(000000.0)
    1.8.1*00(000000.0)
    1.8.1*00(000000.0)
    1.8.1*00(000000.0)
    1.8.1*00(000000.0)
    1.8.2(000098.2*kWh)
    1.8.2&04(000000.0)
    1.8.2*03(000000.0)
    1.8.2&02(000000.0)
    1.8.2&01(000000.0)
    1.8.2*00(000000.0)
    1.8.2*00(000000.0)
    1.8.2*00(000000.0)
    1.8.2*00(000000.0)
    1.8.2*00(000000.0)
    1.8.2*00(000000.0)
    1.8.2*00(000000.0)
    1.8.2*00(000000.0)
    1.8.2*00(000000.0)
    1.8.2*00(000000.0)
    1.8.2*00(000000.0)
    2.8.1(000246.2*kWh)
    2.8.1&04(000004.1)
    2.8.1*03(000004.1)
    2.8.1&02(000003.9)
    2.8.1&01(000003.7)
    2.8.1*00(000000.0)
    2.8.1*00(000000.0)
    2.8.1*00(000000.0)
    2.8.1*00(000000.0)
    2.8.1*00(000000.0)
    2.8.1*00(000000.0)
    2.8.1*00(000000.0)
    2.8.1*00(000000.0)
    2.8.1*00(000000.0)
    2.8.1*00(000000.0)
    2.8.1*00(000000.0)
    2.8.2(000000.0*kWh)
    2.8.2&04(000000.0)
    2.8.2*03(000000.0)
    2.8.2&02(000000.0)
    2.8.2&01(000000.0)
    2.8.2*00(000000.0)
    2.8.2*00(000000.0)
    2.8.2*00(000000.0)
    2.8.2*00(000000.0)
    2.8.2*00(000000.0)
    2.8.2*00(000000.0)
    2.8.2*00(000000.0)
    2.8.2*00(000000.0)
    2.8.2*00(000000.0)
    2.8.2*00(000000.0)
    2.8.2*00(000000.0)
    5.8.0(000004.7*kvarh)
    5.8.0&04(000004.6)
    5.8.0*03(000004.6)
    5.8.0&02(000004.6)
    5.8.0&01(000001.0)
    5.8.0*00(000000.0)
    5.8.0*00(000000.0)
    5.8.0*00(000000.0)
    5.8.0*00(000000.0)
    5.8.0*00(000000.0)
    5.8.0*00(000000.0)
    5.8.0*00(000000.0)
    5.8.0*00(000000.0)
    5.8.0*00(000000.0)
    5.8.0*00(000000.0)
    5.8.0*00(000000.0)
    6.8.0(000003.8*kvarh)
    6.8.0&04(000003.8)
    6.8.0*03(000003.8)
    6.8.0&02(000003.8)
    6.8.0&01(000000.2)
    6.8.0*00(000000.0)
    6.8.0*00(000000.0)
    6.8.0*00(000000.0)
    6.8.0*00(000000.0)
    6.8.0*00(000000.0)
    6.8.0*00(000000.0)
    6.8.0*00(000000.0)
    6.8.0*00(000000.0)
    6.8.0*00(000000.0)
    6.8.0*00(000000.0)
    6.8.0*00(000000.0)
    7.8.0(000065.3*kvarh)
    7.8.0&04(000004.0)
    7.8.0*03(000004.0)
    7.8.0&02(000000.5)
    7.8.0&01(000000.5)
    7.8.0*00(000000.0)
    7.8.0*00(000000.0)
    7.8.0*00(000000.0)
    7.8.0*00(000000.0)
    7.8.0*00(000000.0)
    7.8.0*00(000000.0)
    7.8.0*00(000000.0)
    7.8.0*00(000000.0)
    7.8.0*00(000000.0)
    7.8.0*00(000000.0)
    7.8.0*00(000000.0)
    8.8.0(000157.2*kvarh)
    8.8.0&04(000003.6)
    8.8.0*03(000003.6)
    8.8.0&02(000000.1)
    8.8.0&01(000000.1)
    8.8.0*00(000000.0)
    8.8.0*00(000000.0)
    8.8.0*00(000000.0)
    8.8.0*00(000000.0)
    8.8.0*00(000000.0)
    8.8.0*00(000000.0)
    8.8.0*00(000000.0)
    8.8.0*00(000000.0)
    8.8.0*00(000000.0)
    8.8.0*00(000000.0)
    8.8.0*00(000000.0)
    C.7.0(00000025)
    C.7.1(00000025)
    C.7.2(00000007)
    C.7.3(00000007)
    32.32.0(0000)(00-00-00 00:00)
    52.32.0(0001)(00-01-01 00:01)
    72.32.0(0001)(00-01-01 00:01)
    32.36.0(0001)(13-10-21 08:25)
    52.36.0(0001)(13-10-21 08:25)
    72.36.0(0001)(13-10-21 08:25)
    32.7(233.5*V)
    52.7(233.3*V)
    72.7(233.3*V)
    0.2.0(B32)
    0.2.1(0DF01)
    0.2.2(405)
    0.2.8(F84F)
    C.2.1(13-10-02 16:16)
    C.8.1(00000000*min)
    C.8.2(00058063*min)
    C.90.1(00684309)
    !
    &

    das plugin aber bricht nach nen bruchteil der werte ab. habe schon versucht das timeout von 2 auf 5 sec zu setzen im script, aber bringt keine änderung.

    2014-07-23 14:38:12,689 DEBUG DLMS dlms: 0.0.0 = XXXXXX-- __init__.py:_update_values:144
    2014-07-23 14:38:12,712 DEBUG DLMS dlms: 0.0.1 = XXXXXX-- __init__.py:_update_values:144
    2014-07-23 14:38:12,717 DEBUG DLMS dlms: 0.1.0 = 04 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,724 DEBUG DLMS dlms: 0.1.0&04 = 14-07-07 16:12 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,729 DEBUG DLMS dlms: 0.1.0*03 = 14-07-01 14:35 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,735 DEBUG DLMS dlms: 0.1.0&02 = 13-10-21 10:48 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,741 DEBUG DLMS dlms: 0.1.0&01 = 13-10-21 09:53 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,747 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,753 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,758 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,764 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,770 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,776 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,781 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,787 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,793 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,799 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,805 DEBUG DLMS dlms: 0.1.0*00 = 00-00-00 00:00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,810 DEBUG DLMS dlms: 0.9.1 = 14:37:41 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,816 DEBUG DLMS dlms: 0.9.2 = 14-07-23 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,822 DEBUG DLMS dlms: 1.4.0 = 07 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,827 DEBUG DLMS dlms: 2.4.0 = 07 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,833 DEBUG DLMS dlms: 9.4.0 = 07 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,839 DEBUG DLMS dlms: 10.4.0 = 07 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,845 DEBUG DLMS dlms: 1.6.0 = 03.26 kW -- __init__.py:_update_values:147
    2014-07-23 14:38:12,851 DEBUG DLMS dlms: 1.6.0&04 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,863 DEBUG DLMS dlms: 1.6.0*03 = 00.61 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,876 DEBUG DLMS dlms: 1.6.0&02 = 00.62 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,883 DEBUG DLMS dlms: 1.6.0&01 = 13.81 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,889 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,895 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,901 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,906 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,912 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,918 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,924 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,929 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,935 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,941 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,947 DEBUG DLMS dlms: 1.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,953 DEBUG DLMS dlms: 2.6.0 = 03.85 kW -- __init__.py:_update_values:147
    2014-07-23 14:38:12,958 DEBUG DLMS dlms: 2.6.0&04 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,964 DEBUG DLMS dlms: 2.6.0*03 = 00.62 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,970 DEBUG DLMS dlms: 2.6.0&02 = 00.61 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,976 DEBUG DLMS dlms: 2.6.0&01 = 13.81 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,981 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,987 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,993 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:12,999 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:13,005 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:13,010 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:13,016 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:13,022 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:13,028 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:13,033 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:13,039 DEBUG DLMS dlms: 2.6.0*00 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:13,045 DEBUG DLMS dlms: 9.6.0 = 03.72 kVA -- __init__.py:_update_values:147
    2014-07-23 14:38:13,051 DEBUG DLMS dlms: 9.6.0&04 = 00.00 -- __init__.py:_update_values:144
    2014-07-23 14:38:13,056 DEBUG DLMS dlms: 9.6.0*03 = 13.82 -- __init__.py:_update_values:144
    jemand ne idee ?

    Kommentar


      #92
      hm ok. timeout auf 5 sekunden und jetz kommt alles an im smarthome.py

      2014-07-28 08:00:01,342 DEBUG DLMS dlms: Reading took: 179.91s -- __init__.py:_update_values:122
      kann das irgendwo zu problemen führen wenn das ding da solange rödelt ?

      Kommentar


        #93
        wollte heut auch das dlms plugin nutzen,
        Benutze einen Hager 363w5, mit der Rückseitigen Schnittstelle.
        Auslesen tu ich mit einem einfachen RS232->Usb wandler

        beim lesen bekomme ich diesen Fehler
        2014-07-31 11:56:47,486 WARNING DLMS dlms: index out of range -- __init__.py:_update_values:83
        2014-07-31 11:56:47,495 WARNING DLMS dlms: malformed response to init seq=b'' -- __init__.py:_update_values:86


        mit dem sml plugin bekomme ich folgende ausgabe
        Data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fb f7 fd fd 7a bb 5b fe 7a fd fd
        77 e7 fd fe 7f ba fe f3 fd fd 7a ed 5a ff 5b e6 fd
        77 e7 fd ff 7e ba fe f6 fd fd 7a ed 5a fe 5a 9f fd
        77 e7 fd fe 7e 3a fe f5 fd fd 7a ed 5a fe 5a d6 fd fd fd 73 b5 de fe 76 ed fe fe fe fe fd 7e 9f ad 7a fd 7a
        fe 7a 73 fa fd 7d fd 7b ce 7a fe fe fe 9b 9b db 9b 9a fa d6 ae db db db db fd fd fd fd 77 ed ff ff ff ff fd 7f df af 7b fd 7b ff 7b 7b fd fd 77 fd fd
        ed ff ff ff ff ff 7f eb ef eb f7 6f 7d 77 fd f7 57 df fb d7 fd fd 7b af b7 ff 77 ed ff ff ff ff fd 7f df ad 7b fd 7b ff 7b 7b f7 fd 77 fd eb f6 6f 7d
        77 fd e7 57 de fa d7 f7 fd fe 7b ea ff ff 7a 7b fd 76 f5 67 ef fd 76 77 f7 fd fd e7 fa fb ff fd fd fd fd f6 6f 7d 77 fd 77 f7 fd ff fe ff ed ff fd fd
        fd fd eb f6 6f 7d 67 fd e7 56 de fb d7 fd
        77 e7 fd fe fd ee fe ff 7a fa fd 7a 9e 5a ff 55 fe ae ad 7b fd
        77 e7 fd fe fd ee fd ff fd fd 7a 9e 5a ff 55 fe ae e6 53 fd
        77 e7 fd fe fd ee fa ff fd fd 7a 9e 5a ff 53 a7 de fd |
        77 e7 fd fe de e7 fe ff fd fd 7a 9b 5a fe 53 fe 5e fd
        77 e7 fd fe b6 e7 fe ff fd fd 7a 9b 5a ff 53 fe fe fd
        77 e7 fd fe 9f e7 fe ff fd fd 7a bd 5a fe 53 fe f3 fd
        77 e7 fd fe be e7 fe ff fd fd 7a b3 5a fe 53 5b 3d fd
        77 e7 fd fe 3e e7 fe ff fd fd 7a 9b 5a ff 53 fa 9a fd
        77 e7 fd fe 33 e7 fe ff fd fd 7a bd 5a fe 53 fe b6 fd
        77 e7 fd fe 36 e7 fe ff fd fd 7a b3 5a fe 53 5b fd fd
        77 e7 fd fe 4e e7 fe ff fd fd 7a 9b 5a ff 53 fd e7 fd
        77 e7 fd fe 67 e7 fe ff fd fd 7a bd 5a fe 53 fe 9e fd
        77 e7 fd fe 6e e7 fe ff fd fd 7a b3 5a fe 53 5b af fd
        77 e7 fd fe 7e 3a fe fa fd fd 7a ed 5a ff 53 fd de fd
        77 e7 fd fd e7 fa f5 ff fd fd fd fd f3 fa 56 5e 35 e7 f5 3d f5 9e de d5 d3 f7 f6 cd 5b bd f6 67 fd 9d cd 9d fa a7 e7 9d bd 9d de f6 f3 ed 3e 6f 7a d5 56 ea 9d ad 7d da 7d 7d 3a 7e fe bd fd
        77 e7 fd fe 7e 3a f3 f3 fd fd 7a b3 5a fe 7a ee fd 77 e7 fd fe 7e 3a f3 f6 fd fd 7a b3 5a fe 7a fd fd
        77 e7 fd fe 7e ba fe f3 fd fd 7a ed 5a fe 5a e6 fd 77 e7 fd fe 7e 3a fe f6 fd fd 7a ed 5a fe 5a 9f fd
        77 e7 fd fe 7e 3a fe f5 fd fd 7a ed 5a fe 5a d6 fd fd fd 73 ae ab fe 76 ed fe fe fe fe fd 7e 9f af 7a fd 7a fe 7a 73 fa fd 7d fd 73 fb d7 fe fe fe 9b 9b 9b 9b 9a fa 5e f6 db db db db
        fd fd fd fd 77 ed ff ff ff ff fd 7f df bb 7b fd 7b ff 7b 7b fd fd 77 fd fd ed ff ff ff ff ff 7f eb dd eb f7 6f 7d 77 fd f7 57 df fb d7 fd fd 7b f7 d7 ff 77
        ed ff ff ff ff fd 7f 9f bb 7a fd 7b fe 7b 7b f7 fd 77 fd eb f7 6e 7d 77 fd e7 57 df fb d7 f7 fd ff 7b eb ff ff 7b 7b fd 76 f5 77 db fd 76
        77 e7 fd fd f7 fa fb ff fd fd fd fd f6 6e 7d 67 fd 77 f7 fd fe ff fe ed ff fd fd fd fd eb f6 6e 7d 67 fd e7 56 de fa d7 fd
        77 e7 fd fe fd ee fe ff 7a fa fd 7a 9e 5a ff 55 fe ae ad 76 fd
        77 e7 fd fe fd ee fd ff fd fd 7a 9e 5a ff 55 fe ae f6 56 fd
        77 e7 fd fe fd ee fa ff fd fd 7a 9e 5a ff 53 a7 de fd
        77 e7 fd fe de e7 fe ff fd fd 7a db 5a fe 53 fe 5e fd
        77 e7 fd fe b6 e7 fe ff fd fd 7a 9b 5a ff 53 fe fe fd
        77 e7 fd fe 9f e7 fe ff fd fd 7a bd 5a fe 53 fe f3 fd
        77 e7 fd fe be e7 fe ff fd fd 7a b3 5a fe 53 5b f3 fd
        77 e7 fd fe 3e e7 fe ff fd fd 7a 9b 5a ff 53 fa 9a fd
        77 e7 fd fe 33 e7 fe ff fd fd 7a bd 5a fe 53 fe b6 fd
        77 e7 fd fe 36 e7 fe ff fd fd 7a b3 5a fe 53 5b ea fd
        77 e7 fd fe 4e e7 fe ff fd fd 7a 9b 5a ff 53 fd e7 fd
        77 e7 fd fe 67 e7 fe ff fd fd 7a bd 5a fe 53 fe 9e fd
        77 e7 fd fe 6e e7 fe ff fd fd 7a b3 5a fe 53 5b da fd
        77 e7 fd fe 7e ba fe fa fd fd 7a ed 5a ff 53 fd de fd
        77 e7 fd fd e7 fa f5 ff fd fd fd fd f3 fa 56 5e 35 e7 f5 3d f5 9e de d5 d3 f7 f6 cd 5b bd f6 67 fd 9d cd 9d fa a7 e7 9d bd 9d de f6 f3 ed 3e 6f 7a d5 56 ea 9d ad 7d da 7d 7d 3a 7e fe bd fd 77 e7 fd fe 7e 3a f3 f3 fd
        fd 7a b3 5a fe 7a ee fd 77 e7 fd fe 7e 3a f3 f6 fd fd 7a b3 5a fe 7a fd fd
        77 e7 fd fe 7e 3a fe f3 fd fd 7a ed 5a fe 5a e6 fd
        77 e7 fd fe 7e 3a fe f6 fd fd 7a ed 5a fe 5a 9f fd
        77 e7 fd fe 7e ba fe f5 fd fd 7a ed 5a fe 5a d6 fd fd fd 73 ed f3 fe 76 ed fe fe fe fe fd 7e 9f b5 7a fd 7a fe 7a 73 fa fd 7d fd 73 36
        fd fe fe fe 9b 9b 9b 9b 9a fa d6 f3 db db db db fd fd fd fd 77 ed ff ff ff ff fd 7f df bf 7b fd 7b ff 7b 7b fd fd 77 fd fd ed ff ff ff ff ff 7f eb db eb f7
        6f 7d 77 fd f7 57 df fb d7 fd fd 7b 7b d7 ff 77 ed ff ff ff ff fd 7f df bd 7b fd 7a ff 7b 7b e7 fd 77 fd eb f7 6f 7d 77 fd f7 56 df fa d7 f7 fd ff 7b ea ff
        ff 7b 7a fd 76 f5 77 d6 fd 76 77 f7 fd fd f7 fa f3 ff fd fd fd fd f6 6e 7d 67 fd 77 e7 fd fe fe fe ed ff fd fd fd fd eb f6 6e 7d 67 fd e7 56 de fb d7 fd 77
        e7 fd fe fd ee fe ff 7a fa fd 7a 9e 5a ff 55 fe ae ad 75 fd 77 e7 fd fe fd ee fd ff fd fd 7a 9e 5a ff 55 fe ae f6 55 fd 77 e7 fd fe fd ee fa ff fd fd 7a 9e
        5a ff 53 a7 de fd 77 e7 fd fe de e7 fe ff fd fd 7a 9b 5a fe 53 fe 5e fd 77 e7 fd fe b6 e7 fe ff fd fd 7a 9b 5a ff 53 fe fe fd 77 e7 fd fe 9f e7 fe ff fd fd
        7a bd 5a fe 53 fe f3 fd 77 e7 fd fe be e7 fe ff fd fd 7a b3 5a fe 53 5b d6 fd 77 e7 fd fe 3e e7 fe ff fd
        fd 7a 9b 5a ff 53
        also scheint ja die verbindung zum Zaehler zu funktionieren
        (mit dem SML Plugin funktioniert die auswertung auch nicht, obwohl diesen mitmeinem Zaehler funktionieren sollte)

        Kommentar


          #94
          Hallo zusammen,

          hab mir den Lesekopf von Udo zugelegt und möchte damit meinen Iskra MT681 ablesen. Leider scheitere ich kläglich.

          Wenn ich, wie auf Seite 1 beschrieben

          Code:
          python /usr/local/smarthome/plugins/dlms/__init__.py /dev/ttyUSB0 auto
          eingebe. Erhalte ich diese Meldung.

          Code:
          Traceback (most recent call last):
            File "/usr/smarthome/plugins/dlms/__init__.py", line 24, in <module>
              import serial
          ImportError: No module named serial
          Kann mir jemand erkären, was es mit diesem serial Modul auf sich hat?

          Danke und Grüße

          Sven

          EDIT:

          hab versucht die Schnittstelle mit

          Code:
          cat /dev/ttyUSB0 | od -tx1
          auszulesen. Dies hat am Anfang auch mal funktioniert. Darauf hin habe ich die plugin.conf angepasst. Danach kam nur noch

          0000000000

          Nach Ab- und Anstecken hab ich die Schnittstelle unter USB1 anstatt und USB0 gefunden. Das auslesen mit cat.... hat wieder funktioniert. Im Anschluss die plugin.conf auf USB1 geändert und smarthome neu gestartet. Nun haben sich wieder nur eine Menge an Nullen gezeigt.

          Ich hoffe das hilft weiter.

          Danke

          EDIT2:

          Nach weiteren 2h zwar noch kein Erfolg, aber neue Erkenntnisse. Gebe ich diesen Befehl
          Code:
          stty -F /dev/ttyUSB0 1:0:8bd:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
          (bei volkszähler gefunden und keine Ahnung was er macht) ein, dann funktioniert das Auslesen mit cat... ohne Probleme.

          Füge ich nun in die plugin.conf

          Code:
          [dlms]
              class_name = DLMS
              class_path = plugins.dlms
              serialport = /dev/ttyUSB0
              update_cycle = 20
          #    baudrate = 300
          ein und starte smarthome neu, bricht das Auslesen hab und funktioniert nicht mehr. Nun muss ich wieder dieses stty... eingeben und er läuft wieder. Meine Items werden trotzdem nicht befüllt.

          Code:
          [Iskra]
              [[stand]]
                  type = num
                  dlms_obis_code = 1.8.0*255
          Code:
          > ls Iskra
          Items:
          ======
          Iskra
          Iskra.stand = 0
          Grüße Sven

          Kommentar


            #95
            ich denke dir fehlt das pyserial.
            Kannst du dir hier besorgen pyserial.

            Kommentar


              #96
              Zitat von freetzmaster Beitrag anzeigen
              ich denke dir fehlt das pyserial.
              Hallo nochmal,

              das dachte ich mir auch, aber ich bin da der total Nixblicker. Was mich ein bisschen stutzig macht, ist die Tatsache, dass ich das Plugin aus (https://knx-user-forum.de/smarthome-...kra-mt681.html ) zum Laufen bekommen habe und da auch import serial verwendet wird.
              Letztendlich hat sich die Sache für mich gelöst, da ich mit dem Iskra-Plugin alle benötigten Daten auslesen kann.

              Danke und noch eine erfolgreiche Woche

              Sven

              Kommentar


                #97
                Hallo,
                ich auch nochmal...
                ich wollte nun meine Landis&Gyr e350 abfragen mit dem DLMS Plugin. Allerdings kommen die Daten übers Netzwerk. Mit dem Volkszähler funktioniert die Abfrage der Daten. Wie kann ich dieses Plugin dazu bewegen nicht den Serial Port abzufragen sondern die Daten vom Host/Port zu holen? Ist das gleiche wie mit dem SML-Plugin. Dort funktioniert die Abfrage bereits, da jemand für das Comet-Smart-Metering-Teil schon die Möglichkeit eingebaut hat..

                Grüße Nico
                www.knx-Hausblog.de

                Kommentar


                  #98
                  Ich habe jetzt den Serial Port des IBB-Capes genommen um das Plugin zu testen mit meinem Landis Gyr,
                  bekomme allerdings nur ne blöde Antwort
                  Code:
                  2015-12-09 00:25:18,406 WARNING  DLMS         dlms: index out of range -- __init__.py:_update_values:83
                  2015-12-09 00:25:18,422 WARNING  DLMS         dlms: malformed response to init seq=b'' -- __init__.py:_update_values:86
                  Mein Zähler will so angequatscht werden..
                  Landis & Gyr E350
                  Serielle Einstellungen: 300bd, 7E1

                  Befehl 1 (/?!) in hex: 2F 3F 21 (plus CR LF von hterm)\ Befehl 2 (-000) in hex: 06 30 30 30 (plus CR LF von hterm)

                  /?!\\ /LGZ4ZMF100AC.M23
                  000
                  F.F(00)
                  C.1.0(12314330) 0.0(00188123 )
                  C.1.1( )
                  1.8.1(001234.120*kWh)
                  1.8.0(001234.120*kWh)
                  2.8.0(000000.000*kWh)
                  15.8.0(001234.120*kWh)
                  C.7.0(0005)
                  32.7(229*V)
                  52.7(230*V)
                  72.7(230*V)
                  31.7(000.03*A)
                  51.7(000.04*A)
                  71.7(000.09*A)
                  C.5.0(0400)
                  0.2.0(M23)
                  16.7(000.00*kW)

                  In LGZ4ZMF100AC.M23 steckt die Aussage, dass der LandisGyr E350 mit 4= max. 4800baud kommunizieren kann.
                  Ohne die Baudrate zu wechseln liefert der Zähler erst nach dem folgenden ACK die eigentlichen Daten.
                  In Antwort 06 30 30 30 steckt also ACK (06 30), (30) 0 = 300baud und (30) 0 = Data Mode
                  Ohne eine korrekte Bestätigung der Zählerantwort auf Befehl1 werden keine Daten gesendet.

                  Habt ihr da was im Petto? Oder eine Idee wie ich da weiter komme?
                  Zuletzt geändert von 2Fast4You78; 09.12.2015, 00:39.
                  www.knx-Hausblog.de

                  Kommentar


                    #99
                    Oder einer ein Script?
                    www.knx-Hausblog.de

                    Kommentar


                      Keiner der mir da ansatzweise helfen kann?....

                      Ok, bin gerade ermahnt worden im Chat... Betrachtet diesen Post als nicht vorhanden!
                      Zuletzt geändert von 2Fast4You78; 09.12.2015, 20:12.
                      www.knx-Hausblog.de

                      Kommentar


                        Ich führe mal meine Alleinunterhaltung fort.
                        Ich bekomme jetzt auch den Fehler:
                        Code:
                         ImportError: No module named serial
                        installiert habe ich es.. aber selber Fehler. Ich vermute mal es will auf einen alten Pfad zurückgreifen. Wie und vor allem Wo kann ich diesen anpassen? ich habe die alte python Version 2.7 drauf und die neue 3.4 irgendwas beisst sich da noch. Auch ein
                        Code:
                        sudo apt-get install python3-serial
                        bringt keinen Erfolg
                        Grüße Nico
                        Zuletzt geändert von 2Fast4You78; 10.12.2015, 08:46.
                        www.knx-Hausblog.de

                        Kommentar


                          Wenig Zeit ...

                          nimm dieses Plugin: https://github.com/mknx/smarthome/tr...p/plugins/dlms

                          Das ist eigentlich das Ergebnis aus diesem Thread. Ist auch auf Python3 ausgelegt. Im Zweifel noch ein: apt-get install python-pyserial

                          Versuche einfach mal mit dem sleep in Zeile #95 zu spielen. Ich denke 0.75 oder 1.0 sollte für den Zähler passen.

                          ...noch weniger Zeit
                          Umgezogen? Ja! ... Fertig? Nein!
                          Baustelle 2.0 !

                          Kommentar


                            Danke... Teste ich mal..
                            www.knx-Hausblog.de

                            Kommentar


                              Weiterhin der Fehler "Import Error: No Module named pyserial"

                              auch

                              Code:
                              apt-get install python-pyserial
                              sagt nur das die neueste Version bereits installiert ist.
                              www.knx-Hausblog.de

                              Kommentar


                                apt-get install python3-serial
                                Umgezogen? Ja! ... Fertig? Nein!
                                Baustelle 2.0 !

                                Kommentar

                                Lädt...
                                X