Hallo zusammen,
erst einmal Frohe Weihnachten zusammen.
Ich bin froh das es so ein Forum gibt, in dem so tatkräftige Hilfe und viele nützliche Tips bekommen kann.
Ich habe mich versucht das DMX Plugin ans laufen zu bekommen. Aber es will einfach nicht funktionieren und so langsam weiß ich nicht mehr weiter.
Das Forum habe ich durch und auch diverse Stunden googel liegen hinter mir.
Auf gespielt habe ich das 2013-11-16.img Image. Über den Smartcontrol habe ich auch Update gemacht. Ebenso habe ich alt-get update durchgeführt.
Als Interface benutze ich den NanoDmx von dmx4all.
Ich fände es total klasse wenn mir einer Helfen könnte.
Hier folgt jetzt alle Informationen wo ich denke die zur Hilfe benötigt werden.
/usr/smarthome/etc/plugin.conf
[dmx]
class_name = DMX
class_path = plugins.dmx
tty = /dev/ttyACM0
# interface = nanodmx
_______________________________________________
/etc/udev/rules.d/80-smarthome.rules
SUBSYSTEMS=="usb",KERNEL=="ttyACM*",ATTRS{product} =="NanoDMX Interface",SYMLINK+="usbtty-%b"
______________________________________________
/usr/smarthome/items/item.conf
[buero]
[[licht]]
type = num
enforce_update = On
dmx_ch = 1
_____________________________________________
smarthome.py -d
2014-12-25 12:25:07,046 INFO Main Start SmartHome.py 1.0-35-gf62db45 -- smarthome.py:__init__:231
2014-12-25 12:25:07,051 DEBUG Main Python 3.2.3 -- smarthome.py:__init__:232
2014-12-25 12:25:07,058 INFO Main Init Scheduler -- scheduler.py:__init__:86
2014-12-25 12:25:07,064 INFO Main Init Plugins -- smarthome.py:start:274
2014-12-25 12:25:07,079 DEBUG Scheduler creating 5 workers -- scheduler.py:run:93
2014-12-25 12:25:07,089 DEBUG Main Plugin: knx -- plugin.py:__init__:43
2014-12-25 12:25:07,120 DEBUG Main Plugin: visu -- plugin.py:__init__:43
2014-12-25 12:25:07,207 DEBUG Main Plugin: cli -- plugin.py:__init__:43
2014-12-25 12:25:07,220 DEBUG Main Plugin: sql -- plugin.py:__init__:43
2014-12-25 12:25:07,252 DEBUG Main SQLite 3.7.13 -- __init__.py:__init__:62
2014-12-25 12:25:07,302 DEBUG Main SQLite: database integrity ok -- __init__.py:__init__:78
2014-12-25 12:25:07,329 DEBUG Main SQLite pack next time: 2014-12-26 03:02:00+01:00 -- scheduler.py:_next_time:289
2014-12-25 12:25:07,336 DEBUG Main Plugin: dmx -- plugin.py:__init__:43
2014-12-25 12:25:07,384 INFO Main Init Items -- smarthome.py:start:280
2014-12-25 12:25:07,578 DEBUG Main Item env.core.memory = 13660160.0 via SQLite None None -- item.py:set:457
2014-12-25 12:25:07,605 DEBUG Main Item env.core.threads = 7.0 via SQLite None None -- item.py:set:457
2014-12-25 12:25:07,631 DEBUG Main Item env.core.garbage = 0.0 via SQLite None None -- item.py:set:457
2014-12-25 12:25:07,642 DEBUG Main Item env.core: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,702 DEBUG Main Item env.location: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,740 DEBUG Main Item env.system.load = 0.03 via SQLite None None -- item.py:set:457
2014-12-25 12:25:07,754 DEBUG Main Item env.system: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,760 DEBUG Main Item env: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,778 DEBUG Main Item buero: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,806 DEBUG Main Item first.hallway: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,822 DEBUG Main Item first.living.light: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,934 DEBUG Main Item first.living.blind: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,951 DEBUG Main Item first.living: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,957 DEBUG Main Item first: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,983 DEBUG Main KNX: second.sleeping.light.level listen on 3/2/14 -- __init__.py
arse_item:235
2014-12-25 12:25:07,990 DEBUG Main KNX: Light listen on 3/2/12 -- __init__.py
arse_item:235
2014-12-25 12:25:08,069 DEBUG Main Item second.sleeping.blind: no type specified. -- item.py:__init__:242
2014-12-25 12:25:08,080 DEBUG Main Item second.sleeping: no type specified. -- item.py:__init__:242
2014-12-25 12:25:08,180 DEBUG Main Item second.bath.blind: no type specified. -- item.py:__init__:242
2014-12-25 12:25:08,186 DEBUG Main Item second.bath: no type specified. -- item.py:__init__:242
2014-12-25 12:25:08,192 DEBUG Main Item second: no type specified. -- item.py:__init__:242
2014-12-25 12:25:08,203 INFO Main Start Plugins -- plugin.py:start:65
2014-12-25 12:25:08,272 INFO Main Start Logics -- logic.py:__init__:33
2014-12-25 12:25:08,278 DEBUG Main Reading Logics from /usr/smarthome/lib/env/logic_conf -- logic.py:_read_logics:64
2014-12-25 12:25:08,313 DEBUG Main Reading Logics from /usr/smarthome/etc/logic.conf -- logic.py:_read_logics:64
2014-12-25 12:25:08,331 DEBUG Main Logic: env_init -- logic.py:__init__:44
2014-12-25 12:25:08,407 DEBUG Main Logic: env_stat -- logic.py:__init__:44
2014-12-25 12:25:08,437 DEBUG Main env_stat next time: 2014-12-25 12:25:22+01:00 -- scheduler.py:_next_time:289
2014-12-25 12:25:08,448 DEBUG Main Logic: env_loc -- logic.py:__init__:44
2014-12-25 12:25:08,750 ERROR Connections KNX: could not connect to 127.0.0.1:6720 (TCP): [Errno 111] Connection refused -- connection.py:connect:382
2014-12-25 12:25:08,761 DEBUG Connections WebSocket: binding to 0.0.0.0:2424 (TCP) -- connection.py:connect:161
2014-12-25 12:25:08,769 DEBUG Connections CLI: binding to 0.0.0.0:2323 (TCP) -- connection.py:connect:161
2014-12-25 12:25:13,772 DEBUG env_init Item env.core.version = 1.0-35-gf62db45 via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,775 DEBUG sh.gc Garbage collector: collected 0 objects. -- smarthome.py:_garbage_collection:498
2014-12-25 12:25:13,782 DEBUG env_loc Item env.location.sunrise = 2014-12-26 08:21:09.489683+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,813 DEBUG env_init Item env.core.start = 2014-12-25 12:25:13.792393+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,853 DEBUG env_init Item env.system.name = smarthome.local via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,868 DEBUG env_loc Item env.location.sunset = 2014-12-25 16:15:37.888445+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,892 DEBUG env_init Item env.system.start = 2014-12-24 15:41:30.887987+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,958 DEBUG env_loc Item env.location.moonrise = 2014-12-26 10:51:41.237671+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:14,044 DEBUG env_loc Item env.location.moonset = 2014-12-25 20:56:37.053560+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:14,101 DEBUG env_loc Item env.location.moonphase = 1 via Logic None None -- item.py:__update:363
2014-12-25 12:25:14,201 DEBUG env_loc Item env.location.day = True via Logic None None -- item.py:__update:363
2014-12-25 12:25:14,235 DEBUG sh.gc Object references: 9292 -- smarthome.py:_maintenance:490
2014-12-25 12:25:14,333 DEBUG Scheduler env_loc next time: 2014-12-25 12:55:14+01:00 -- scheduler.py:_next_time:289
2014-12-25 12:25:14,360 DEBUG Scheduler sh.gc next time: 2014-12-26 02:04:00+01:00 -- scheduler.py:_next_time:289
2014-12-25 12:25:22,483 DEBUG env_stat Item env.core.memory = 13598720 via Logic None None -- item.py:__update:363
2014-12-25 12:25:22,495 DEBUG env_stat Item env.system.load = 0.08 via Logic None None -- item.py:__update:363
2014-12-25 12:25:22,507 DEBUG env_stat Item env.location.moonlight = 16 via Logic None None -- item.py:__update:363
2014-12-25 12:25:22,928 DEBUG Scheduler env_stat next time: 2014-12-25 12:30:22+01:00 -- scheduler.py:_next_time:289
_____________________________________________
dmesg | grep tty
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x36b2c729 smsc95xx.macaddr=B8:27:EB:B2:C7:29 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] console [tty1] enabled
[ 0.528945] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 4.385125] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
[66644.919870] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
[66683.581848] cdc_acm 1-1.3:1.0: ttyACM1: USB ACM device
[66737.093113] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
____________________________________________
apt-cache search python | grep serial
python-jsonpickle - Python library for serializing arbitrary object graphs into JSON
python-rdflib - RDF library containing an RDF triple store and RDF/XML parser/serializer
python-serial - pyserial - module encapsulating access for the serial port
python3-serial - pyserial - module encapsulating access for the serial port
__________________________________________
echo "C000L255" > /dev/ttyACM0
gibt kein Ergebnis
Danke schon einmal.
_________________________________________
erst einmal Frohe Weihnachten zusammen.
Ich bin froh das es so ein Forum gibt, in dem so tatkräftige Hilfe und viele nützliche Tips bekommen kann.
Ich habe mich versucht das DMX Plugin ans laufen zu bekommen. Aber es will einfach nicht funktionieren und so langsam weiß ich nicht mehr weiter.
Das Forum habe ich durch und auch diverse Stunden googel liegen hinter mir.
Auf gespielt habe ich das 2013-11-16.img Image. Über den Smartcontrol habe ich auch Update gemacht. Ebenso habe ich alt-get update durchgeführt.
Als Interface benutze ich den NanoDmx von dmx4all.
Ich fände es total klasse wenn mir einer Helfen könnte.
Hier folgt jetzt alle Informationen wo ich denke die zur Hilfe benötigt werden.
/usr/smarthome/etc/plugin.conf
[dmx]
class_name = DMX
class_path = plugins.dmx
tty = /dev/ttyACM0
# interface = nanodmx
_______________________________________________
/etc/udev/rules.d/80-smarthome.rules
SUBSYSTEMS=="usb",KERNEL=="ttyACM*",ATTRS{product} =="NanoDMX Interface",SYMLINK+="usbtty-%b"
______________________________________________
/usr/smarthome/items/item.conf
[buero]
[[licht]]
type = num
enforce_update = On
dmx_ch = 1
_____________________________________________
smarthome.py -d
2014-12-25 12:25:07,046 INFO Main Start SmartHome.py 1.0-35-gf62db45 -- smarthome.py:__init__:231
2014-12-25 12:25:07,051 DEBUG Main Python 3.2.3 -- smarthome.py:__init__:232
2014-12-25 12:25:07,058 INFO Main Init Scheduler -- scheduler.py:__init__:86
2014-12-25 12:25:07,064 INFO Main Init Plugins -- smarthome.py:start:274
2014-12-25 12:25:07,079 DEBUG Scheduler creating 5 workers -- scheduler.py:run:93
2014-12-25 12:25:07,089 DEBUG Main Plugin: knx -- plugin.py:__init__:43
2014-12-25 12:25:07,120 DEBUG Main Plugin: visu -- plugin.py:__init__:43
2014-12-25 12:25:07,207 DEBUG Main Plugin: cli -- plugin.py:__init__:43
2014-12-25 12:25:07,220 DEBUG Main Plugin: sql -- plugin.py:__init__:43
2014-12-25 12:25:07,252 DEBUG Main SQLite 3.7.13 -- __init__.py:__init__:62
2014-12-25 12:25:07,302 DEBUG Main SQLite: database integrity ok -- __init__.py:__init__:78
2014-12-25 12:25:07,329 DEBUG Main SQLite pack next time: 2014-12-26 03:02:00+01:00 -- scheduler.py:_next_time:289
2014-12-25 12:25:07,336 DEBUG Main Plugin: dmx -- plugin.py:__init__:43
2014-12-25 12:25:07,384 INFO Main Init Items -- smarthome.py:start:280
2014-12-25 12:25:07,578 DEBUG Main Item env.core.memory = 13660160.0 via SQLite None None -- item.py:set:457
2014-12-25 12:25:07,605 DEBUG Main Item env.core.threads = 7.0 via SQLite None None -- item.py:set:457
2014-12-25 12:25:07,631 DEBUG Main Item env.core.garbage = 0.0 via SQLite None None -- item.py:set:457
2014-12-25 12:25:07,642 DEBUG Main Item env.core: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,702 DEBUG Main Item env.location: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,740 DEBUG Main Item env.system.load = 0.03 via SQLite None None -- item.py:set:457
2014-12-25 12:25:07,754 DEBUG Main Item env.system: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,760 DEBUG Main Item env: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,778 DEBUG Main Item buero: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,806 DEBUG Main Item first.hallway: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,822 DEBUG Main Item first.living.light: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,934 DEBUG Main Item first.living.blind: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,951 DEBUG Main Item first.living: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,957 DEBUG Main Item first: no type specified. -- item.py:__init__:242
2014-12-25 12:25:07,983 DEBUG Main KNX: second.sleeping.light.level listen on 3/2/14 -- __init__.py

