Signalduino Entwicklung

Begonnen von thoffma3, 05 Juli 2015, 23:01:00

Vorheriges Thema - Nächstes Thema

pejonp

Zitat von: Sidey am 11 Januar 2016, 08:37:14
.....
Kannst Du zu Testzwecken mal den Manchester Decoder deaktivieren und berichten, ob es dadurch besser wird?
....
Hallo Sidey,

hier mal der Log, bzw. ein Log und Protokolldatein von 2 Wetterstationen. Die Abstände sind manchmal alle  Minute aber dann auch wieder 15min oder mehr.
Ich glaube der Abstand zwischen 2 Sendungen ist so 48 oder 64 sek.

Tschüß Jörg
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

noxx

#826
Vielleicht kann mir einer helfen, bin total FHEM Neuling und komme nicht weiter.

Habe FHEM heute zum ersten mal im Einsatz, installation war ok.

Nun habe ich eine 3400RF am Arduino Nano (FTDI) hängen und den
nach Anleitung geflasht. Nun kommen Fragen:

1) Hatte am Anfang im Menü einen Eintrag sduino, nach Neustart nicht mehr.

2) Die LED hat beim Test auf dem Nano geblinkt, wenn ich meine Remote gedrückt hatte. Im
LOG stand dann eine Unknown code. Remote ist Intertechno, für den IT Dimmer.

3) Nach Neustart (siehe 1) blinkt die LED nicht mehr. Im LOG kommt nun auch nichts mehr....

Ich hänge das komplette LOG mal hier an, evtl kann mir einer sagen, was ich falsch gemacht habe.
http://pastebin.com/V0iCex6n

Gruß

EDIT

Habe den Nano nochmal geflasht, nun blinkt der nur 1x auf wenn ich auf meiner Remote
ein Signal sende, dann ist Ende. Kein aufleuchten der LED mehr. Muss erst FHEM neu starten,
dann gehts wieder 1x. Aber ich bekomme nichts im LOG angeigt...



2016.01.11 22:14:24 5: Initializing Type Library:
2016.01.11 22:14:24 1: Including fhem.cfg
2016.01.11 22:14:24 5: Cmd: >attr global userattr cmdIcon devStateIcon devStateStyle icon sortby webCmd widgetOverride<
2016.01.11 22:14:24 5: Cmd: >attr global autoload_undefined_devices 1<
2016.01.11 22:14:24 5: Cmd: >attr global logfile ./log/fhem-%Y-%m.log<
2016.01.11 22:14:24 5: Cmd: >attr global modpath .<
2016.01.11 22:14:24 5: Cmd: >attr global motd SecurityCheck:

WEB,WEBphone,WEBtablet has no basicAuth attribute.
telnetPort has no password/globalpassword attribute.

