Signalduino Entwicklung

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

Vorheriges Thema - Nächstes Thema

Burny4600

#1290
Auf b18 aktuallisiert.

Anbei die Geräte Infos wie die Sensorenbezeichnungen lauten.

RFXtrx433E                                   SIGNALduino

THGR810_1 entspricht adresse 1         THGR810_e3_1
THGR810_2 entspricht adresse 2         wird nicht erkannt
THWR800_3 entspricht adresse 3         THWR800_45_3
THGR810_6 entspricht adresse 6         wird nicht erkannt
PCR800                                 PCR800_9e
WGR800                                 WGR800_b0
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

PeMue

Zitat von: Ralf9 am 23 März 2016, 19:37:49
Bei diesem Empfänger
http://www.ebay.de/itm/RXB6-433Mhz-Superheterodyne-Wireless-Receiver-Module-for-Arduino-ARM-AVR-/401047720475
steht in der Beschreibung:
has an analog RSSI signal strength level output

Hat jemand von diesem Superheterodyne Empfänger ein Datenblatt gefunden?
Könnte das das im Anhang sein?

Gruß PeMue
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

Ralf9

Zitat von: noxx am 25 März 2016, 11:42:02
Habe den PI nochmal neu aufgesetzt und FHEM frisch installiert.
FHEM läuft, aber sobald ich den UNO in die fhem.cfg schreibe, startet
die WEBGui nicht mehr


Server started with 9 defined entities (version $Id: fhem.pl 9893 2015-11-15 08:43:05Z rudolfkoenig $, os linux, user fhem, pid 1011)


Dein fhem ist zu alt (Nov 2015). Dort gibt es die Funktion "asyncOutput" noch nicht.
Hast Du schon ein fhem update gemacht.

Bei der DEF fehlt am Ende ein @57600

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

danke, update gemacht, nun startet auch FHEM wieder mit UNO in der cfg
UNO is initialisiert.

FHEM Fehler bzw Perl ist aber immer noch da


2016.03.25 12:15:17 1: Including fhem.cfg
2016.03.25 12:15:17 3: telnetPort: port 7072 opened
2016.03.25 12:15:17 3: WEB: port 8083 opened
2016.03.25 12:15:17 3: WEBphone: port 8084 opened
2016.03.25 12:15:17 3: WEBtablet: port 8085 opened
2016.03.25 12:15:18 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2016.03.25 12:15:18 3: sduino: IDlist MS 0 1 13 14 15 17 2 22 23 25 3 32 33 35 38 4 6 7
2016.03.25 12:15:18 3: sduino: IDlist MU 16 20 21 24 26 27 28 29 30 31 34 36 37 39 5 8 9
2016.03.25 12:15:18 3: sduino: IDlist MC 10 11 12 18
2016.03.25 12:15:18 3: Opening sduino device /dev/serial/by-id/usb-Arduino__www.arduino.cc__0043_95432313138351316160-if00
2016.03.25 12:15:18 3: Setting sduino serial parameters to 57600,8,N,1
2016.03.25 12:15:18 3: sduino device opened
2016.03.25 12:15:18 1: define: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0043_95432313138351316160-if00@57600
2016.03.25 12:15:18 1: init: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0043_95432313138351316160-if00@57600
2016.03.25 12:15:21 3: sduino: Possible commands: ViRtXFSPCG
Use of uninitialized value in numeric eq (==) at ./FHEM/00_SIGNALduino.pm line 856, <$fh> line 32.
2016.03.25 12:15:21 3: sduino: Firmwareversion: V 3.2.0-b12 SIGNALduino - compiled at Feb 13 2016 21:37:33

2016.03.25 12:15:21 1: Including ./log/fhem.save
2016.03.25 12:15:21 1: usb create starting
2016.03.25 12:15:22 3: Probing CUL device /dev/ttyAMA0
2016.03.25 12:15:22 3: Can't open /dev/ttyAMA0: Keine Berechtigung
2016.03.25 12:15:22 1: usb create end
2016.03.25 12:15:22 0: Featurelevel: 5.7
2016.03.25 12:15:22 0: Server started with 10 defined entities (fhem.pl:11109/2016-03-21 perl:5.020002 os:linux user:fhem pid:1577)

Ralf9

Zitat von: PeMue am 25 März 2016, 12:07:41
Könnte das das im Anhang sein?

Ja, diese müsste es sein.
Analog RSSI Output (only for V2.0)

