SIGNALDuino Empfänger Firmware V 3.3.2r-dev

Begonnen von Ralf9, 07 Januar 2018, 21:37:44

Vorheriges Thema - Nächstes Thema

my-engel

Hallo,

ich danke euch für die Infos und werde mich mal versuchen...

VG Uwe

Ralf9

#631
Hallo,

ich habe auch für die Cul V3 Hardware meine V 3.3.2.1-rc9 und V 3.3.4 Firmware kompiliert.
Damit die  V 3.3.4 Firmware in den flash des Atmega32U4 passt, habe ich die Routinen für den ASK/OOK (slowrf) Empfang entfernt.

Z.zt. gibt's z.B. bei ebay ein "nanoCUL USB Stick 868 Mhz" zu kaufen, dieser besteht aber nicht aus einem nano sondern einem Atmega32U4
Die Hardware ist kompatibel zum Cul V3.
https://www.smarthome-agentur.de/blog/der-neue-cul-stick/

Für FSK lässt sich der Cul V3 ohne Einschränkungen verwenden.

Für ASK/OOK (slowrf) gibts beim Empfang von einigen neuen Protokollen Einschränkungen, da ist der MapleMini die bessere Wahl.

Dies ist die "V 3.3.2.1-rc9" für ASK/OOK (slowrf) für den cul V3
https://github.com/Ralf9/SIGNALDuino/releases/tag/3.3.2.1-rc9
SIGNALduino_culV3CC1101_3321rc9.hex

und dies ist die firmware für FSK
https://github.com/Ralf9/SIGNALDuino/releases/tag/3.3.4-dev211207
SIGNALduino_culV3CC1101_onlyFsk_334dev211207.hex

Zum flashen des Cul V3 ist der dfu-programmer notwendig.
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

#632
Ich habe bei meiner FSK Firmware V3.3.4-dev211207
https://github.com/Ralf9/SIGNALDuino/releases/tag/3.3.4-dev211207
das Wechseln der aktiven EEPROM Bank optimiert (nur bei FSK).

Es werden nun die Register der alten und neuen Bank verglichen und dann nur die Differenz in die cc1101 Register geschrieben.
Zum Aktivieren wird nun nur noch der cc1101 kurz den IDLE Modus konfiguriert.
Beim optimierten Bankwechsel wird ein "f" angehängt.
z.B.
get sduino cmdBank 2f
Ab "versionmodul  v3.4.7-dev_ralf_04.12." meiner Variante der 00_SIGNALduino.pm wird als Rückgabe die Anzahl der geschriebenen cc1101 Register (wrReganz=..) ausgegeben
https://forum.fhem.de/index.php/topic,111653.msg1058900.html#msg1058900

Wenn z.B. auf der Bank 1 "LaCrosse Mode1" und auf der Bank 2 "Lacrosse Mode2" ist,
dann können mit einem cc1101 Modul beide LaCrosse Mode empfangen werden, wenn mit "set cmdBank 2f" und "set cmdBank 1f" zwischen Bank 1 und Bank 2 gewechselt wird.
Dies kann z.B. mit einem notify oder DOIF alle 2 Min gemacht werden.




Wichtig:
Bei der Firmware V3.3.4-dev211207 habe ich beim CW Befehl, mit dem bei "set rfmode" die Registerkonfiguration zum sduino gesendet wird, ein bug behoben.

Es wurden mit dem CW Befehl auch Teile der nächsten EEPROM Bank überschrieben. Wenn die EEPROM Bänke in aufsteigender Reihenfolge beschrieben wurden, hatte dies keine Auswirkung.

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

GreenFHEMfan

#633
Gibt es eine Möglichkeit über ein Attribut oder ähnliches zwischen den cmdbank EEPROM Speicherbereiche des SIGNALduino Sticks in vorgegebenen Zeiten automatisch zu springen, um verschiedene Geräte abzufragen ?
Oder muss dazu z.B. eine DOIF programmiert werden?

