Raspberry + FHEM + NanoCUL + Homematic

Begonnen von michael_klatt, 06 September 2017, 22:17:10

Vorheriges Thema - Nächstes Thema

franky08

Du hast immer noch nicht gepostet was im Log über den cul zu finden ist, da ist was faul.
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

michael_klatt

#16
LogFile:

2017.09.07 23:10:31 3: CUL_HM set VCCU hmPairForSec 300
2017.09.07 23:12:53 3: CUL_HM set VCCU hmPairForSec 300
2017.09.07 23:18:38 3: CUL_HM set VCCU virtual 1
2017.09.07 23:18:39 3: CUL_HM set VCCU update
2017.09.07 23:18:43 3: CUL_HM set VCCU update
2017.09.07 23:17:05 1: Including fhem.cfg
2017.09.07 23:17:05 3: telnetPort: port 7072 opened
2017.09.07 23:17:05 3: WEB: port 8083 opened
2017.09.07 23:17:05 3: WEBphone: port 8084 opened
2017.09.07 23:17:05 3: WEBtablet: port 8085 opened
2017.09.07 23:17:06 2: eventTypes: loaded 18 events from ./log/eventTypes.txt
2017.09.07 23:17:06 3: Opening CUL_IO1 device /dev/serial/by-id/usb-SHA_CUL868-if00-port0
2017.09.07 23:17:06 3: Setting CUL_IO1 serial parameters to 38400,8,N,1
2017.09.07 23:17:09 3: CUL_IO1: Possible commands: ABCEeFfGhiKklMmRTtUVWXxYZz
2017.09.07 23:17:09 3: CUL_IO1 device opened
2017.09.07 23:17:09 2: Switched CUL_IO1 rfmode to HomeMatic
2017.09.07 23:17:10 1: Including ./log/fhem.save
2017.09.07 23:17:10 2: SecurityCheck:  WEBphone,WEBtablet has no associated allowed device with basicAuth.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2017.09.07 23:17:10 0: Featurelevel: 5.8
2017.09.07 23:17:10 0: Server started with 17 defined entities (fhem.pl:14945/2017-08-22 perl:5.024001 os:linux user:fhem pid:444)
2017.09.07 23:17:10 3: telnetForBlockingFn_1504819030: port 43223 opened
2017.09.08 23:17:05 1: Including fhem.cfg
2017.09.08 23:17:05 3: telnetPort: port 7072 opened
2017.09.08 23:17:05 3: WEB: port 8083 opened
2017.09.08 23:17:05 3: WEBphone: port 8084 opened
2017.09.08 23:17:05 3: WEBtablet: port 8085 opened
2017.09.08 23:17:06 2: eventTypes: loaded 18 events from ./log/eventTypes.txt
2017.09.08 23:17:06 3: Opening CUL_IO1 device /dev/serial/by-id/usb-SHA_CUL868-if00-port0
2017.09.08 23:17:06 3: Setting CUL_IO1 serial parameters to 38400,8,N,1
2017.09.08 23:17:09 3: CUL_IO1: Possible commands: ABCEeFfGhiKklMmRTtUVWXxYZz
2017.09.08 23:17:09 3: CUL_IO1 device opened
2017.09.08 23:17:09 2: Switched CUL_IO1 rfmode to HomeMatic
2017.09.08 23:17:10 1: Including ./log/fhem.save
2017.09.08 23:17:10 2: SecurityCheck:  WEBphone,WEBtablet has no associated allowed device with basicAuth.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2017.09.08 23:17:10 0: Featurelevel: 5.8
2017.09.08 23:17:10 0: Server started with 17 defined entities (fhem.pl:14945/2017-08-22 perl:5.024001 os:linux user:fhem pid:447)
2017.09.08 23:17:10 3: telnetForBlockingFn_1504905430: port 34655 opened

franky08

Der Log ist OK und der CUL ist richtig eingebunden...

Mmh, wenn du den CUL einfach mal neu flasht? Ich habe keinen CUL um da mal was zu testen, sorry.

VG
Frank
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

pc1246

Moin
Also der CUL funktioniert meiner Meinung nach nicht! Evtl. neu flashen, oder noch mal kontrollieren, ob alles richtig geloetet/gesteckt ist! Grundsaetzlich ist es wohl auch besser, die a-Cul fw zu nehmen. Da ich meinen CUL nur als Backup liegen habe kann ich das aber nicht so genau sagen.
Hab den schnell mal per putty angeschlossen. Wenn man "t" eingibt, scheint es eine Rueckgabe zu geben, die wohl was mit der Zeit zu tun hat. (Habe jetzt nicht nachgesehen!) Und wenn man etwas ungueltiges eingibt, dann antwortete er "? (ccconf is unknown) Use one of B C F i A Z E k G M K U Y R T V W X e f l t x"

