Ankündigung

Einklappen

Serverwartung 21.2.



Am 21.2. im Laufe des späten Abends wird eine Serverwartung durchgeführt. Das Forum ist dadurch für gut zwei Stunden nicht erreichbar.
Es wird eine Wartungsseite geschaltet.

Mehr anzeigen
Weniger anzeigen

- √ - Dmx Plugin mit 2.1 Beta

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

    - √ - Dmx Plugin mit 2.1 Beta

    Hallo

    Mein Dmx Adapter will nicht mehr

    Habe pyhthon serial installiert aber das Paket wird nicht gefunden

    Code:
    admin@smarthome:/usr/smarthome$ sudo apt-get install python-serial
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    python-serial is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    admin@smarthome:/usr/smarthome$ smarthome.py -d
    2013-11-05 19:16:15,954 INFO     Main         Start SmartHome.py 0.9-399-g3cff383+ -- smarthome.py:__init__:264
    2013-11-05 19:16:15,959 DEBUG    Main         Python 3.2.3 -- smarthome.py:__init__:265
    2013-11-05 19:16:15,966 INFO     Main         Init Scheduler -- scheduler.py:__init__:86
    2013-11-05 19:16:15,972 INFO     Main         Init Plugins -- smarthome.py:start:307
    2013-11-05 19:16:15,988 DEBUG    Scheduler    creating 5 workers -- scheduler.py:run:93
    2013-11-05 19:16:15,999 DEBUG    Main         Plugin: knx -- plugin.py:__init__:43
    2013-11-05 19:16:16,028 DEBUG    Main         Plugin: ow -- plugin.py:__init__:43
    2013-11-05 19:16:16,053 DEBUG    Main         Plugin: cli -- plugin.py:__init__:43
    2013-11-05 19:16:16,065 DEBUG    Main         Plugin: visu -- plugin.py:__init__:43
    2013-11-05 19:16:16,141 DEBUG    Main         Plugin: sql -- plugin.py:__init__:43
    2013-11-05 19:16:16,170 DEBUG    Main         SQLite 3.7.13 -- __init__.py:__init__:62
    2013-11-05 19:16:16,185 DEBUG    Main         SQLite: database integrity ok -- __init__.py:__init__:78
    2013-11-05 19:16:16,210 DEBUG    Main         SQLite pack next time: 2013-11-06 03:02:00+01:00 -- scheduler.py:_next_time:289
    2013-11-05 19:16:16,215 DEBUG    Main         Plugin: rrd -- plugin.py:__init__:43
    2013-11-05 19:16:16,315 DEBUG    Main         Plugin: dmx -- plugin.py:__init__:43
    2013-11-05 19:16:16,326 ERROR    Main         Plugin dmx exception: No module named serial -- plugin.py:__init__:57
    Traceback (most recent call last):
      File "/usr/smarthome/lib/plugin.py", line 53, in __init__
        plugin_thread = Plugin(smarthome, plugin, classname, classpath, args)
      File "/usr/smarthome/lib/plugin.py", line 79, in __init__
        exec("import {0}".format(classpath))
      File "<string>", line 1, in <module>
      File "/usr/smarthome/plugins/dmx/__init__.py", line 24, in <module>
        import serial
    ImportError: No module named serial
    2013-11-05 19:16:16,345 INFO     Main         Init Items -- smarthome.py:start:313
    Hab ich was vergessen??

    mfg rudi

    #2
    Hi Rudi,

    Du hast nichts vergessen, aber anscheinend ich.

    sudo apt-get install python3-serial

    Bis bald

    Marcus

    Kommentar


      #3
      Vielleicht gibt es für dein System extra Pakete für Python 3.2

      Was gibt dir folgender Befehl aus:

      apt-cache search python | grep serial

      Gesendet von meinem GT-I9100 mit Tapatalk

      Kommentar


        #4
        ok

        hab jetzt folgendes Problem
        Code:
        2013-11-05 20:10:08,068 WARNING  Main         Problem sending data to dmx adapter. -- __init__.py:_send_nanodmx:66
        2013-11-05 20:10:08,076 WARNING  Main         Could not communicate with dmx adapter. -- __init__.py:__init__:48
        Hab leider nicht den nano_dmx sondern den mini von dmx4all.

        Code:
        [    2.926865] usb 1-1.2.2: New USB device found, idVendor=0403, idProduct=c850
        [    2.928668] usb 1-1.2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
        [    2.931702] usb 1-1.2.2: Product: USB-DMX-Interface
        [    2.933250] usb 1-1.2.2: Manufacturer: DMX4ALL
        [    2.934799] usb 1-1.2.2: SerialNumber: 009CECD5
        [    3.044286] usbcore: registered new interface driver usbserial
        [    3.046052] usbcore: registered new interface driver usbserial_generic
        [    3.047662] USB Serial support registered for generic
        [    3.088831] usbserial: USB Serial Driver core
        [    3.110402] usbcore: registered new interface driver ftdi_sio
        [    3.119861] USB Serial support registered for FTDI USB Serial Device
        [    3.121806] ftdi_sio 1-1.2.2:1.0: FTDI USB Serial Device converter detected
        [    3.123875] usb 1-1.2.2: Detected FT232RL
        [    3.125385] usb 1-1.2.2: Number of endpoints 2
        [    3.126798] usb 1-1.2.2: Endpoint 1 MaxPacketSize 64
        [    3.128179] usb 1-1.2.2: Endpoint 2 MaxPacketSize 64
        [    3.136121] usb 1-1.2.2: Setting MaxPacketSize 64
        [    3.140463] usb 1-1.2.2: FTDI USB Serial Device converter now attached to ttyUSB0
        [    3.143236] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
        Vor der Umstellung hat er aber funktioniert

        Kommentar


          #5
          Hallo Rudi,

          das ist schlecht, ich habe den Adapter nicht.

          Wie sieht denn Deine plugin.conf für dmx aus? Und die entsprechende item.conf
          Steht da dmx_ch = y,b? Probier mal dmx_ch = y|b

          Bis bald

          Marcus

          Kommentar


            #6
            Hallo Rudi,

            führ bitte im ControlCenter ein Update durch und probiere es noch einmal.

            Danke

            Marcus

            Kommentar


              #7
              Danke Marcus

              Funktioniert wieder.

              Gute Nacht

              Kommentar

              Lädt...
              X