Gruß Maik
Rasp 3B+,4 / CUL /  Duofernstick / SIGNALduino (nanocul CC1101 optiboot) / mqtt

Ralf9

Möchtest Du verschiedene FSK Sensoren empfangen?

ZitatOder muss dazu z.B. eine DOIF programmiert werden?
Ja, das muß über ein DOIF oder notify programmiert werden.
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

Sany

Hallo Ralf9,

kurze Frage, da ich 2 meiner 3 Signalduinos nicht zum laufen bekomme.
ich habe:
versionmodul    v3.4.10-dev_ralf_12.02.
versionprotoL   v3.4.10-dev_ralf_16.02.
version            V 3.3.4-dev211207 SIGNALduino cc1101 (b0) - compiled at Dec 8 2021 00:17:23

sowie
00_SIGNALduino.pm         3410 2022-02-12 22:00:00Z v3.4.10-dev-Ralf9
14_SD_WS.pm              21666 2022-01-23 23:00:00Z Ralf9

der funktionierende Signalduino hat ein cc1101-Modul angeschlossen und empfängt meine Bresser5in1 einwandfrei (kurze Anmerkung: die mit dem cc1101 gelieferte "Drahtspule" als Antenne hat funktioniert, als der Signalduino neben der Wetterstation lag. Nachdem diese im Garten stand wurde nix mehr empfangen, die Basisstation zeigt aber immer noch vollen Empfang an. Dann habe ich die Drahtspule durch einen 8,3cm langen Draht ersetzt und siehe da: volles Rohr empfang, RSSI -68. (vorher irgendwas bei -97 oder so)

Ein weiterer Signalduino hat ein 433MHZ Sender/Empfänger-Set, angeschlossen nach Schaltplan aus FHEMduino, hat auch mal mit den "original"-Modulen aus fhem funktioniert und diverse Sender empfangen /Thermometer und so)
ein dritter Signalduino hat einen 868MHz Empfänger von ELV, den Du in einem der vielen Threads empfohlen hast. Auf dem Weg zur Lösung für die Wetterstation hat dieser signalduino auch mal FS20-Komponenten empfangen.
Die Wetterstation habe ich dann nur mit dem cc1101-Empfänger zum laufen bekommen, die anderen beiden liefern nichts mehr. Die Signalduinos werden als opened dargestellt.
Ich vermute nun, daß die Firmware nicht mit den Empfängern zusammenarbeitet. Ich dachte, die sei "rückwärtskompatibel", vielleicht liege ich da auch falsch. Im Moment habe ich allerdings auch etwas den Überblichk verloren bei all den verschiedenen Versionen.
Wie gesagt, ich bin mit allen Deinen Modulen/Firmwares auf dem neuesten Stand (soweit ich das sehe), nur die 2 Signalduinos ohne cc1101 liefern nix.

Vielleicht kannst Du mich ja da in die richtige Richtung "schubsen", was ich da tun kann.


Vielen dank schon mal.

Gruß


Sany
fhem auf Zotac ZBox nano als LXC auf Proxmox, weitere LXC mit ZigBee2MQTT, MariaDB und Grafana. Homematic, FS20, mySensors, MQTT2, Tasmota, Shelly, Z-Wave  ....

Ralf9

ZitatEin weiterer Signalduino hat ein 433MHZ Sender/Empfänger-Set, angeschlossen nach Schaltplan aus FHEMduino
Welche Firmware verwendest Du bei diesem sduino?
Welchen 433MHZ Empfänger verwendest Du? Einen RXB6?
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

Sany

Guten Morgen,

ZitatWelche Firmware verwendest Du bei diesem sduino?
ich habe auf allen die Version V 3.3.4-dev211207 SIGNALduino (b0) - compiled at Dec 8 2021 00:17:23 geflashed

ZitatWelchen 433MHZ Empfänger verwendest Du? Einen RXB6?
genau, eine RXB6