Restart FHEM for a new check if the problem is fixed,
or set the global attribute motd to none to supress this message.
<
2016.01.11 22:14:24 5: Cmd: >attr global statefile ./log/fhem.save<
2016.01.11 22:14:24 5: Cmd: >attr global updateInBackground 1<
2016.01.11 22:14:24 5: Cmd: >attr global verbose 5<
2016.01.11 22:14:24 5: Cmd: >define telnetPort telnet 7072 global<
2016.01.11 22:14:24 5: Loading ./FHEM/98_telnet.pm
2016.01.11 22:14:24 3: telnetPort: port 7072 opened
2016.01.11 22:14:24 5: Cmd: >define WEB FHEMWEB 8083 global<
2016.01.11 22:14:24 5: Loading ./FHEM/01_FHEMWEB.pm
2016.01.11 22:14:24 3: WEB: port 8083 opened
2016.01.11 22:14:24 5: Cmd: >attr WEB editConfig 1<
2016.01.11 22:14:24 5: Cmd: >attr WEB stylesheetPrefix ios7smallscreen<
2016.01.11 22:14:24 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2016.01.11 22:14:24 3: WEBphone: port 8084 opened
2016.01.11 22:14:24 5: Cmd: >attr WEBphone basicAuth cmFsZjpub3J0aA==<
2016.01.11 22:14:24 5: Cmd: >define WEBtablet FHEMWEB 8085 global<
2016.01.11 22:14:24 3: WEBtablet: port 8085 opened
2016.01.11 22:14:24 5: Cmd: >attr WEBtablet stylesheetPrefix touchpad<
2016.01.11 22:14:24 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m.log fakelog<
2016.01.11 22:14:24 5: Loading ./FHEM/92_FileLog.pm
2016.01.11 22:14:24 5: Cmd: >define autocreate autocreate<
2016.01.11 22:14:24 5: Loading ./FHEM/98_autocreate.pm
2016.01.11 22:14:24 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y.log<
2016.01.11 22:14:24 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2016.01.11 22:14:24 5: Loading ./FHEM/91_eventTypes.pm
2016.01.11 22:14:24 2: eventTypes: loaded 2 events from ./log/eventTypes.txt
2016.01.11 22:14:24 5: Cmd: >define initialUsbCheck notify global:INITIALIZED usb create<
2016.01.11 22:14:24 5: Loading ./FHEM/91_notify.pm
2016.01.11 22:14:24 1: Including ./log/fhem.save
2016.01.11 22:14:24 5: Cmd: >setstate Logfile active<
2016.01.11 22:14:24 5: Cmd: >setstate autocreate active<
2016.01.11 22:14:24 5: Cmd: >setstate eventTypes active<
2016.01.11 22:14:24 5: Cmd: >setstate global <no definition><
2016.01.11 22:14:24 5: Cmd: >setstate initialUsbCheck active<
2016.01.11 22:14:24 5: Cmd: >setstate initialUsbCheck 2016-01-11 22:13:47 state active<
2016.01.11 22:14:24 5: Triggering global (1 changes)
2016.01.11 22:14:24 5: Notify loop for global INITIALIZED
2016.01.11 22:14:24 5: Triggering initialUsbCheck
2016.01.11 22:14:24 4: initialUsbCheck exec usb create
2016.01.11 22:14:24 5: Cmd: >usb create<
2016.01.11 22:14:24 1: usb create starting
2016.01.11 22:14:25 4: ### ttyAMA0: checking if it is a CUL
2016.01.11 22:14:25 3: Probing CUL device /dev/ttyAMA0
2016.01.11 22:14:25 3: Can't open /dev/ttyAMA0: Permission denied
2016.01.11 22:14:25 4: cannot open the device
2016.01.11 22:14:25 4: ### ttyUSB0: checking if it is a TCM_ESP3
2016.01.11 22:14:25 3: Probing TCM_ESP3 device /dev/ttyUSB0
2016.01.11 22:14:25 5: SW: 5500010005700838
2016.01.11 22:14:25 4: got wrong answer for a TCM_ESP3
2016.01.11 22:14:25 4: ### ttyUSB0: checking if it is a TCM_ESP2
2016.01.11 22:14:25 3: Probing TCM_ESP2 device /dev/ttyUSB0
2016.01.11 22:14:25 5: SW: a55aab5800000000000000000003
2016.01.11 22:14:25 4: got wrong answer for a TCM_ESP2
2016.01.11 22:14:25 4: ### ttyUSB0: checking if it is a FHZ
2016.01.11 22:14:25 3: Probing FHZ device /dev/ttyUSB0
2016.01.11 22:14:25 5: SW: 8105044fc90185
2016.01.11 22:14:25 4: got wrong answer for a FHZ
2016.01.11 22:14:25 4: ### ttyUSB0: checking if it is a TRX
2016.01.11 22:14:25 3: Probing TRX device /dev/ttyUSB0
2016.01.11 22:14:25 5: SW: 0d00000000000000000000000000
2016.01.11 22:14:26 5: SW: 0d00000102000000000000000000
2016.01.11 22:14:26 4: got wrong answer for a TRX
2016.01.11 22:14:26 4: ### ttyUSB0: checking if it is a ZWDongle
2016.01.11 22:14:26 3: Probing ZWDongle device /dev/ttyUSB0
2016.01.11 22:14:26 5: SW: 01030020dc
2016.01.11 22:14:26 4: got wrong answer for a ZWDongle
2016.01.11 22:14:26 4: ### ttyUSB0: checking if it is a FRM
2016.01.11 22:14:26 3: Probing FRM device /dev/ttyUSB0
2016.01.11 22:14:26 5: SW: f9
2016.01.11 22:14:31 5: SW: f079f7
2016.01.11 22:14:31 4: got wrong answer for a FRM
2016.01.11 22:14:32 1: usb create end
2016.01.11 22:14:32 2: SecurityCheck:  WEB,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2016.01.11 22:14:32 0: Featurelevel: 5.7
2016.01.11 22:14:32 0: Server started with 9 defined entities (version $Id: fhem.pl 9893 2015-11-15 08:43:05Z rudolfkoenig $, os linux, user fhem, pid 1051)
2016.01.11 22:14:32 4: Connection accepted from FHEMWEB:192.168.1.12:51540
2016.01.11 22:14:32 4: FHEMWEB:192.168.1.12:51540 GET /fhem?XHR=1&inform=type=status;filter=room=;since=1452546838.134;fmt=JSON×tamp=1452546862590; BUFLEN:0
2016.01.11 22:14:34 4: Connection closed for FHEMWEB:192.168.1.12:51540: EOF
2016.01.11 22:14:34 4: Connection accepted from FHEMWEB:192.168.1.12:51541
2016.01.11 22:14:34 4: FHEMWEB:192.168.1.12:51541 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2016-01.log; BUFLEN:0
2016.01.11 22:14:34 4: FHEMWEB:192.168.1.12:51541 GET /fhem/icons/favicon; BUFLEN:0
2016.01.11 22:14:34 4: FHEMWEB:192.168.1.12:51541 => 304 Not Modified
2016.01.11 22:14:34 4: FHEMWEB:192.168.1.12:51541 GET /fhem/FileLog_logWrapper?XHR=1&inform=type=status;filter=;since=1452546873;fmt=JSON×tamp=1452546870436; BUFLEN:0
2016.01.11 22:14:53 4: Connection closed for FHEMWEB:192.168.1.12:51541: EOF
2016.01.11 22:14:54 4: Connection accepted from FHEMWEB:192.168.1.12:51543
2016.01.11 22:14:54 4: FHEMWEB:192.168.1.12:51543 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2016-01.log; BUFLEN:0