Dort ist aber leider auch nicht zu erkennen an welchem Pin der Analog RSSI Output anliegt.

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

Ralf9

Zitat von: Burny4600 am 25 März 2016, 12:00:01
Auf b18 aktuallisiert.

Anbei die Geräte Infos wie die Sensorenbezeichnungen lauten.

Hast Du es schon beim sduino mit dem Attribut "longids = 0" versucht?

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

Burny4600

Das ist die aktuelle Konfig.
#####################################
###    INPUT SIGNALduino Oregon   ###
#####################################
define sduino SIGNALduino /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AI03D7H7-if00-port0@57600
attr sduino devStateIcon Initialized:cul_usb@green Open:cul_usb@red
attr sduino flashCommand avrdude -c arduino -b 57600 -P [PORT] -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
attr sduino hardware nano328
attr sduino longids 0
attr sduino verbose 1
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

Ralf9

Zitat von: Burny4600 am 25 März 2016, 13:23:08
Das ist die aktuelle Konfig.

attr sduino longids 0


müsste eigentlich passen.

Wenn ich es beir mir mit get raw simuliere, passt es:
2016.03.25 14:32:29 4: WGR800 decoded Oregon: W: 0 WA: 0 WD: 112.5  WDN: ESE  BAT: ok
2016.03.25 14:34:43 4: THWR800_3 decoded Oregon: T: 7 BAT: ok


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

Ralf9

Zitat von: Sidey am 23 März 2016, 22:51:22
Der DER Pin ist es jedenfalls nicht, das habe ich heraus gefunden.

Hast Du dies an einem V2.0 Empfänger herausgefunden?

Im Datenblatt steht:
Analog RSSI Output (only for V2.0)

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

Lothar64

Hallo,
ich habe heute mal Zeit gehabt mir mein Problem mit den "unknown tristate" noch einmal anzusehen,
@ Sidey: Ja meine Versuche mit einer geänderten Signalduino SW waren unnötig  8). Da bin ich wohl mit dem Setzen von dem verbose Level und den gesehenen Ausgaben durcheinandergekommen.
Zum anderen Thema
Zitatvon Sidey:
Wäre es nicht zielführender, dieses Protokoll auch im IT Modul ein zu bauen.
Den Rest deines Vorschlages habe ich verstanden. Die Grundidee ist halt, alles was gleich moduliert ist, auch an das gleiche Modul zu übergeben.
Es ist aber auch möglich, die Daten an ein anderes Modul zu übergeben, wenn das IT Modul nichts damit anfangen konnte.
Ich habe heute mal den Bewegungssensor auseinandergenommen. Dort ist der Chipaufdruck nicht entfernt worden. Es ist ein ev1527 verbaut. Ein pdf von dem Chip liegt im github im Sduino Logikanalyse-master branch. Das ev1527 Protokoll hat 20 fixed bits und 4 bit, die man am Baustein ändern kann. Die Bit Pulsfolge (0/1) ist so aufgebaut wie die halbe Pulsfolge in pt2262 (IT) Protokoll. Daher kommen die "unknown tristate" bei meinen Sensoren. Nun das Problem, wie kann man diese Protokolle auseinanderhalten? Die meisten Kombinationen passen nicht zum IT Protokoll und wären daher eindeutig zu erkennen, es gibt jedoch einige Kombinationen die sehen exact wie das IT Protokoll aus.
Ich kenne mich mit dem Fhem Konzept nicht aus, wer wie die empfangenen Daten auswertet. Sollte dieses im Signalduino.pm gemacht werden oder wo anders. Bitte um Vorschläge, damit ich mein Problem evtl. in ein anderen Thread posten kann.

Gruß
Lothar


noxx

Hallo,

kann ich mit dem Signalduino den Maverick 732 auslesen?

Hier mal ein LOG, bin aber nicht sicher was zum Maverick gehört
Temp 1 ist aktuell 70F, Temp 2 ist 68F