Wie gesagt, der lief schon mal mit den Signalduino-Modulen und Firmware, die per fhem-update verteilt werden. Ich bin dann, da ich die Wetterstation nicht gleich zum laufen bekommen habe, auf Deine Module+Firmware umgestiegen. Ich vermute mal, ein Mischbetrieb wird nicht gehen, da die 00_SIGNALduino.pm ja unterschiedlich ist.
Ich habe noch nicht durchschaut, was der Unterschied zwische Deinen Versionen und den , ich nenne sie mal "fhem-Versionen", ist. Ich dachte es ist die Möglichkeit, FSK-Protokolle zu empfangen, aber das geht jetzt wohl auch mit den fhem-Versionen?


Gruß

Sany
fhem auf Zotac ZBox nano als LXC auf Proxmox, weitere LXC mit ZigBee2MQTT, MariaDB und Grafana. Homematic, FS20, mySensors, MQTT2, Tasmota, Shelly, Z-Wave  ....

Ralf9

Die V 3.3.4 Firmware gibts nur für den cc1101.
Bei der V 3.3.2.1-rc9 gibts auch Firmware hex-Files ohne cc1101
https://github.com/Ralf9/SIGNALDuino/releases/tag/3.3.2.1-rc9
z.b. die "SIGNALduino_nano328_3321rc9.hex"

Bei der Firmware für den Arduino gibts für den cc1101 und RXB6 verschiedene hex-Files

Erst bei der V 4.x.x für den Maple Mini und ESP32 gibts für den cc1101 und RXB6 ein gemeinsame Firmware.

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

Sany