pejonp

Zitat von: noxx am 11 Januar 2016, 21:39:00
Vielleicht kann mir einer helfen, bin total FHEM Neuling und komme nicht weiter.
...
Hallo noxx,

paß mal die Zugriffsrechte an : Can't open /dev/ttyAMA0: Permission denied. Dazu gib es hier viel im Forum.

und/oder schalte einmal die automatische USB-Erkennung aus:
fhem.cfg
# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create

Hast du einen Neustart durchgeführt: fhem-server  und/oder ganzen Server.

pejonp
LaCrossGW 868MHz:WT470+TFA+TX37-IT+EMT7110+W136+WH25A HP1003+WH2621
SignalD(CC1101):Bresser+WS-0101(868MHz WH1080)+Velux KLF200+MAX!+HM-MOD-UART:Smoke HM-SEC-SD+VITOSOLIC 200 RESOL VBUS-LAN+SolarEdge SE5K(Modbus)+Sonnen!eco8(10kWh)+TD3511+DRT710M(Modbus)+ZigBee+Z-Wave+MQTT+vitoconnect

noxx

#828
Danke

habs versucht
$ sudo usermod -a -G tty pi
$ sudo usermod -a -G tty fhem

pi@raspberrypi:~ $ ls -l /dev/ttyAMA0
crw--w---- 1 root tty 204, 64 Jan 11 22:23 /dev/ttyAMA0


aber es ändert sich nichts.... fehler bleibt, sDuino macht nur einen Mucks.

Im Hauptmenü steht: CUL1 disconnected

Muss das so?

Und muss der Nano blinken? Also, dauerhaft?


Hier mal meine fhem.cfg:
----------
attr global userattr cmdIcon devStateIcon devStateStyle icon sortby webCmd widgetOverride
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd Error messages while initializing FHEM:\
statefile: Please define CUL1 first\
Please define CUL1 first
attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global verbose 4

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global
attr WEB editConfig 1
attr WEB stylesheetPrefix ios7smallscreen

define WEBphone FHEMWEB 8084 global
attr WEBphone basicAuth cmFsZjpub3J0aA==

define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate filelog ./log/%NAME-%Y.log

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create
define CUL1 CUL /dev/ttyAMA0@9600 1234
----------

