Nutzt hier jemand FHEM zur Hausautomatisierung?
Ich habe mit xsXcontrol eine kleine Oberfläche geschrieben, um das EZcontrol XS1 zu steuern und überlege, ob man hier zusätzlich auch noch FHEM einbinden könnte.
Nutzt hier jemand FHEM zur Hausautomatisierung?
Ich habe mit xsXcontrol eine kleine Oberfläche geschrieben, um das EZcontrol XS1 zu steuern und überlege, ob man hier zusätzlich auch noch FHEM einbinden könnte.
keine Ahnung ob das geht, aber cool das du ne XS1 hast, habe noch den Vorgänge ,...T10 geile Dinger.
hi
versuche aktuell FHEM auf meine 419+ zu installieren. Da ich mich mit Linux System nicht so gut auskenne habe ich damit so meine liebe Not.
Hast du FHEM auf deinem 419+ schon am laufen?
Gruß Joachim
Moin
Bin gerade dabei Fhem auf einer FB7270 zum laufen zu bekommen.
Klappt auch. Nur jetzt kommt der andere Rest zum Lernen.
Warum ich hier scheibe ist das ich auf diesen Link http://fhemwiki.de/wiki/Qnap_NAS gestoßen bin.
Könnte vielleicht helfen.
Gruß
fkf
Hallo FKF
Danke für den Hinweis, die Seite kannte ich jedoch schon. Auch passt aus meiner Sicht für die 419 hier einiges nicht.
Sollte ich alle erfolgreich zusammen haben melde ich mich.
Nochmals Danke!
:thumb: Gruß Joachim
Ich würde auch gern FHEM auf meinem 859 installieren.
Gibts da jetzt Ergänzungen zu der vorhandenen Anleitung?
http://fhemwiki.de/wiki/Qnap_NAS
Da ich auch nur Halbwissen habe, würden mir Fehler in der Anleitung vermutlich nicht auffallen und mich nur unnötig Zeit kosten.
Falls also schon jemand Erfahrungen gesammelt hat, wäre ich sehr dankbar.
EDIT: Installation verlief ausnahmsweise mal problemlos.
Da ich keinen USB-Adapater verwende und "Optware IPKG" wohl auch schon besser in den QNAPs integriert ist, habe ich erst bei Punkt 3.3 eingesetzt.
Jetzt steht noch die Konfiguration von FHEM aus, aber das ist ein andere Thema.
Ich muss zugeben, dass ich inzwischen wieder vom FHEM abgekommen bin, weil mir die Konfiguration noch nicht ausgereift / einfach genug ist.
Ich habe stattdessen einfach eine eigene Oberfläche entwickelt (siehe Signatur).
Vielleicht wird FHEM aber bald mal etwas benutzerfreundlicher...
Ich versuche auch gerade FHEM auf meinem 412er zum Laufen zu bringen. Folgte im Wesentlichen der Anleitung:
http://www.fhemwiki.de/wiki/Qnap_NAS
Hake bei "Module laden mit Vendor und Product ID für CUL ".
Habe die von Merhan http://forum.qnapclub.de/viewt…=8940&hilit=fhem&start=60 kompilierten Treiber probiert.
Bekomme folgenden Output bei dmesg:
ength: 34[ 65.920000] T10 VPD Identifier Association: addressed logical unit[ 65.920000] T10 VPD Identifier Type: T10 Vendor ID based[ 65.920000] T10 VPD ASCII Device Identifier: QNAP[ 65.920000] CORE_RD[0] - Added LIO DIRECT Ramdisk Device ID: 0 of 8 pages in 1 tables, 32768 total bytes[ 66.070000] Initiate iscsi target log successfully.[ 66.070000] Linux-iSCSI.org iSCSI Target Core Stack v3.5.0 on Linux/armv5tel on 2.6.33.2[ 66.070000] <<<<<<<<<<<<<<<<<<<<<< BEGIN FABRIC API >>>>>>>>>>>>>>>>>>>>>>[ 66.070000] Initialized struct target_fabric_configfs: cf83b600 for iscsi[ 66.070000] <<<<<<<<<<<<<<<<<<<<<< END FABRIC API >>>>>>>>>>>>>>>>>>>>>>[ 66.070000] LIO_TARGET[0] - Set fabric -> lio_target_fabric_configfs[ 66.090000] iscsi_allocate_thread_sets:206: ***OPS*** Spawned 4 thread set(s) (8 total threads).[ 66.090000] TARGET_CORE[iSCSI]: Allocated Discovery se_portal_group_t for endpoint: None, Portal Tag: 1[ 66.090000] CORE[0] - Allocated Discovery TPG[ 66.090000] Loading Complete.[ 66.130000] xor: measuring software checksum speed[ 66.180000] arm4regs : 1090.000 MB/sec[ 66.230000] 8regs : 826.400 MB/sec[ 66.280000] 32regs : 927.200 MB/sec[ 66.280000] xor: using function: arm4regs (1090.000 MB/sec)[ 66.770000] raid6: int32x1 84 MB/s[ 66.940000] raid6: int32x2 117 MB/s[ 67.110000] raid6: int32x4 122 MB/s[ 67.280000] raid6: int32x8 114 MB/s[ 67.280000] raid6: using algorithm int32x4 (122 MB/s)[ 67.930000] md: raid6 personality registered for level 6[ 67.930000] md: raid5 personality registered for level 5[ 67.930000] md: raid4 personality registered for level 4[ 68.010000] device-mapper: ioctl: 4.16.0-ioctl (2009-11-05) initialised: dm-devel@redhat.com[ 68.210000] cryptodev: driver 0.9 loaded.[ 68.320000] usbcore: registered new interface driver usbhid[ 68.320000] usbhid: USB HID core driver[ 68.340000] usbcore: registered new interface driver usblp[ 68.360000] sysinfo: Module loaded.[ 68.610000] ufsd: module license 'Commercial product' taints kernel.[ 68.610000] Disabling lock debugging due to kernel taint[ 68.670000] ufsd: driver (8.6, Dec 5 2012 20:41:51, LBD=ON, delalloc, acl, ioctl, ugm) loaded at bf298000[ 68.670000] NTFS (with native replay) support included[ 68.670000] Hfs+/HfsX support included[ 68.670000] optimized: speed[ 68.670000] Build_for__QNAP_TS_219_ARM_2012-02-09_U86_r184991_b10[ 68.670000][ 68.930000] Slow work thread pool: Starting up[ 68.940000] Slow work thread pool: Ready[ 69.060000] fnotify: Load file notify kernel module.[ 69.060000] fnotify: Global_Private_Data_List_Init()[ 69.060000] fnotify: Launch the fnotify thread: 1173[ 69.060000] fnotify: The fnotify thread starts...[ 69.080000] lib80211: common routines for IEEE802.11 drivers[ 69.080000] lib80211_crypt: registered algorithm 'NULL'[ 69.230000] cfg80211: Calling CRDA to update world regulatory domain[ 69.560000] Enable WDT...[ 71.590000] usbcore: registered new interface driver snd-usb-audio[ 71.640000] usbcore: registered new interface driver snd-usb-caiaq[ 71.730000] Linux video capture interface: v2.00[ 71.810000] usbcore: registered new interface driver uvcvideo[ 71.810000] USB Video Class driver (v0.1.0)[ 72.830000] eth0: link down[ 72.830000] eth0: started[ 72.860000] eth1: started[ 72.960000] eth0: stopped[ 72.970000] eth0: mac address changed[ 72.990000] eth0: started[ 73.020000] eth1: stopped[ 73.030000] eth1: mac address changed[ 73.050000] eth1: started[ 74.880000] eth0: link up, full duplex, speed 100 Mbps[ 85.250000] EXT2-fs (mtdblock5): warning: mounting fs with errors, running e2fsck is recommended[ 88.440000] kjournald starting. Commit interval 5 seconds[ 88.450000] EXT3-fs (md9): using internal journal[ 88.450000] EXT3-fs (md9): mounted filesystem with writeback data mode[ 90.810000] active port 0 :139[ 90.810000] active port 1 :445[ 90.810000] active port 2 :20[ 92.550000] EXT2-fs (mtdblock5): warning: mounting fs with errors, running e2fsck is recommended[ 97.870000] md: bind<sda2>[ 97.880000] raid1: raid set md4 active with 1 out of 1 mirrors[ 97.880000] md4: detected capacity change from 0 to 542769152[ 98.900000] md4: unknown partition table[ 101.000000] Adding 530040k swap on /dev/md4. Priority:-1 extents:1 across:530040k[ 109.680000] EXT4-fs (sda3): mounted filesystem with ordered data mode[ 109.960000] md: bind<sdb2>[ 109.970000] RAID1 conf printout:[ 109.970000] --- wd:1 rd:2[ 109.970000] disk 0, wo:0, o:1, dev:sda2[ 109.970000] disk 1, wo:1, o:1, dev:sdb2[ 109.970000] md: recovery of RAID array md4[ 109.970000] md: minimum _guaranteed_ speed: 5000 KB/sec/disk.[ 109.970000] md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for recovery.[ 109.970000] md: using 128k window, over a total of 530048 blocks.[ 116.830000] EXT4-fs (sdb3): mounted filesystem with ordered data mode[ 125.880000] md: md4: recovery done.[ 125.940000] RAID1 conf printout:[ 125.940000] --- wd:2 rd:2[ 125.940000] disk 0, wo:0, o:1, dev:sda2[ 125.940000] disk 1, wo:0, o:1, dev:sdb2[ 131.830000] eth0: stopped[ 131.830000] eth1: stopped[ 133.610000] eth0: link down[ 133.610000] eth0: started[ 133.760000] eth1: started[ 135.270000] eth0: link up, full duplex, speed 100 Mbps[ 152.770000] eth0: stopped[ 152.800000] eth0: link down[ 152.800000] eth0: started[ 152.890000] eth1: stopped[ 152.910000] eth1: started[ 154.410000] eth0: link up, full duplex, speed 100 Mbps[ 172.010000] active port 0 :139[ 172.010000] active port 1 :445[ 172.010000] active port 2 :20[ 181.370000] warning: `proftpd' uses 32-bit capabilities (legacy support in use)[ 186.480000] VFS (sda3): Writes happened before quota was turned on thus quota information is probably inconsistent. Please run quotacheck(8).[ 187.550000] EXT2-fs (mtdblock5): warning: mounting fs with errors, running e2fsck is recommended[ 203.000000] warning: process `pic_raw' used the deprecated sysctl system call with 8.1.2.[ 210.310000] rule type=2, num=9[ 211.950000] WOL disable[ 211.960000] WOL disable[ 218.940000] Loading iSCSI transport class v2.0-871.[ 220.280000] PPP generic driver version 2.4.2[ 221.190000] iscsi: registered transport (tcp)[ 221.490000] PPP MPPE Compression module registered[ 221.540000] PPP BSD Compression module registered[ 221.570000] PPP Deflate Compression module registered[ 223.010000] nf_conntrack version 0.5.0 (3994 buckets, 15976 max)[ 223.670000] ip_tables: (C) 2000-2006 Netfilter Core Team[ 655.990000] usbserial: version magic '2.6.12.6-arm1 ARMv5 gcc-3.4' should be '2.6.33.2 mod_unload ARMv5 '[ 929.230000] usbserial: version magic '2.6.12.6-arm1 ARMv5 gcc-3.4' should be '2.6.33.2 mod_unload ARMv5 '[ 1448.030000] usbcore: registered new interface driver usbserial[ 1448.030000] USB Serial support registered for generic[ 1448.040000] usbcore: registered new interface driver usbserial_generic[ 1448.040000] usbserial: USB Serial Driver core[ 1543.470000] USB Serial support registered for FTDI USB Serial Device[ 1543.470000] usbcore: registered new interface driver ftdi_sio[ 1543.470000] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver[ 1550.620000] USB Serial support registered for pl2303[ 1550.620000] usbcore: registered new interface driver pl2303[ 1550.620000] pl2303: Prolific PL2303 USB to serial adaptor driver[ 1889.020000] usbcore: registered new interface driver cdc_acm[ 1889.020000] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Das CUL wird nicht erkannt.
Weiß jemand, wie ich diese version magic anpassen und fhem zum Laufen bringen kann?
Versuche ich, nach der genannten Anleitung FHEM zu installieren, bekomme ich:
Ich habe die Optware-Dateien nicht in Optware-ipkg umgenannt, weil dann verschiedene andere Sachen nicht mehr funktionieren.
Vielen Dank,
Katzentier
Ich hatte unaufmerksam geschaut. Die Meldungen
[ 655.990000] usbserial: version magic '2.6.12.6-arm1 ARMv5 gcc-3.4' should be '2.6.33.2 mod_unload ARMv5 '[ 929.230000] usbserial: version magic '2.6.12.6-arm1 ARMv5 gcc-3.4' should be '2.6.33.2 mod_unload ARMv5 '
waren wohl von Tests bevor du die Treiber von Merhan genommen hast.
[ 1448.030000] usbcore: registered new interface driver usbserial
[ 1448.030000] USB Serial support registered for generic
[ 1448.040000] usbcore: registered new interface driver usbserial_generic
[ 1448.040000] usbserial: USB Serial Driver core
[ 1543.470000] USB Serial support registered for FTDI USB Serial Device
[ 1543.470000] usbcore: registered new interface driver ftdi_sio
[ 1543.470000] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
[ 1550.620000] USB Serial support registered for pl2303
[ 1550.620000] usbcore: registered new interface driver pl2303
[ 1550.620000] pl2303: Prolific PL2303 USB to serial adaptor driver
[ 1889.020000] usbcore: registered new interface driver cdc_acm
[ 1889.020000] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Alles anzeigen
Hier wurden die Treiber ja ordentlich geladen, was ein anschliessendes lsmod bestätigen müsste.
lsmod gibt folgendes aus:
Module Size Used by Tainted: P
cdc_acm 13522 0 - Live 0xbf692000
pl2303 14317 0 - Live 0xbf688000
ftdi_sio 30700 0 - Live 0xbf676000
usbserial 26322 2 pl2303,ftdi_sio, Live 0xbf668000
ipt_REDIRECT 881 0 - Live 0xbf662000
ipt_MASQUERADE 1316 1 - Live 0xbf65c000
iptable_filter 1212 0 - Live 0xbf656000
iptable_nat 3336 1 - Live 0xbf650000
ip_tables 8921 2 iptable_filter,iptable_nat, Live 0xbf648000
nf_nat 11975 3 ipt_REDIRECT,ipt_MASQUERADE,iptable_nat, Live 0xbf63f000
nf_conntrack_ipv4 9194 3 iptable_nat,nf_nat, Live 0xbf636000
nf_defrag_ipv4 861 1 nf_conntrack_ipv4, Live 0xbf630000
xt_tcpudp 2089 0 - Live 0xbf62a000
nf_conntrack 43086 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4, Live 0xbf616000
x_tables 10736 5 ipt_REDIRECT,ipt_MASQUERADE,iptable_nat,ip_tables,xt_tcpudp, Live 0xbf60d000
ppp_deflate 3652 0 - Live 0xbf607000
bsd_comp 5036 0 - Live 0xbf600000
ppp_mppe 5614 0 - Live 0xbf5f9000
iscsi_tcp 7839 0 - Live 0xbf5f1000
ppp_async 6753 0 - Live 0xbf5ea000
libiscsi_tcp 12027 1 iscsi_tcp, Live 0xbf5e1000
ppp_generic 15508 4 ppp_deflate,bsd_comp,ppp_mppe,ppp_async, Live 0xbf5d7000
crc_ccitt 1033 1 ppp_async, Live 0xbf5d1000
libiscsi 30440 2 iscsi_tcp,libiscsi_tcp, Live 0xbf5c2000
slhc 4715 1 ppp_generic, Live 0xbf5bb000
ecb 1663 0 - Live 0xbf5b5000
scsi_transport_iscsi 22906 3 iscsi_tcp,libiscsi, Live 0xbf5a7000
arc4 984 0 - Live 0xbf5a1000
fbdisk 18880 0 - Live 0xbf596000
uvcvideo 57291 0 - Live 0xbf581000
v4l2_common 11166 0 - Live 0xbf579000
videodev 34879 1 uvcvideo, Live 0xbf56a000
v4l1_compat 13447 2 uvcvideo,videodev, Live 0xbf561000
v4l2_int_device 2026 0 - Live 0xbf55b000
snd_usb_caiaq 17657 0 - Live 0xbf550000
snd_usb_audio 61573 0 - Live 0xbf534000
hid_logitech 7189 0 - Live 0xbf52d000
snd_usb_lib 15172 1 snd_usb_audio, Live 0xbf523000
snd_hwdep 4809 1 snd_usb_audio, Live 0xbf51c000
snd_pcm_oss 35595 0 - Live 0xbf50c000
snd_mixer_oss 13108 1 snd_pcm_oss, Live 0xbf503000
snd_pcm 56634 3 snd_usb_caiaq,snd_usb_audio,snd_pcm_oss, Live 0xbf4ec000
snd_seq_oss 25585 0 - Live 0xbf4de000
snd_seq_midi 3874 0 - Live 0xbf4d8000
snd_seq_midi_event 4566 2 snd_seq_oss,snd_seq_midi, Live 0xbf4d1000
snd_seq 43233 5 snd_seq_oss,snd_seq_midi,snd_seq_midi_event, Live 0xbf4be000
snd_rawmidi 15853 3 snd_usb_caiaq,snd_usb_lib,snd_seq_midi, Live 0xbf4b4000
snd_page_alloc 4715 1 snd_pcm, Live 0xbf4ad000
snd_seq_device 4739 4 snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi, Live 0xbf4a6000
snd_timer 16026 2 snd_pcm,snd_seq, Live 0xbf49c000
snd 37095 12 snd_usb_caiaq,snd_usb_audio,snd_usb_lib,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_seq,snd_rawmidi,snd_seq_device,snd_timer, Live 0xbf489000
soundcore 4763 1 snd, Live 0xbf482000
mac80211 127193 0 - Live 0xbf456000
cfg80211 118280 1 mac80211, Live 0xbf42d000
lib80211 3384 0 - Live 0xbf427000
fnotify 26893 0 - Live 0xbf41a000 (P)
smbfs 60344 0 - Live 0xbf403000
etxhci_hcd 61287 0 - Live 0xbf3ed000
cifs 237906 0 - Live 0xbf3a6000
nfs 263292 0 - Live 0xbf351000
udf 86992 0 - Live 0xbf334000
isofs 31577 0 - Live 0xbf326000
ufsd 507091 0 - Live 0xbf298000 (P)
ext4 234195 2 - Live 0xbf24f000
jbd2 44609 1 ext4, Live 0xbf23c000
sysinfo 930 0 - Live 0xbf236000
usblp 11304 0 - Live 0xbf22d000
usbhid 15894 0 - Live 0xbf223000
cryptodev 17424 0 - Live 0xbf218000
mv_cesa 4323 0 - Live 0xbf211000
sha512_generic 10151 0 - Live 0xbf209000
sha256_generic 8994 0 - Live 0xbf201000
sha1_generic 1685 0 - Live 0xbf1fb000
aes_generic 34700 1 mv_cesa, Live 0xbf1ed000
dm_crypt 11755 0 - Live 0xbf1e4000
dm_mod 56014 1 dm_crypt, Live 0xbf1cc000
raid456 55681 0 - Live 0xbf1b7000
async_raid6_recov 3592 1 raid456, Live 0xbf1b1000
async_pq 2701 2 raid456,async_raid6_recov, Live 0xbf1ab000
async_xor 1115 3 raid456,async_raid6_recov,async_pq, Live 0xbf1a5000
async_memcpy 628 2 raid456,async_raid6_recov, Live 0xbf19f000
async_tx 1287 5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy, Live 0xbf199000
raid6_pq 75781 2 async_raid6_recov,async_pq, Live 0xbf181000
xor 4859 1 async_xor, Live 0xbf17a000
iscsi_target_mod 249315 0 - Live 0xbf12a000
target_core_mod 253580 1 iscsi_target_mod, Live 0xbf0d7000
autofs 10688 0 - Live 0xbf0ce000
nls_utf8 954 0 - Live 0xbf0c8000
nls_iso8859_2 3583 0 - Live 0xbf0c2000
nls_cp850 3831 0 - Live 0xbf0bc000
nls_cp437 4599 0 - Live 0xbf0b5000
vfat 8512 0 - Live 0xbf0ad000
fat 44947 1 vfat, Live 0xbf09b000
appletalk 24361 0 - Live 0xbf08e000
psnap 1515 1 appletalk, Live 0xbf088000
llc 3018 1 psnap, Live 0xbf082000
quota_v2 3437 2 - Live 0xbf07c000
quota_v1 2294 0 - Live 0xbf076000
quota_tree 6464 1 quota_v2, Live 0xbf06f000
fuse 52045 0 - Live 0xbf059000
ehci_hcd 33293 0 - Live 0xbf04a000
hid 40232 2 hid_logitech,usbhid, Live 0xbf03a000
ext3 117188 2 - Live 0xbf012000
jbd 37947 1 ext3, Live 0xbf000000
Alles anzeigen
Danke für deine Hilfe!
Bin jetzt einen Schritt weiter. Konnte mit
fhem installieren. Allerdings lässt es sich noch nicht starten, wahrscheinlich hab ich irgendwelche Einstellungen und Pfade falsch.
Nach Eingabe von
erhalte ich noch Fehlermeldungen:
FHEM.cfg:
attr global logfile /opt/var/log/fhem/fhem-%Y-%V.logattr global statefile /opt/var/log/fhem/fhem.savestatedefine CUL0 CUL /dev/ttyACM0@9600 0000attr CUL0 rfmode MAXdefine cm CUL_MAX 123456attr global modpath . # where our FHEM directory isattr global statefile /opt/var/log/fhem/fhem.savestate # where to save the state of the devicesattr global verbose 3 # "normal" verbosity (min 1, max 5)define telnetPort telnet 7072 global # our TCP/IP portdefine WEB FHEMWEB 8083 globaldefine WEBphone FHEMWEB 8084 globalattr WEBphone smallscreendefine WEBtablet FHEMWEB 8085 globalattr WEBtablet touchpad# Fake FileLog entry, to access the fhem log from FHEMWEB define Logfile FileLog ./log/fhem-%Y-%m.log fakelogdefine autocreate autocreateattr autocreate autosaveattr autocreate device_room %TYPEattr autocreate filelog ./log/%NAME-%Y.logattr autocreate weblinkattr autocreate weblink_room Plots# Disable this to avoid looking for new USB devices on startupdefine initialUsbCheck notify global:INITIALIZED usb create # If the above notify did not helped, then you probably have to enable some of# the following lines. Verify first that /dev/xxx ist correct.#define FHZ FHZ /dev/USB0#define CUL CUL /dev/ttyACM0@9600 1234#attr CUL rfmode HomeMatic#define EUL TCM 310 /dev/ttyACM0@57600#define BscBor TCM 120 /dev/ttyUSB0@9600#define BscSmartConnect TCM 310 /dev/ttyUSB0@57600
Line 390 in der fhem.pl lautet:
Hallo zusammen,
ich habe erfolgreich einen FHEM auf meiner Fritzbox 7390 mit CUL(enOcean) laufen.
Diese ist damit allerdings etwas überlastet und ich möchte das Ganze gerne auf eine TS-469 portieren.
Die hier vorgestellten Lösungen sind alle für die ARM Prozessoren, oder ist dies egal und ich kann die gleichen Programme
auch für die TS-469 verwenden ?
Ulrich
Hallo Ulrich,
warst du mittlerweile erfolgreich auf dein 469 mit dem CUL?
Ich verzweifle gerade auch den den USB Treibern.
Nein, ich bin da nicht weiter gekommen, da mir auf dieser Ebene das Know-how fehlt.
Gents, bitte den "Antworten"- statt des "Zitieren"-Buttons benutzen!
GLG GBD