2016.03.26 08:32:40 4: sduino: Fingerprint for MU Protocol id 37 -> weather37 matches, trying to demodulate
2016.03.26 08:32:41 4: sduino/msg READ: MU;P0=202;P1=-542;P2=-297;P3=450;P4=-4878;D=01023201313102320102320131023132013131023201023201313131313102320104040404040404040431313131320102320102320131313131023201023201313102320102320131023132013131023201023201313131313102320102320131023201313102313201310;CP=0;
2016.03.26 08:32:41 4: sduino: Fingerprint for MU Protocol id 16 -> Dooya shutter matches, trying to demodulate
2016.03.26 08:32:41 4: sduino: Fingerprint for MU Protocol id 20 -> livolo matches, trying to demodulate
2016.03.26 08:32:41 4: sduino: Fingerprint for MU Protocol id 24 -> visivon remote matches, trying to demodulate
2016.03.26 08:32:41 4: sduino: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2016.03.26 08:32:41 4: sduino: Fingerprint for MU Protocol id 30 -> unitec47031 matches, trying to demodulate
2016.03.26 08:32:41 4: sduino: Fingerprint for MU Protocol id 34 -> unknown34 matches, trying to demodulate
2016.03.26 08:32:41 4: sduino: Fingerprint for MU Protocol id 37 -> weather37 matches, trying to demodulate
2016.03.26 08:32:41 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2016.03.26 08:32:42 4: sduino/msg READ: MC;LL=-1021;LH=920;SL=-496;SH=444;D=E271344604010100407041FC22411100;C=454;
2016.03.26 08:32:42 4: sduino: Found manchester Protocol id 10 clock 454 -> OSV2o3
2016.03.26 08:32:42 4: sduino: Found manchester Protocol id 12 clock 454 -> Hideki protocol
2016.03.26 08:32:42 4: sduino/msg READ: MC;LL=-1040;LH=918;SL=-534;SH=436;D=E271344204010100407041FC22437E00;C=451;
2016.03.26 08:32:42 4: sduino: Found manchester Protocol id 10 clock 451 -> OSV2o3
2016.03.26 08:32:42 4: sduino: Found manchester Protocol id 12 clock 451 -> Hideki protocol
2016.03.26 08:32:42 4: sduino/msg READ: MC;LL=-1026;LH=918;SL=-540;SH=436;D=AE271344404010100407041FC2240340;C=451;
2016.03.26 08:32:42 4: sduino: Found manchester Protocol id 10 clock 451 -> OSV2o3
2016.03.26 08:32:42 4: sduino: Found manchester Protocol id 12 clock 451 -> Hideki protocol
2016.03.26 08:32:47 4: sduino/msg READ: MC;LL=-1069;LH=891;SL=-566;SH=412;D=E0088800;C=434;
2016.03.26 08:32:47 4: sduino/msg READ: MU;P0=445;P1=-547;P2=-1043;P3=904;D=001010201010101010101010132010101320101010101320101320101010132323201310101020101010;CP=0;
2016.03.26 08:32:47 4: sduino: Fingerprint for MU Protocol id 16 -> Dooya shutter matches, trying to demodulate
2016.03.26 08:32:47 4: sduino: Fingerprint for MU Protocol id 21 -> einhell garagedoor matches, trying to demodulate
2016.03.26 08:32:47 4: sduino: Fingerprint for MU Protocol id 26 -> remote26 matches, trying to demodulate
2016.03.26 08:32:47 4: sduino: Fingerprint for MU Protocol id 27 -> remote27 matches, trying to demodulate
2016.03.26 08:32:47 4: sduino: Fingerprint for MU Protocol id 28 -> IC Ledspot matches, trying to demodulate
2016.03.26 08:32:47 4: sduino: Fingerprint for MU Protocol id 30 -> unitec47031 matches, trying to demodulate
2016.03.26 08:32:47 4: sduino: Fingerprint for MU Protocol id 31 -> pollin isotronic matches, trying to demodulate
2016.03.26 08:32:47 4: sduino: Fingerprint for MU Protocol id 36 -> socket36 matches, trying to demodulate
2016.03.26 08:32:47 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2016.03.26 08:32:47 4: sduino/msg READ: MC;LL=-1031;LH=928;SL=-524;SH=449;D=802222F0042044140E80;C=458;
2016.03.26 08:32:47 4: sduino: Found manchester Protocol id 10 clock 458 -> OSV2o3
2016.03.26 08:32:47 4: sduino: Found manchester Protocol id 12 clock 458 -> Hideki protocol
2016.03.26 08:32:48 4: sduino/msg READ: MC;LL=-994;LH=925;SL=-535;SH=474;D=004445D00840882B5B00;C=466;
2016.03.26 08:32:48 4: sduino: Found manchester Protocol id 10 clock 466 -> OSV2o3
2016.03.26 08:32:48 4: sduino: Found manchester Protocol id 12 clock 466 -> Hideki protocol
2016.03.26 08:32:52 4: sduino/msg READ: MU;P0=462;P1=-533;P2=-285;P3=209;P4=-4843;D=0101010231320231320231010101013202313202310101320231320231013201023101013202313202310101010101320231320231013202310101320102310134343434343434343401010101023132023132023101010101320231320231010132023132023101320102310101320231320231010101010132023132023;CP=3;O;
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 16 -> Dooya shutter matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 20 -> livolo matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 24 -> visivon remote matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 27 -> remote27 matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 30 -> unitec47031 matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 34 -> unknown34 matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 37 -> weather37 matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate
2016.03.26 08:32:52 4: sduino/msg READ: MU;P0=437;P1=195;P2=-554;P3=-301;D=012130312020213031213031202130203120202130312130312020202020;CP=1;
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 16 -> Dooya shutter matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 20 -> livolo matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 24 -> visivon remote matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 30 -> unitec47031 matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 34 -> unknown34 matches, trying to demodulate
2016.03.26 08:32:52 4: sduino: Fingerprint for MU Protocol id 37 -> weather37 matches, trying to demodulate
2016.03.26 08:32:53 4: sduino/msg READ: MU;P0=452;P1=-541;P2=203;P3=-295;P4=-4878;D=0101012303212303210101230321230321012301032101012303212303210101010104242424242424242401010101032123032123032101010101230321230321010123032123032101230103210101230321230321010101010123032123032101230321010123010321012;CP=2;
2016.03.26 08:32:53 4: sduino: Fingerprint for MU Protocol id 16 -> Dooya shutter matches, trying to demodulate
2016.03.26 08:32:53 4: sduino: Fingerprint for MU Protocol id 20 -> livolo matches, trying to demodulate
2016.03.26 08:32:53 4: sduino: Fingerprint for MU Protocol id 24 -> visivon remote matches, trying to demodulate
2016.03.26 08:32:53 4: sduino: Fingerprint for MU Protocol id 29 -> HT12e remote matches, trying to demodulate
2016.03.26 08:32:53 4: sduino: Fingerprint for MU Protocol id 30 -> unitec47031 matches, trying to demodulate
2016.03.26 08:32:53 4: sduino: Fingerprint for MU Protocol id 34 -> unknown34 matches, trying to demodulate
2016.03.26 08:32:53 4: sduino: Fingerprint for MU Protocol id 37 -> weather37 matches, trying to demodulate
2016.03.26 08:32:53 4: sduino: Fingerprint for MU Protocol id 8 -> TX3 Protocol matches, trying to demodulate