Gruss Christoph
HP T610
Onkyo_AVR;Enigma2; SB_Server; SB_Player; HM-USB; PhilipsTV; harmony hub; Jeelink mit PCA301; Somfy; S7-300; LGW; HUE; HM-IP auf Charly; div

michael_klatt

Hy
hab gerade mal ccconf gemacht und kam folgendes raus

freq:391.529MHz bWidth:812KHz rAmpl:42dB sens:16dB

hab auch schon versucht zu ändern, aber leider ohne Erfolg.
Hab die Lötstellen nachgeschaut und bin der Meinung das alles richtig ist....

geflasht wurde er auch schon....denke auch das der nicht okay ist....

amenomade

Zitatfreq:391.529MHz
Das ist definitiv NICHT die HomeMatic Frequenz.
Pi 3B, Alexa, CUL868+Selbstbau 1/2λ-Dipol-Antenne, USB Optolink / Vitotronic, Debmatic und HM / HmIP Komponenten, Rademacher Duofern Jalousien, Fritz!Dect Thermostaten, Proteus

franky08

freq:391.529MHz ---> das kann nicht funktionieren, mit set <name> freq 868.3 müsstest du das ändern können.

P.S. amenomade war schneller
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

michael_klatt

Hab ich versucht direkt im curl an der Oberfläche in fhem zu ändern ohne Erfolg. Auch mit Set. Denke eher der ist was für die Tonne der Stick....

michael_klatt

Oder hat jemand vll noch eine andere Idee....

pc1246

Moin
Bisher war es eigentlich immer so, dass viele anhand von Bildern helfen konnten. Wobei an einem CUL ja wirklich nicht viel dran ist. Trotzdem waere es hilfreich, wenn du Bilder einstellen wuerdest, oder zumindest beschreibst, womit Du deinen CUL aufgebaut hast.
Gruss Christoph
HP T610
Onkyo_AVR;Enigma2; SB_Server; SB_Player; HM-USB; PhilipsTV; harmony hub; Jeelink mit PCA301; Somfy; S7-300; LGW; HUE; HM-IP auf Charly; div

franky08

Wo hast du versucht die Frequenz zu ändern? Ich hab mal schnell auf einen Raspi einen COC in Betrieb genommen, CUL hab ich nicht, ist beim COC aber genau so, siehe Bild:

da mit set ... ändern
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

michael_klatt

#26
Hy,
Genau dort wo Set steht habe ich das versucht zu ändern.
Hab auch schon per serial terminal das Teil zurück gesetzt und neu geflasht mit nen raspi. Aber ohne erdenkliche Möglichkeit. Anhand der Zeichnung zum selbst Zusammenbau bin ich auch der Meinung alles richtig gemacht zu haben.

Hab jetzt erstmal meinen HM-OCCU-SDK in Betrieb genommen mit fhem. Der ging gleich beim ersten Mal und hat alles erkannt. Falls jemand Ahnung hat wie man meinen cul zum laufen bekommt, den sende ich gerne einmal zu. Vll kann man den Mal testen und prüfen und ihn mir dann zurück senden. Vielen lieben Dank an alle erstmal

pc1246

Moin
Woher hast Du denn die Zwischenplatine, und wonach hast Du das nachgebaut?
Gruss Christoph
HP T610
Onkyo_AVR;Enigma2; SB_Server; SB_Player; HM-USB; PhilipsTV; harmony hub; Jeelink mit PCA301; Somfy; S7-300; LGW; HUE; HM-IP auf Charly; div

pc1246

Hallo
Schau mal hier https://forum.fhem.de/index.php/topic,73379.0/topicseen.html, da scheint es aehnliche Probleme zu geben.
Hast du schon mal in SLowRF probiert?
Gruss Christoph
HP T610
Onkyo_AVR;Enigma2; SB_Server; SB_Player; HM-USB; PhilipsTV; harmony hub; Jeelink mit PCA301; Somfy; S7-300; LGW; HUE; HM-IP auf Charly; div

michael_klatt

#29
Hy,

hab den bei Ebay bestellt.und extra drauf geachtet das er das CC1101 hat.

http://www.ebay.de/itm/nanoCUL-868-Mhz-aktuelle-Firmware-CC1101-Transceiver-CUL-Stick-fur-FHEM-/292083732018?hash=item44018c0e32:g:q5AAAOSwB-1Y7faF

Anleitung gab es hier dann:

https://www.smarthome-agentur.de/blog/nanocul-diy-anleitung/

Das mit dem Artikel hab ich gelesen. Meiner Stürzt aber nicht ab und hängt direkt am Raspi ohne HUB.

Gruss.