und das letzte LOG:
----------
2016.01.11 22:37:47 1: Including fhem.cfg
2016.01.11 22:37:47 3: telnetPort: port 7072 opened
2016.01.11 22:37:47 3: WEB: port 8083 opened
2016.01.11 22:37:48 3: WEBphone: port 8084 opened
2016.01.11 22:37:48 3: WEBtablet: port 8085 opened
2016.01.11 22:37:48 2: eventTypes: loaded 2 events from ./log/eventTypes.txt
2016.01.11 22:37:48 3: Opening CUL1 device /dev/ttyAMA0
2016.01.11 22:37:48 3: Can't open /dev/ttyAMA0: Permission denied
2016.01.11 22:37:48 1: Including ./log/fhem.save
2016.01.11 22:37:48 4: initialUsbCheck exec usb create
2016.01.11 22:37:48 1: usb create starting
2016.01.11 22:37:48 4: ### ttyAMA0: checking if it is a CUL
2016.01.11 22:37:48 4: ttyAMA0 is already used by the fhem device CUL1
2016.01.11 22:37:48 4: ### ttyUSB0: checking if it is a TCM_ESP3
2016.01.11 22:37:48 3: Probing TCM_ESP3 device /dev/ttyUSB0
2016.01.11 22:37:49 4: got wrong answer for a TCM_ESP3
2016.01.11 22:37:49 4: ### ttyUSB0: checking if it is a TCM_ESP2
2016.01.11 22:37:49 3: Probing TCM_ESP2 device /dev/ttyUSB0
2016.01.11 22:37:49 4: got wrong answer for a TCM_ESP2
2016.01.11 22:37:49 4: ### ttyUSB0: checking if it is a FHZ
2016.01.11 22:37:49 3: Probing FHZ device /dev/ttyUSB0
2016.01.11 22:37:49 4: got wrong answer for a FHZ
2016.01.11 22:37:49 4: ### ttyUSB0: checking if it is a TRX
2016.01.11 22:37:49 3: Probing TRX device /dev/ttyUSB0
2016.01.11 22:37:50 4: got wrong answer for a TRX
2016.01.11 22:37:50 4: ### ttyUSB0: checking if it is a ZWDongle
2016.01.11 22:37:50 3: Probing ZWDongle device /dev/ttyUSB0
2016.01.11 22:37:50 4: got wrong answer for a ZWDongle
2016.01.11 22:37:50 4: ### ttyUSB0: checking if it is a FRM
2016.01.11 22:37:50 3: Probing FRM device /dev/ttyUSB0
2016.01.11 22:37:55 4: got wrong answer for a FRM
2016.01.11 22:37:55 1: usb create end
2016.01.11 22:37:55 2: SecurityCheck:  WEB,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2016.01.11 22:37:55 0: Featurelevel: 5.7
2016.01.11 22:37:55 0: Server started with 10 defined entities (version $Id: fhem.pl 9893 2015-11-15 08:43:05Z rudolfkoenig $, os linux, user fhem, pid 633)
2016.01.11 22:38:00 4: Connection accepted from FHEMWEB:192.168.1.12:51706
2016.01.11 22:38:01 4: FHEMWEB:192.168.1.12:51706 GET /fhem?XHR=1&inform=type=status;filter=room=;since=1452548246.129;fmt=JSON×tamp=1452548263385; BUFLEN:0
2016.01.11 22:38:01 4: Connection accepted from FHEMWEB:192.168.1.12:51707
2016.01.11 22:38:13 4: Connection closed for FHEMWEB:192.168.1.12:51707: EOF
2016.01.11 22:40:20 4: Connection closed for FHEMWEB:192.168.1.12:51706: EOF
2016.01.11 22:40:20 4: Connection accepted from FHEMWEB:192.168.1.12:51710
2016.01.11 22:40:20 4: FHEMWEB:192.168.1.12:51710 GET /fhem?cmd=style%20list; BUFLEN:0
2016.01.11 22:40:20 4: name: /fhem?cmd=style%20list / RL:2694 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2016.01.11 22:40:21 4: FHEMWEB:192.168.1.12:51710 GET /fhem/images/default/fhemicon.png; BUFLEN:0
2016.01.11 22:40:21 4: FHEMWEB:192.168.1.12:51710 => 304 Not Modified
2016.01.11 22:40:21 4: FHEMWEB:192.168.1.12:51710 GET /fhem?XHR=1&inform=type=status;filter=;since=1452548419;fmt=JSON×tamp=1452548417186; BUFLEN:0
2016.01.11 22:40:22 4: Connection closed for FHEMWEB:192.168.1.12:51710: EOF
2016.01.11 22:40:22 4: Connection accepted from FHEMWEB:192.168.1.12:51711
2016.01.11 22:40:22 4: FHEMWEB:192.168.1.12:51711 GET /fhem?cmd=style%20edit%20fhem.cfg; BUFLEN:0
2016.01.11 22:40:22 4: name: /fhem?cmd=style%20edit%20fhem.cfg / RL:1599 / text/html; charset=UTF-8 / Content-Encoding: gzip
/
2016.01.11 22:40:22 4: FHEMWEB:192.168.1.12:51711 GET /fhem?XHR=1&inform=type=status;filter=;since=1452548421;fmt=JSON×tamp=1452548418603; BUFLEN:0
2016.01.11 22:41:11 4: Connection closed for FHEMWEB:192.168.1.12:51711: EOF
2016.01.11 22:41:11 4: Connection accepted from FHEMWEB:192.168.1.12:51713
2016.01.11 22:41:11 4: FHEMWEB:192.168.1.12:51713 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2016-01.log; BUFLEN:0
--------


Gruß


Hier noch das LOG vom flashen
http://pastebin.com/iV2kP3zQ

sash.sc

#829
Guten morgen. Hatte auch die Probleme mit tty/ama0/.
Da du aber einen ftdi Chip hat, sollte es kein Problem sein, denn cul bzw Signalduino über die serialNummer einzuhängen bzw. Zu mounten.

Gesendet von meinem C6603 mit Tapatalk
Raspi 4B+ Bullseye ;LaCrosse; HomeMatic; MapleCUL; ZigBee; Signalduino ESP32 ; Shellys; MQTT2; Grafana mit Influxdb

Kuzl

Hi noxx,

in deiner .cfg ist der Signalduino doch gar nicht definiert!
Wenn du ihn definierst bitte anschließend auf save drücken, das war whh der Fehler

Gruß,
Kuzl

noxx

Was meinst du damit? Ist noch alles recht neu, hatte bisher pimatic im Einsatz.

Gesendet von meinem GT-I9195 mit Tapatalk


Sidey

Hallo Jörg

Zitat von: pejonp am 11 Januar 2016, 20:50:29
Hallo Sidey,

hier mal der Log, bzw. ein Log und Protokolldatein von 2 Wetterstationen.

Ich habe mir die Logs mal grob angesehen.
Auffällig ist, dass es oft Nachrichten mit 72 Bits gibt. Es sieht fast so aus, als ob der Sync fehlt oder das Signal hält nur irgendwo mittendrin auf geschnappt wurde, was dazu führt, dass es nicht interpretiert werden kann. Mich würde interessieren, ob direkt davor oder danach auch Signaldaten an FHEM übergeben wurde.

Leider fehlen im Log die Verbose 4 Meldungen und damit die Signaldaten.

Hattest Du für den Test den Manchester Decoder nun an oder aus?

Grüße Sidey
Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem,zigbee2mqtt

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

Ralf9

Zitat von: noxx am 12 Januar 2016, 07:53:16
Was meinst du damit?

Es fehlt das define
define sduino SIGNALduino /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A9SV31TT-if00-port0@57600