#639
So, habe auf beiden die angegebene Firmware geflashed, aber ohne Erfolg.
Damit es übersichtlich bleibt gehts ab jetzt erst mal nur um den Signalduino mit 868MHz Empfänger RX868SH-C3 (ELV Superhet Empfänger (Data-Pin an D2 vom Arduino, Betrieb an 3,3V vom Arduino. Ich hoffe mal, das Signal wird erkannt, werde später mal mit Oszi nachmessen)).
List vom Signalduino:
Internals:
   Clients    :CUL_TCM97001:SD_WS:SD_WS07:SD_WS09:Hideki:LaCrosse:OREGON:CUL_EM:CUL_WS:CUL_TX:SD_AS:IT: :FS10:FS20:SOMFY:FLAMINGO:SD_WS_Maverick:KOPP_FC:PCA301:SD_BELL:SD_GT:SD_RSL:SD_UT:WMBUS: :CUL_FHTTK:FHT:RFXX10REC:Revolt:Dooya:Fernotron:SD_Keeloq:SD_Rojaflex:Siro:SD_Tool:SIGNALduino_un:
   ClientsKeepOrder 1
   DEF        /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0@57600
   DMSG       nothing
   DevState   initialized
   DeviceName /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0@57600
   FD         10
   FUUID      6224c651-f33f-833f-4751-2ccea7406d3d0238
   IDsNoDispatch 2,43.1,72.1,82,87,88
   LASTDMSG   nothing
   LASTDMSGID nothing
   NAME       signal868all_duino
   NR         25
   PARTIAL   
   STATE      opened
   TIME       1646830801
   TYPE       SIGNALduino
   sendworking 0
   version    V 3.3.2.1-rc9 SIGNALduino - compiled at Jun 16 2019 18:11:42
   versionmodul v3.4.10-dev_ralf_12.02.
   versionprotoL v3.4.10-dev_ralf_16.02.
   MatchList:
     01:IT      ^i......
     02:CUL_TCM97001 ^s[A-Fa-f0-9]+
     03:SD_RSL  ^P1#[A-Fa-f0-9]{8}
     04:OREGON  ^(3[8-9A-F]|[4-6][0-9A-F]|7[0-8]).*
     05:CUL_TX  ^TX..........
     06:SD_AS   ^P2#[A-Fa-f0-9]{7,8}
     07:Hideki  ^P12#75[A-F0-9]+
     09:CUL_FHTTK ^T[A-F0-9]{8}
     10:SD_WS07 ^P7#[A-Fa-f0-9]{6}[AFaf][A-Fa-f0-9]{2,3}
     11:SD_WS09 ^P9#F[A-Fa-f0-9]+
     12:SD_WS   ^W\d+x{0,1}#.*
     13:RFXX10REC ^(20|29)[A-Fa-f0-9]+
     14:Dooya   ^P16#[A-Fa-f0-9]+
     15:SOMFY   ^Ys[0-9A-F]+
     16:SD_WS_Maverick ^P47#[A-Fa-f0-9]+
     17:SD_UT   ^P(?:14|20|24|26|29|30|34|46|56|68|69|76|78|81|83|86|90|91|91.1|92|93|95|97|99|104|105|114|118)#.*
     18:FLAMINGO ^P13\.?1?#[A-Fa-f0-9]+
     19:CUL_WS  ^K[A-Fa-f0-9]{5,}
     20:Revolt  ^r[A-Fa-f0-9]{22}
     21:FS10    ^P61#[A-F0-9]+
     22:Siro    ^P72#[A-Fa-f0-9]+
     23:FHT     ^81..(04|09|0d)..(0909a001|83098301|c409c401)..
     24:FS20    ^81..(04|0c)..0101a001
     25:CUL_EM  ^E0.................
     26:Fernotron ^P82#.*
     27:SD_BELL ^P(?:15|32|41|42|57|79|96|98|112)#.*
     28:SD_Keeloq ^P(?:87|88)#.*
     29:SD_GT   ^P49#[A-Fa-f0-9]+
     30:LaCrosse ^(\S+\s+9 |OK\sWS\s)
     31:KOPP_FC ^kr..................
     32:PCA301  ^\S+\s+24
     33:SD_Rojaflex ^P109#[A-Fa-f0-9]+
     34:WMBUS   ^b.*
     90:SD_Tool ^pt([0-9]+(\.[0-9])?)(#.*)?
     X:SIGNALduino_un ^[u]\d+#.*
   QUEUE:
   READINGS:
     2022-03-06 20:46:23   cmdBank         Unsupported command
     2022-03-11 09:21:26   cmds             V R t X S P C r W
     2022-03-11 09:21:31   config          MS=1;MU=1;MC=1;Mred=1;Mdebug=1_MScnt=4;MuSplitThresh=8000;MdebFifoLimit=120/140
     2022-03-11 09:21:37   freeram         589
     2022-03-11 09:21:43   ping            OK
     2022-03-10 20:35:20   raw             Unsupported command
     2022-03-06 18:32:16   rfmode          SlowRF_ccFactoryReset => ccFactoryReset done
     2022-03-11 09:04:02   state           opened
     2022-03-11 09:21:50   uptime          0 00:17:50
     2022-03-11 09:21:55   version         V 3.3.2.1-rc9 SIGNALduino - compiled at Jun 16 2019 18:11:42
   getcmd:
   helper:
     avrdudelogs flashing Arduino signal868all_duino
hex file: FHEM/firmware/SIGNALduino_nano328_3321rc9.hex
port: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0
host: /dev/serial/by-path/platform-3f980000.usb-usb-0.5:1.0-port0
log file: ./log/SIGNALduino-Flash.log
signal868all_duino closed
command: avrdude -c arduino -b 115200 -P /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0 -p atmega328p -vv -U flash:w:FHEM/firmware/SIGNALduino_nano328_3321rc9.hex 2>./log/SIGNALduino-Flash.log

ERROR: avrdude exited with error--- AVRDUDE ---------------------------------------------------------------------------------

avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/etc/avrdude.conf"
         User configuration file is "/opt/fhem/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino
         Hardware Version: 3
         Firmware Version: 4.4
         Vtarget         : 0.3 V
         Varef           : 0.3 V
         Oscillator      : 28.800 kHz
         SCK period      : 3.3 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "FHEM/firmware/SIGNALduino_nano328_3321rc9.hex"
avrdude: input file FHEM/firmware/SIGNALduino_nano328_3321rc9.hex auto detected as Intel Hex
avrdude: writing flash (23040 bytes):

Writing | ################################################## | 100% 4.20s

avrdude: 23040 bytes of flash written
avrdude: verifying flash memory against FHEM/firmware/SIGNALduino_nano328_3321rc9.hex:
avrdude: load data flash data from input file FHEM/firmware/SIGNALduino_nano328_3321rc9.hex:
avrdude: input file FHEM/firmware/SIGNALduino_nano328_3321rc9.hex auto detected as Intel Hex
avrdude: input file FHEM/firmware/SIGNALduino_nano328_3321rc9.hex contains 23040 bytes
avrdude: reading on-chip flash data:

Reading | ###########
avrdude: stk500_paged_load(): (a) protocol error, expect=0x10, resp=0x66
avrdude: stk500_cmd(): programmer is out of sync
avr_read(): error reading address 0x0000
    read operation not supported for memory "flash"
avrdude: failed to read all of flash memory, rc=-2
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x06

avrdude done.  Thank you.

--- AVRDUDE ---------------------------------------------------------------------------------

signal868all_duino opened

   keepalive:
     ok         0
     retry      0
   mcIdList:
     10
     11
     12
     18
     43
     47
     52
     57
     58
     96
   mnIdList:
     100
     101
     102
     103
     107
     108
     109
     112
     115
     116
     201
     202
     203
     204
     205
     206
     207
     208
     209
     210
   msIdList:
     0
     0.1
     0.2
     0.3
     0.4
     0.5
     1
     3
     3.1
     4
     6
     7
     13
     13.2
     14
     15
     17
     20
     23
     25
     32.1
     33
     33.1
     33.2
     35
     41
     49
     51
     53
     54.1
     55
     65
     68
     74.1
     90
     91.1
     93
     106
     113
     118.1
   muIdList:
     8
     9
     13.1
     16
     17.1
     19
     21
     22
     24
     26
     27
     28
     29
     30
     31
     32
     34
     36
     37
     38
     39
     40
     42
     44
     44.1
     45
     46
     48
     49.1
     49.2
     50
     54
     56
     59
     60
     61
     62
     64
     66
     67
     69
     70
     71
     72
     73
     74
     78
     79
     80
     81
     83
     84
     85
     86
     89
     91
     92
     94
     95
     97
     98
     99
     104
     105
     110
     111
     114
     118
     200
   rfmodesets:
     rfmode     Avantek_433__B8_N9_FSK,Bresser_5in1_u_7in1__B28_N7_8220,Bresser_6in1__B20_N7_8220,DP100_WH51_WH57_433__B16_N16_17241,DP100_WH51_WH57_868__B16_N6_17241,HoneywActivL__SlowRf_FSK,KOPP_FC__B20_N4_4785,Lacrosse_mode1__B12_N1_17241,Lacrosse_mode2__B12_N2_9579,PCA301_mode3__B32_N3_6631,Rojaflex_433__B12_N8_GFSK,SlowRF_ccFactoryReset,W136__B24_N10_4798,WH24_WH25__B20_N1_17241,WMBus_S__N11_ab_firmware_V422,WMBus_T_u_C__N12_ab_firmw_V422,WS1600_TX22_mode5__B16_N5_8842
Attributes:
   devStateIcon opened:arduino\lime diconnected:arduino@red
   hardware   nano328_optiboot
   room       SignalDuino
   updateChannelFW Ralf9
   verbose    5


Zitat00_SIGNALduino.pm         3410 2022-02-12 22:00:00Z v3.4.10-dev-Ralf9
signalduino_protocols.pm  3410 2022-02-16 22:00:00Z v3.4.10-dev-Ralf9

und ein Log-Auszug nach einem Reset:
2022.03.11 09:26:20.675 3: signal868all_duino reset

2022.03.11 09:26:20.677 3: Opening signal868all_duino device /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0

2022.03.11 09:26:20.681 3: Setting signal868all_duino serial parameters to 57600,8,N,1

2022.03.11 09:26:20.684 1: signal868all_duino/define: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0@57600

2022.03.11 09:26:20.685 1: signal868all_duino/init: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0@57600

2022.03.11 09:26:20.685 3: signal868all_duino device opened

2022.03.11 09:26:22.291 4: signal868all_duino/msg READ: Using sFIFO

2022.03.11 09:26:22.292 5: signal868all_duino/noMsg Parse: Using sFIFO

2022.03.11 09:26:22.297 4: signal868all_duino/msg READ: Reading values from eeprom

2022.03.11 09:26:22.298 5: signal868all_duino/noMsg Parse: Reading values from eeprom

2022.03.11 09:26:22.298 4: signal868all_duino/msg READ: Starting timerjob

2022.03.11 09:26:22.298 5: signal868all_duino/noMsg Parse: Starting timerjob

2022.03.11 09:26:22.341 4: signal868all_duino/msg READ: receiver enabled

2022.03.11 09:26:22.342 5: signal868all_duino/noMsg Parse: receiver enabled

2022.03.11 09:26:23.186 3: signal868all_duino/init: disable receiver (XQ)

2022.03.11 09:26:23.187 5: signal868all_duino SW: XQ

2022.03.11 09:26:23.686 3: signal868all_duino/init: get version, retry = 0

2022.03.11 09:26:23.687 5: signal868all_duino SW: V

2022.03.11 09:26:23.702 4: signal868all_duino/msg READ: V 3.3.2.1-rc9 SIGNALduino - compiled at Jun 16 2019 18:11:42

2022.03.11 09:26:23.703 5: signal868all_duino/noMsg Parse: V 3.3.2.1-rc9 SIGNALduino - compiled at Jun 16 2019 18:11:42

2022.03.11 09:26:23.704 4: signal868all_duino/msg READ: regexp=V\s.*SIGNAL(duino|ESP).* cmd=version msg=V 3.3.2.1-rc9 SIGNALduino - compiled at Jun 16 2019 18:11:42

2022.03.11 09:26:23.709 3: signal868all_duino/init: firmwareversion without cc1101 found

2022.03.11 09:26:23.710 2: signal868all_duino: initialized. v3.4.10-dev_ralf_12.02.

2022.03.11 09:26:23.711 5: signal868all_duino SW: XE

2022.03.11 09:26:23.721 3: signal868all_duino/init: enable receiver (XE)

2022.03.11 09:27:23.746 4: signal868all_duino/KeepAlive not ok, retry = 1 -> get ping

2022.03.11 09:27:23.747 5: AddSendQueue: signal868all_duino: P (1)

2022.03.11 09:27:23.848 5: signal868all_duino SW: P

2022.03.11 09:27:23.868 4: signal868all_duino/msg READ: OK

2022.03.11 09:27:23.868 5: signal868all_duino/noMsg Parse: OK

2022.03.11 09:27:23.868 4: signal868all_duino/msg READ: regexp=^OK$ cmd=ping msg=OK

2022.03.11 09:27:24.159 4: signal868all_duino/HandleWriteQueue: nothing to send, stopping timer

2022.03.11 09:28:23.772 4: signal868all_duino/keepalive ok, retry = 0

2022.03.11 09:29:23.797 4: signal868all_duino/KeepAlive not ok, retry = 1 -> get ping

2022.03.11 09:29:23.798 5: AddSendQueue: signal868all_duino: P (1)

2022.03.11 09:29:23.898 5: signal868all_duino SW: P

2022.03.11 09:29:23.909 4: signal868all_duino/msg READ: OK

2022.03.11 09:29:23.909 5: signal868all_duino/noMsg Parse: OK

2022.03.11 09:29:23.909 4: signal868all_duino/msg READ: regexp=^OK$ cmd=ping msg=OK

2022.03.11 09:29:24.209 4: signal868all_duino/HandleWriteQueue: nothing to send, stopping timer

2022.03.11 09:30:23.814 4: signal868all_duino/keepalive ok, retry = 0



(in der letzten Minute habe ich ein paar Tasten einer FS20 Fernbedienung gedrückt)
fhem auf Zotac ZBox nano als LXC auf Proxmox, weitere LXC mit ZigBee2MQTT, MariaDB und Grafana. Homematic, FS20, mySensors, MQTT2, Tasmota, Shelly, Z-Wave  ....

Ralf9

ZitatBetrieb an 3,3V vom Arduino
Warum 3.3 V? Der nano arbeitet mit 5V und der RX868SH kann auch 5V
ZitatSpannungsversorgung 2,3–5,5 V
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

Sany

sorry, hab ich wohl mit dem c1101 verwechselt. Ja, der ELV-Receiver kann 5V und ist auch da dran angeschlossen.
fhem auf Zotac ZBox nano als LXC auf Proxmox, weitere LXC mit ZigBee2MQTT, MariaDB und Grafana. Homematic, FS20, mySensors, MQTT2, Tasmota, Shelly, Z-Wave  ....

Sany

Hallo Ralf9,

Zitatder ELV-Receiver kann 5V und ist auch da dran angeschlossen.
Das alleine hat aber nicht gereicht: ich habe dann doch mal nachgemessen und festgestellt: am 5V-Pin vom Arduino kommt nix an. Warum das so ist habe ich nicht weiterverfolgt sondern einen neuen Arduino genommen und siehe da: geht!
Zuvor habe ich mir allerdings einen freien raspi frisch mit fhem versorgt und bin dann mit den Standard-Modulen erst mal weitergegangen. Auch den Arduino habe ich mit der SIGNALduino 3.5.0-dev Version geflashed.  Meine FS20-Sender wurden sofort empfangen.
Nächster Kandidat war der SIGNALduino mit dem RXB6: Das ist noch auf einem Steckbrett zusammengesteckt und hier war ein Drähtchen leicht rausgerutscht, gesehen hat man das nicht, aber der Kontakt war weg. Nach Korrektur hat auch der wieder funktioniert.
Last but not least habe ich dann den Signalduino mit cc1101 auch umgeflashed und angeschlossen, die Einstellungen für das cc1101 überprüft und schon war die Wetterstation auch wieder eingebunden. Einziger Unterschied: die kmh-Readings für Wind und Gust fehlen, habe mir die per UserReadings nachgebaut.
attr WxStation userReadings windSpeed_kmh:windSpeed.* {sprintf("%.1f",ReadingsNum($name,"windSpeed",0)*3.6)},windGust_kmh:windGust.* {sprintf("%.1f",ReadingsNum($name,"windGust",0)*3.6)}

Somit läuft mein Zeug erst mal, allerdings jetzt halt mit den Standard SIGNALduino Modulen, die per Update verteilt werden.

eine letzte Frage: kann man mit SIGNALduino auch die HMS-Sensoren empfangen? Das ist ja irgendwie FS20.


Gruß


Sany
fhem auf Zotac ZBox nano als LXC auf Proxmox, weitere LXC mit ZigBee2MQTT, MariaDB und Grafana. Homematic, FS20, mySensors, MQTT2, Tasmota, Shelly, Z-Wave  ....

Ralf9

Zitatkann man mit SIGNALduino auch die HMS-Sensoren empfangen?
Die HMS können vermutlich z.Zt. nicht empfangen werden, ich konnte in der Signalduino Protokolliste nichts darüber finden.
Bitte poste mal ein paar raw Nachrichten die Du mit dem sduino von den HMS-Sensoren empfängst.
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

Sany

ich hoffe das sit richtig so, habe den signalduino auf verbose 4 gestellt und etwas "gelauscht".Parallel dazu den Eventmonitor mit Filter auf HMS. Das ergibt folgendes:
(zuerst 2 Zeilen vom HMS, danach die Zeielen aus dem Log)
Zitat2022-03-15 16:25:55.345 HMS TF_OAT2 temperature: 6.4
2022-03-15 16:25:55.345 HMS TF_OAT2 humidity: 99.1

2022.03.15 16:25:55 4: signal868all_duino: Read, msg: MC;LL=-1023;LH=974;SL=-498;SH=510;D=AFF3FFC;C=500;L=26;

--------------------


2022-03-15 16:28:39.572 HMS TF_OAT temperature: 6.7
2022-03-15 16:28:39.572 HMS TF_OAT humidity: 94.1

2022.03.15 16:28:39 4: signal868all_duino: Read, msg: MC;LL=-1023;LH=987;SL=-505;SH=513;D=5555555554;C=504;L=40;
2022.03.15 16:28:39 4: signal868all_duino: Parse_MC, Found manchester protocol id 52 clock 504 -> Oregon Scientific PIR
2022.03.15 16:28:40 4: signal868all_duino: Read, msg READredu: MU;P0=-128;P1=1408;P2=116;P3=-364;P4=244;P5=360;P6=-248;P7=484;D=01020202020202020202020202020202020202320405020267;CP=2;

--------------------


2022-03-15 16:31:08.343 HMS TF_OAT2 temperature: 6.4
2022-03-15 16:31:08.343 HMS TF_OAT2 humidity: 99.2

2022.03.15 16:31:08 4: signal868all_duino: Read, msg READredu: MU;P0=-740;P1=232;P2=-1024;P3=508;P4=-497;P5=996;D=012343434343434345432343434343434343434343434;CP=3;
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 8 -> TX3 Protocol matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 9 -> weather matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 19 -> minify matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 34 -> QUIGG | LIBRA | Mandolyn | Pollin ISOTRONIC matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 37 -> Bresser 7009994 matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 38 -> NC-3911 matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 40 -> Romotec  matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 42 -> wireless doorbell matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 50 -> Opus_XT300 matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 54 -> TFA 30.3233.01 matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 61 -> FS10 matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 64 -> WH2 matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 70 -> FHT80TF matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 73 -> FHT80 matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 74 -> FS20 matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 80 -> EM1000WZ matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 85 -> TFA 30.3222.02 matches, trying to demodulate
2022.03.15 16:31:08 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 89 -> TFA 30.3221.02 matches, trying to demodulate

--------------------


2022-03-15 16:33:52.370 HMS TF_OAT temperature: 6.7
2022-03-15 16:33:52.370 HMS TF_OAT humidity: 94.2

2022.03.15 16:33:52 4: signal868all_duino: Read, msg READredu: MU;P0=-488;P1=-129;P2=118;P3=-368;P4=240;P5=360;P6=-252;P7=482;D=121212121212121212121212121212121232141512126702371;CP=2;
2022.03.15 16:33:52 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 8 -> TX3 Protocol matches, trying to demodulate
2022.03.15 16:33:52 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 61 -> FS10 matches, trying to demodulate
2022.03.15 16:33:52 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 70 -> FHT80TF matches, trying to demodulate
2022.03.15 16:33:52 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 73 -> FHT80 matches, trying to demodulate
2022.03.15 16:33:52 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 74 -> FS20 matches, trying to demodulate
2022.03.15 16:33:52 4: signal868all_duino: Parse_MU, Fingerprint for MU protocol id 80 -> EM1000WZ matches, trying to demodulate
2022.03.15 16:33:52 4: signal868all_duino: Read, msg: MC;LL=-1024;LH=990;SL=-542;SH=494;D=5555555554;C=508;L=40;
2022.03.15 16:33:52 4: signal868all_duino: Parse_MC, Found manchester protocol id 52 clock 508 -> Oregon Scientific PIR
fhem auf Zotac ZBox nano als LXC auf Proxmox, weitere LXC mit ZigBee2MQTT, MariaDB und Grafana. Homematic, FS20, mySensors, MQTT2, Tasmota, Shelly, Z-Wave  ....