2014-12-25 12:25:07,990 DEBUG Main KNX: Light listen on 3/2/12 -- __init__.py

2014-12-25 12:25:08,069 DEBUG Main Item second.sleeping.blind: no type specified. -- item.py:__init__:242
2014-12-25 12:25:08,080 DEBUG Main Item second.sleeping: no type specified. -- item.py:__init__:242
2014-12-25 12:25:08,180 DEBUG Main Item second.bath.blind: no type specified. -- item.py:__init__:242
2014-12-25 12:25:08,186 DEBUG Main Item second.bath: no type specified. -- item.py:__init__:242
2014-12-25 12:25:08,192 DEBUG Main Item second: no type specified. -- item.py:__init__:242
2014-12-25 12:25:08,203 INFO Main Start Plugins -- plugin.py:start:65
2014-12-25 12:25:08,272 INFO Main Start Logics -- logic.py:__init__:33
2014-12-25 12:25:08,278 DEBUG Main Reading Logics from /usr/smarthome/lib/env/logic_conf -- logic.py:_read_logics:64
2014-12-25 12:25:08,313 DEBUG Main Reading Logics from /usr/smarthome/etc/logic.conf -- logic.py:_read_logics:64
2014-12-25 12:25:08,331 DEBUG Main Logic: env_init -- logic.py:__init__:44
2014-12-25 12:25:08,407 DEBUG Main Logic: env_stat -- logic.py:__init__:44
2014-12-25 12:25:08,437 DEBUG Main env_stat next time: 2014-12-25 12:25:22+01:00 -- scheduler.py:_next_time:289
2014-12-25 12:25:08,448 DEBUG Main Logic: env_loc -- logic.py:__init__:44
2014-12-25 12:25:08,750 ERROR Connections KNX: could not connect to 127.0.0.1:6720 (TCP): [Errno 111] Connection refused -- connection.py:connect:382
2014-12-25 12:25:08,761 DEBUG Connections WebSocket: binding to 0.0.0.0:2424 (TCP) -- connection.py:connect:161
2014-12-25 12:25:08,769 DEBUG Connections CLI: binding to 0.0.0.0:2323 (TCP) -- connection.py:connect:161
2014-12-25 12:25:13,772 DEBUG env_init Item env.core.version = 1.0-35-gf62db45 via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,775 DEBUG sh.gc Garbage collector: collected 0 objects. -- smarthome.py:_garbage_collection:498
2014-12-25 12:25:13,782 DEBUG env_loc Item env.location.sunrise = 2014-12-26 08:21:09.489683+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,813 DEBUG env_init Item env.core.start = 2014-12-25 12:25:13.792393+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,853 DEBUG env_init Item env.system.name = smarthome.local via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,868 DEBUG env_loc Item env.location.sunset = 2014-12-25 16:15:37.888445+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,892 DEBUG env_init Item env.system.start = 2014-12-24 15:41:30.887987+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:13,958 DEBUG env_loc Item env.location.moonrise = 2014-12-26 10:51:41.237671+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:14,044 DEBUG env_loc Item env.location.moonset = 2014-12-25 20:56:37.053560+01:00 via Logic None None -- item.py:__update:363
2014-12-25 12:25:14,101 DEBUG env_loc Item env.location.moonphase = 1 via Logic None None -- item.py:__update:363
2014-12-25 12:25:14,201 DEBUG env_loc Item env.location.day = True via Logic None None -- item.py:__update:363
2014-12-25 12:25:14,235 DEBUG sh.gc Object references: 9292 -- smarthome.py:_maintenance:490
2014-12-25 12:25:14,333 DEBUG Scheduler env_loc next time: 2014-12-25 12:55:14+01:00 -- scheduler.py:_next_time:289
2014-12-25 12:25:14,360 DEBUG Scheduler sh.gc next time: 2014-12-26 02:04:00+01:00 -- scheduler.py:_next_time:289
2014-12-25 12:25:22,483 DEBUG env_stat Item env.core.memory = 13598720 via Logic None None -- item.py:__update:363
2014-12-25 12:25:22,495 DEBUG env_stat Item env.system.load = 0.08 via Logic None None -- item.py:__update:363
2014-12-25 12:25:22,507 DEBUG env_stat Item env.location.moonlight = 16 via Logic None None -- item.py:__update:363
2014-12-25 12:25:22,928 DEBUG Scheduler env_stat next time: 2014-12-25 12:30:22+01:00 -- scheduler.py:_next_time:289
_____________________________________________
dmesg | grep tty
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x36b2c729 smsc95xx.macaddr=B8:27:EB:B2:C7:29 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] console [tty1] enabled
[ 0.528945] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83) is a PL011 rev3
[ 4.385125] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
[66644.919870] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
[66683.581848] cdc_acm 1-1.3:1.0: ttyACM1: USB ACM device
[66737.093113] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device
____________________________________________
apt-cache search python | grep serial
python-jsonpickle - Python library for serializing arbitrary object graphs into JSON
python-rdflib - RDF library containing an RDF triple store and RDF/XML parser/serializer
python-serial - pyserial - module encapsulating access for the serial port
python3-serial - pyserial - module encapsulating access for the serial port
__________________________________________
echo "C000L255" > /dev/ttyACM0
gibt kein Ergebnis
Danke schon einmal.
_________________________________________
Kommentar