Zuvor mit
ls -l /dev/serial/by-id/
die id vom usb des arduino ermitteln
z.B.
usb-FTDI_FT232R_USB_UART_A9SV31TT-if00-port0

Siehe auch
http://www.fhemwiki.de/wiki/SIGNALduino#Einbinden_in_FHEM

Gruß Ralf
FHEM auf Cubietruck mit Igor-Image, SSD und  hmland + HM-CFG-USB-2,  HMUARTLGW Lan,   HM-LC-Bl1PBU-FM, HM-CC-RT-DN, HM-SEC-SC-2, HM-MOD-Re-8, HM-MOD-Em-8
HM-Wired:  HMW_IO_12_FM, HMW_Sen_SC_12_DR, Selbstbau IO-Module HBW_IO_SW
Maple-SIGNALduino, WH3080,  Hideki, Id 7

noxx

#834
Danke, teste ich heute abend. Was ist denn aber der Manchester Decoder?

Gesendet von meinem GT-I9195 mit Tapatalk

Sidey

Das Update aus dem dev-r32 geht nicht.

Vermutlich seit gestern?
Ich habe das Gefühl, dass die Dateien auf githib mit einem falschen Lineending liegen.

Was anderes kann ich mir nicht erklären.
Ich weiss nur nicht, wann und wieso das passiert ist.

Grüße Sidey
Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem,zigbee2mqtt

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

noxx