Hauswart

Mit der aktuellen Version in der stable gehen meine Funkuhren wieder mal nicht.:)
1. Installation:
KNX, Tasmota (KNX), Sonos, Unifi

2. Installation:
HM-CFG-USB, Unifi (, SIGNALduino 868, MySensors, SIGNALduino 433)

T.ihmann

Hallo, habe mir im Baumarkt Unitec Funksteckdosen gekauft...so wie hier http://www.amazon.de/uniTEC-48111-Funkfernschalterset-Micro-silber/dp/B003BIERWU. Die Steckdosen haben keinen DIP Schalter, waren aber mit 12€ recht günstig, so daß ich nicht denke, daß sie selbstlernend sind...
Hätte mich vielleicht vorher informieren sollen, ob die funktionieren. Gibt es eine Möglichkeit das Protokoll mit dem Signalduino auszulesen ? Wie gehe ich da am besten vor ? Signalduino habe ich schon mal in verbose 5 gesetzt...

Sidey

Zitat von: Ralf9 am 23 März 2016, 13:33:36
Falls eine größere clocktoleranz notwendig ist, dann könnte man in der Protokollliste ein zusätzliches optionales Feld "clocktol" ergänzen.

Dann die Clock doch lieber als Range angeben, so wie es für Manchster Protokolle bereits implementiert ist.

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

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

Sidey

Zitat von: Ralf9 am 25 März 2016, 12:26:03
Dort ist aber leider auch nicht zu erkennen an welchem Pin der Analog RSSI Output anliegt.

Also es kann eigentlich nur am DER oder Data Pin gemessen werden.

Aber Vielleicht kann dir der Verkäufer ja sagen, an welchem Pin es gemessen werden kann.


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

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