#836
so, sieht nun besser aus. auch wenns noch eine fehler beim zugriff auf tty gibt :-(

LOG:


2016.01.12 17:52:05 1: Including fhem.cfg
2016.01.12 17:52:05 3: telnetPort: port 7072 opened
2016.01.12 17:52:05 3: WEB: port 8083 opened
2016.01.12 17:52:05 3: WEBphone: port 8084 opened
2016.01.12 17:52:05 3: WEBtablet: port 8085 opened
2016.01.12 17:52:06 2: eventTypes: loaded 2 events from ./log/eventTypes.txt
keys on reference is experimental at ./FHEM/00_SIGNALduino.pm line 1345, <$fh> line 35.
keys on reference is experimental at ./FHEM/00_SIGNALduino.pm line 1524, <$fh> line 35.
2016.01.12 17:52:06 3: Opening sduino device /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0
2016.01.12 17:52:06 3: Setting sduino serial parameters to 57600,8,N,1
2016.01.12 17:52:06 3: sduino device opened
2016.01.12 17:52:06 1: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0@57600
2016.01.12 17:52:06 1: Including ./log/fhem.save
2016.01.12 17:52:06 4: initialUsbCheck exec usb create
2016.01.12 17:52:06 1: usb create starting
2016.01.12 17:52:06 4: ### ttyAMA0: checking if it is a CUL
2016.01.12 17:52:06 3: Probing CUL device /dev/ttyAMA0
2016.01.12 17:52:06 3: Can't open /dev/ttyAMA0: Permission denied
2016.01.12 17:52:06 4: cannot open the device
2016.01.12 17:52:06 4: ### ttyUSB0: checking if it is a TCM_ESP3
2016.01.12 17:52:06 4: ttyUSB0 is already used by the fhem device sduino
2016.01.12 17:52:06 1: usb create end
2016.01.12 17:52:06 2: SecurityCheck:  WEB,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute.  Restart FHEM for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2016.01.12 17:52:06 0: Featurelevel: 5.7
2016.01.12 17:52:06 0: Server started with 10 defined entities (version $Id: fhem.pl 9893 2015-11-15 08:43:05Z rudolfkoenig $, os linux, user fhem, pid 885)
2016.01.12 17:52:08 4: Connection accepted from FHEMWEB:192.168.1.12:53283
2016.01.12 17:52:08 4: FHEMWEB:192.168.1.12:53283 GET /fhem/FileLog_logWrapper?XHR=1&inform=type=status;filter=;since=1452617483.147;fmt=JSON×tamp=1452617521968; BUFLEN:0
2016.01.12 17:52:08 4: sduino: Get freeram called ...
2016.01.12 17:52:15 4: SIGNALduino/msg READ: MU;P0=243;P1=-1032;P2=435;P3=-515;P4=959;D=01232323232323414321414303232323212323432100;CP=2;
2016.01.12 17:52:15 4: Found matched Protocol id 9 -> CTW 600
2016.01.12 17:52:15 4: Found matched Protocol id 8 -> TX3 Protocol
2016.01.12 17:52:15 4: Found matched Protocol id 21 -> einhell garagedoor
2016.01.12 17:52:15 4: Found matched Protocol id 16 -> Dooya shutter
2016.01.12 17:52:15 4: Connection closed for FHEMWEB:192.168.1.12:53283: EOF
2016.01.12 17:52:15 4: Connection accepted from FHEMWEB:192.168.1.12:53284
2016.01.12 17:52:15 4: FHEMWEB:192.168.1.12:53284 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2016-01.log; BUFLEN:0
2016.01.12 17:52:15 4: SIGNALduino/msg READ: MC;LL=-1019;LH=922;SL=-618;SH=436;D=7E3414;C=452;
2016.01.12 17:52:15 4: FHEMWEB:192.168.1.12:53284 GET /fhem/FileLog_logWrapper?XHR=1&inform=type=status;filter=;since=1452617534;fmt=JSON×tamp=1452617529734; BUFLEN:0
2016.01.12 17:52:18 4: SIGNALduino/msg READ: MS;P0=-258;P1=263;P3=-1243;P5=-2544;D=1510131310101310131013101313101013131010131310131013101310101310131013131010131310101313101310131013101013100;CP=1;SP=5;O;
2016.01.12 17:52:18 4: SIGNALduino/msg READ: MS;P0=257;P1=-1243;P2=-267;P4=-2552;D=040201010202010201020102010102020101020201010201020102010202010201020101020201010202010102010201020102020102010102020102010201020103;CP=0;SP=4;O;
2016.01.12 17:52:19 4: SIGNALduino/msg READ: MS;P0=-267;P1=250;P2=-1253;P4=-2560;D=141012121010121012101210121210101212101012121012101210121010121012101212101012121010121210121012101210101210121210101210121012101210;CP=1;SP=4;
2016.01.12 17:52:21 4: Connection closed for FHEMWEB:192.168.1.12:53284: EOF
2016.01.12 17:52:21 4: Connection accepted from FHEMWEB:192.168.1.12:53285
2016.01.12 17:52:21 4: FHEMWEB:192.168.1.12:53285 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2016-01.log; BUFLEN:0


EDIT:

Habe nun mal etwas das LOG beobachtet, und gehofft, das FHEM / SIGNALduino meine TFA NEXUS Wetterstation erkennt, stattdessen
zeigt der mir ein EINHELL GARAGENTORÖFFNER an, sofern das richtig ist. Ist das evtl ein Nachbar, oder doch meine Wetterstation?


2016.01.12 19:30:42 4: SIGNALduino/msg READ: MC;LL=-993;LH=959;SL=-509;SH=471;D=5C2C2E94D60FD60AD436E000;C=476;
2016.01.12 19:30:42 4: SIGNALduino/msg READ: MC;LL=-993;LH=959;SL=-509;SH=471;D=5C2C2E94D60FD60AD436E000;C=476;
2016.01.12 19:30:42 4: SIGNALduino/msg READ: MC;LL=-1002;LH=952;SL=-511;SH=464;D=5C2C2E94D60FD60AD436E0570B0BA51583F582B500;C=471;
2016.01.12 19:30:42 4: sduino: hideki protocol converted to hex: 7534BA8A0DBF83AD00 with 79 bits, messagestart 89
2016.01.12 19:30:42 4: Hideki_Parse sduino incomming P12#7534BA8A0DBF83AD00
2016.01.12 19:30:42 4: sduino crc failed
2016.01.12 19:30:42 4: SIGNALduino_unknown incomming msg: P12#7534BA8A0DBF83AD00
2016.01.12 19:30:42 4: SIGNALduino_unknown rawData: 7534BA8A0DBF83AD00
2016.01.12 19:30:42 4: SIGNALduino_unknown Protocol: 12
2016.01.12 19:30:42 4: SIGNALduino_unknown converted to bits: 011101010011010010111010100010100000110110111111100000111010110100000000
2016.01.12 19:30:42 4: SIGNALduino/msg READ: MC;LL=-1002;LH=952;SL=-511;SH=464;D=5C2C2E94D60FD60AD436E0570B0BA51583F582B500;C=471;
2016.01.12 19:30:42 4: sduino: hideki protocol converted to hex: 7534BA8A0DBF83AD00 with 79 bits, messagestart 89
2016.01.12 19:30:42 4: Dropped (P12#7534BA8A0DBF83AD00) due to short time or equal msg
2016.01.12 19:30:43 4: SIGNALduino/msg READ: MC;LL=-999;LH=953;SL=-513;SH=463;D=AE16174A4B07EB056A1A6A00;C=471;
2016.01.12 19:30:43 4: sduino: hideki protocol converted to hex: 7534BA4A0DBF83AD582B00 with 96 bits, messagestart 0
2016.01.12 19:30:43 4: Hideki_Parse sduino incomming P12#7534BA4A0DBF83AD582B00
2016.01.12 19:30:43 4: Hideki_Parse SensorTyp = 30 decodedString = 755ccede17c185f7e87d00
2016.01.12 19:30:43 4: sduino decoded Hideki protocol model=Hideki_30, sensor id=5c, channel=2, temp=11.7, humidity=85, bat=ok
2016.01.12 19:31:15 4: SIGNALduino/msg READ: MU;P0=-564;P1=902;P2=454;P3=-1030;P4=145;P5=-175;D=01023132020134040401313102020232020202020254520201320452323;CP=2;
2016.01.12 19:31:15 4: Found matched Protocol id 8 -> TX3 Protocol
2016.01.12 19:31:15 4: Found matched Protocol id 16 -> Dooya shutter
2016.01.12 19:31:15 4: Found matched Protocol id 21 -> einhell garagedoor
2016.01.12 19:31:27 4: SIGNALduino/msg READ: MC;LL=-991;LH=961;SL=-503;SH=473;D=B8585D2981DFA3E5A94C4C00;C=477;
2016.01.12 19:31:27 4: SIGNALduino/msg READ: MC;LL=-1002;LH=950;SL=-513;SH=461;D=AE16174A2077E8F96A513D00;C=470;
2016.01.12 19:31:27 4: sduino: hideki protocol converted to hex: 7534BA8AE0BF7CAD8A5E00 with 96 bits, messagestart 0
2016.01.12 19:31:27 4: Hideki_Parse sduino incomming P12#7534BA8AE0BF7CAD8A5E00
2016.01.12 19:31:27 4: Hideki_Parse SensorTyp = 30 decodedString = 755cce9e20c184f79ee200
2016.01.12 19:31:27 4: sduino decoded Hideki protocol model=Hideki_30, sensor id=5c, channel=2, temp=12, humidity=84, bat=ok
2016.01.12 19:31:28 4: SIGNALduino/msg READ: MC;LL=-1001;LH=952;SL=-513;SH=460;D=AE16174A4077E8F96A520900;C=470;
2016.01.12 19:31:28 4: sduino: hideki protocol converted to hex: 7534BA4AE0BF7CAD4A4800 with 96 bits, messagestart 0
2016.01.12 19:31:28 4: Hideki_Parse sduino incomming P12#7534BA4AE0BF7CAD4A4800
2016.01.12 19:31:28 4: Hideki_Parse SensorTyp = 30 decodedString = 755ccede20c184f7ded800
2016.01.12 19:31:28 4: sduino decoded Hideki protocol model=Hideki_30, sensor id=5c, channel=2, temp=12, humidity=84, bat=ok
2016.01.12 19:31:47 4: SIGNALduino/msg READ: MC;LL=-1016;LH=936;SL=-544;SH=435;D=AE00888B8B6181117AAA00;C=456;
2016.01.12 19:31:47 4: sduino: hideki protocol converted to hex: 7580443A6D0C22BD5500 with 88 bits, messagestart 0
2016.01.12 19:31:47 4: Hideki_Parse sduino incomming P12#7580443A6D0C22BD5500
2016.01.12 19:31:47 4: Hideki_Parse SensorTyp = 14 decodedString = 7580cc4eb71466c7ff00
2016.01.12 19:31:47 4: sduino Sensor Typ 14 not supported, please report sensor information!
2016.01.12 19:31:47 4: SIGNALduino/msg READ: MU;P0=-170;P1=941;P2=-1009;P3=-521;P4=458;D=00121213434243434343434343431243431243431243431213434342431213421342434343134243434343431243431243431213434343434243134243434343432;CP=4;
2016.01.12 19:31:47 4: Found matched Protocol id 9 -> CTW 600
2016.01.12 19:31:47 4: Found matched Protocol id 8 -> TX3 Protocol
2016.01.12 19:31:47 4: Found matched Protocol id 16 -> Dooya shutter
2016.01.12 19:31:47 4: Found matched Protocol id 21 -> einhell garagedoor
2016.01.12 19:31:47 4: SIGNALduino/msg READ: MU;P0=-528;P1=936;P2=446;P3=-1020;D=001020232020202020202020132020132020132020131020231313102310232020201023202020202013202013202013102020232020102023102320204;CP=2;
2016.01.12 19:31:47 4: Found matched Protocol id 8 -> TX3 Protocol
2016.01.12 19:31:47 4: Found matched Protocol id 16 -> Dooya shutter
2016.01.12 19:31:47 4: Found matched Protocol id 21 -> einhell garagedoor
2016.01.12 19:31:48 4: SIGNALduino/msg READ: MU;P0=-574;P1=425;P2=883;P3=-1025;P4=210;P5=-120;D=0101010101010101010231023101020131010101040454020101341;CP=1;
2016.01.12 19:31:48 4: Found matched Protocol id 8 -> TX3 Protocol
2016.01.12 19:31:48 4: Found matched Protocol id 16 -> Dooya shutter
2016.01.12 19:31:48 4: Found matched Protocol id 21 -> einhell garagedoor
2016.01.12 19:31:48 4: SIGNALduino/msg READ: MU;P0=-1018;P1=373;P2=-587;P3=926;P4=106;P5=-172;D=01232121012123012321030121230121230123032121245401;CP=1;
2016.01.12 19:31:48 4: Found matched Protocol id 8 -> TX3 Protocol
2016.01.12 19:31:48 4: Found matched Protocol id 16 -> Dooya shutter
2016.01.12 19:31:48 4: Found matched Protocol id 21 -> einhell garagedoor
2016.01.12 19:31:51 4: Connection closed for FHEMWEB:192.168.1.12:56613: EOF
2016.01.12 19:31:51 4: Connection accepted from FHEMWEB:192.168.1.12:56625
2016.01.12 19:31:51 4: FHEMWEB:192.168.1.12:56625 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2016-01.log; BUFLEN:0
2016.01.12 19:31:52 4: FHEMWEB:192.168.1.12:56625 GET /fhem/FileLog_logWrapper?XHR=1&inform=type=status;filter=;since=1452623510;fmt=JSON×tamp=1452623506404; BUFLEN:0
2016.01.12 19:32:12 4: SIGNALduino/msg READ: MU;P0=-502;P1=470;P2=-992;P3=962;D=01210101032301210101032301012321032321030123012101030101230101010101232321010101010323230123232101032301210103210103232100;CP=1;
2016.01.12 19:32:12 4: Found matched Protocol id 9 -> CTW 600
2016.01.12 19:32:12 4: Found matched Protocol id 8 -> TX3 Protocol
2016.01.12 19:32:12 4: Found matched Protocol id 16 -> Dooya shutter
2016.01.12 19:32:12 4: Found matched Protocol id 21 -> einhell garagedoor
2016.01.12 19:32:12 4: SIGNALduino/msg READ: MC;LL=-1000;LH=952;SL=-511;SH=464;D=AE16174A2C77EA056A2E6B00;C=471;
2016.01.12 19:32:12 4: sduino: hideki protocol converted to hex: 7534BA8AE3BF81AD746B00 with 96 bits, messagestart 0
2016.01.12 19:32:12 4: Hideki_Parse sduino incomming P12#7534BA8AE3BF81AD746B00
2016.01.12 19:32:12 4: Hideki_Parse SensorTyp = 30 decodedString = 755cce9e25c183f79cbd00
2016.01.12 19:32:12 4: sduino decoded Hideki protocol model=Hideki_30, sensor id=5c, channel=2, temp=12.5, humidity=83, bat=ok
2016.01.12 19:32:13 4: SIGNALduino/msg READ: MC;LL=-997;LH=952;SL=-510;SH=466;D=AE16174A4C77EA056A2D5F00;C=472;
2016.01.12 19:32:13 4: sduino: hideki protocol converted to hex: 7534BA4AE3BF81ADB47D00 with 96 bits, messagestart 0
2016.01.12 19:32:13 4: Hideki_Parse sduino incomming P12#7534BA4AE3BF81ADB47D00
2016.01.12 19:32:13 4: Hideki_Parse SensorTyp = 30 decodedString = 755ccede25c183f7dc8700
2016.01.12 19:32:13 4: sduino decoded Hideki protocol model=Hideki_30, sensor id=5c, channel=2, temp=12.5, humidity=83, bat=ok
2016.01.12 19:32:34 4: Connection closed for FHEMWEB:192.168.1.12:56625: EOF
2016.01.12 19:32:34 4: Connection accepted from FHEMWEB:192.168.1.12:56626
2016.01.12 19:32:34 4: FHEMWEB:192.168.1.12:56626 GET /fhem/FileLog_logWrapper?dev=Logfile&type=text&file=fhem-2016-01.log; BUFLEN:0

Sidey

Hi,

also TFA Nexus verwendet wohl das Hideki Protokoll.

Da haben wir aber bislang nur temp/feuchte Sensoren implementiert.
Einer sollte auch angelegt worden sein.

Was für Daten sendet die Station den alles?

Bezüglich der Implementierung, kann man sich in einem anderen Projekt die Zuordnung ansehen.

Grüße Sidey
Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem,zigbee2mqtt

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker

noxx

Die Daten die FHEM angezeigt hat, waren einer meiner Temperatursensore, stand direkt daneben (TFA TS33f)

Zur Wetterstation gehören unter anderem:

Sensor für Temperatur und Feuchte
Regenmesser
Windmesser (Geschwindigkeit und Richtung)
http://www.amazon.de/TFA-Dostmann-Funkwetterstation-35-1075-schwarz/dp/B000N3ZDM4

Daten empfange ich aber keine weiteren, zumindest keine ich als solche deuten kann, evtl ist die Reichweite, trotz Superheterodyne zu schlecht.

Die Basis der Wetterstation steht neben der FHEM-Station auf dem Dachboden, die Basis empfängt alles soweit (ebenfalls mit Superheterodyne, aber dieses Modell: http://www.tme.eu/de/details/rx-4mm3_f/rf-kommunikationsmodule-aurel/aurel/650201139g/). Nur FHEM nicht. Schade....

Gruß

Sidey

Hi noxx,


du hast leider nur ca 2 Minuten Log angehangen aber folgende Übertragung könnte die Wetterstation sein:

2016.01.12 19:30:42 4: SIGNALduino/msg READ: MC;LL=-1002;LH=952;SL=-511;SH=464;D=5C2C2E94D60FD60AD436E0570B0BA51583F582B500;C=471;
2016.01.12 19:30:42 4: sduino: hideki protocol converted to hex: 7534BA8A0DBF83AD00 with 79 bits, messagestart 89
2016.01.12 19:30:42 4: Hideki_Parse sduino incomming P12#7534BA8A0DBF83AD00
2016.01.12 19:30:42 4: sduino crc failed


Mit Sicherheit kann ich es aber nicht sagen.


Grüße Sidey

Signalduino, Homematic, Raspberry Pi, Mysensors, MQTT, Alexa, Docker, AlexaFhem,zigbee2mqtt

Maintainer von: SIGNALduino, fhem-docker, alexa-fhem-docker, fhempy-docker