Autor Thema: Wireless M-Bus für CUL  (Gelesen 170272 mal)

Offline klausw

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1894
Antw:Wireless M-Bus für CUL
« Antwort #780 am: 03 September 2019, 15:48:48 »
OK, Danke für die Rückmeldung.
Dann lohnt es sich auch nicht da groß Energie reinzustecken.
RasPi B v2 mit FHEM 18B20 über 1Wire, LED PWM Treiber über I2C, Luchtdruck-, Feuchtesensor und ein paar Schalter/LED\'s zum testen
Module: RPI_GPIO, RPII2C, I2C_EEPROM, I2C_MCP23008, I2C_MCP23017, I2C_MCP342x, I2C_PCA9532, I2C_PCF8574, I2C_SHT21, I2C_BME280

Offline Fritz Muster

  • Full Member
  • ***
  • Beiträge: 198
Antw:Wireless M-Bus für CUL
« Antwort #781 am: 16 September 2019, 09:28:56 »
Hallo in die Runde,

ich möchte meinen WMZ per WMBUS anbinden und stehe vor dem "Speicherproblem". Im Log steht
WMBUS Error during LinkLayer parse:message too short, expected 217, got 177 bytes
In der board.h bin ich bei TTY_BUFSIZE bis 356 hochgegangen. In der ttydata.c habe ich

static char cmdbuf[128+1]; eingetragen

Beim kompilieren bekomme ich dann bzgl. Speicherbelegung folgendes

Size after:
   text    data     bss     dec     hex filename
  10960     114    1847   12921    3279 nanoCUL.elf

Ist zwar "Proppevoll" aber der nanoCUL funktioniert noch. Trotzdem reicht es leider noch nicht.

Ein define define MBUS_NO_TX hat bzgl,. Speicherbelegung nichts gebracht. Alle anderen Protokolle sind in der board.h auskommentiert.

Habe hier im Thread im Post folgendes gefunden

Hab's jetzt hin bekommen mit getrennten Buffer-Größen.

128 für cmdbuf und TTY_Rx_Buffer;
358 für TTY_Tx_Buffer

static char cmdbuf[TTY_BUFSIZE_R+1];

extern rb_t TTY_Tx_Buffer;
extern rb_t_r TTY_Rx_Buffer;

Würde das gerne probieren mit den unterschiedlichen Buffer-Größen für Senden/Empfangen. Weiß aber leider nicht wie das geht. Wäre dankbar für einen Tipp wie ich das machen kann.

Danke Fritz
RasPi 3B+, Stretch, Fhem 5.9, DBlog SQLite
HMLAN, Jeelink Clone, nanoCUL/MAX, SIGNALduino 433&868, ArduCounter
HM Sensoren/Aktoren ,Technoline TX 29 DTH-IT, TFA 30.3155WD, MAX!
Hour Counter, Astro, EletricityCounter, Statistics, Charting Frontend, TabletUI, Modbus

Offline kaihs

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1056
Antw:Wireless M-Bus für CUL
« Antwort #782 am: 16 September 2019, 20:39:48 »
Da das Problem wohl immer öfter auftritt hat jemand einen Fork der culfw erstellt bei dem die Pufferbehandlung optimiert wurde: https://github.com/thomas2403/a-culfw.git.

Ich habe die Version noch nicht ausprobiert, kannst ja mal Rückmeldung geben ob das bei dir funktioniert.
Banana Pi, Add-On Board mit 1.8" TFT LCD und IR-Sender, FHEM V5.9, CULFW V1.61, div. Homematic Komponenten, Pollin Funksteckdosen, Selbstbau CUL433 MHz, Jeelink Clone, EC3000
Selbstbau CUL868MHz für Wireless M-Bus, FHEMduino mit Logilink Temp.-sensoren und Auriol Wetterstation

Offline Fritz Muster

  • Full Member
  • ***
  • Beiträge: 198
Antw:Wireless M-Bus für CUL
« Antwort #783 am: 18 September 2019, 20:58:42 »
Danke für den Tipp!

Das kompilieren vom Fork läuft sauber durch

make TARGET=nanoCUL868 mostly_clean sizebefore build sizeafter
make[1]: Verzeichnis „/home/fritz/Dokumente/Haus_und_Grund/fhem/culfw/a-culfw-WMBus/culfw/Devices/nanoCUL“ wird betreten
Cleaning project:
Compiling C: nanoCUL.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./nanoCUL.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/nanoCUL.o.d nanoCUL.c -o nanoCUL.o
Compiling C: ../../clib/cc1100.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/cc1100.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/cc1100.o.d ../../clib/cc1100.c -o ../../clib/cc1100.o
Compiling C: ../../clib/cc1101_pllcheck.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/cc1101_pllcheck.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/cc1101_pllcheck.o.d ../../clib/cc1101_pllcheck.c -o ../../clib/cc1101_pllcheck.o
Compiling C: ../../clib/clock.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/clock.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/clock.o.d ../../clib/clock.c -o ../../clib/clock.o
Compiling C: ../../clib/belfox.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/belfox.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/belfox.o.d ../../clib/belfox.c -o ../../clib/belfox.o
Compiling C: ../../clib/delay.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/delay.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/delay.o.d ../../clib/delay.c -o ../../clib/delay.o
Compiling C: ../../clib/display.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/display.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/display.o.d ../../clib/display.c -o ../../clib/display.o
Compiling C: ../../clib/stringfunc.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/stringfunc.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/stringfunc.o.d ../../clib/stringfunc.c -o ../../clib/stringfunc.o
Compiling C: ../../clib/fncollection.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/fncollection.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/fncollection.o.d ../../clib/fncollection.c -o ../../clib/fncollection.o
Compiling C: ../../clib/fband.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/fband.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/fband.o.d ../../clib/fband.c -o ../../clib/fband.o
Compiling C: ../../clib/ringbuffer.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/ringbuffer.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/ringbuffer.o.d ../../clib/ringbuffer.c -o ../../clib/ringbuffer.o
Compiling C: ../../clib/fht.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/fht.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/fht.o.d ../../clib/fht.c -o ../../clib/fht.o
Compiling C: ../../clib/rf_send.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_send.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_send.o.d ../../clib/rf_send.c -o ../../clib/rf_send.o
Compiling C: ../../clib/rf_receive.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_receive.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive.o.d ../../clib/rf_receive.c -o ../../clib/rf_receive.o
Compiling C: ../../clib/rf_receive_bucket.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_receive_bucket.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_bucket.o.d ../../clib/rf_receive_bucket.c -o ../../clib/rf_receive_bucket.o
Compiling C: ../../clib/rf_receive_tcm97001.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_receive_tcm97001.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_tcm97001.o.d ../../clib/rf_receive_tcm97001.c -o ../../clib/rf_receive_tcm97001.o
Compiling C: ../../clib/rf_receive_it.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_receive_it.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_it.o.d ../../clib/rf_receive_it.c -o ../../clib/rf_receive_it.o
Compiling C: ../../clib/rf_receive_tx3.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_receive_tx3.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_tx3.o.d ../../clib/rf_receive_tx3.c -o ../../clib/rf_receive_tx3.o
Compiling C: ../../clib/rf_receive_revolt.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_receive_revolt.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_revolt.o.d ../../clib/rf_receive_revolt.c -o ../../clib/rf_receive_revolt.o
Compiling C: ../../clib/rf_receive_esa.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_receive_esa.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_esa.o.d ../../clib/rf_receive_esa.c -o ../../clib/rf_receive_esa.o
Compiling C: ../../clib/rf_receive_hms.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_receive_hms.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_hms.o.d ../../clib/rf_receive_hms.c -o ../../clib/rf_receive_hms.o
Compiling C: ../../clib/rf_native.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_native.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_native.o.d ../../clib/rf_native.c -o ../../clib/rf_native.o
Compiling C: ../../clib/lacrosse.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/lacrosse.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/lacrosse.o.d ../../clib/lacrosse.c -o ../../clib/lacrosse.o
Compiling C: ../../clib/helper.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/helper.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/helper.o.d ../../clib/helper.c -o ../../clib/helper.o
Compiling C: ../../clib/rf_asksin.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_asksin.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_asksin.o.d ../../clib/rf_asksin.c -o ../../clib/rf_asksin.o
Compiling C: ../../clib/rf_moritz.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_moritz.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_moritz.o.d ../../clib/rf_moritz.c -o ../../clib/rf_moritz.o
Compiling C: ../../clib/rf_rwe.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_rwe.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_rwe.o.d ../../clib/rf_rwe.c -o ../../clib/rf_rwe.o
Compiling C: ../../clib/somfy_rts.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/somfy_rts.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/somfy_rts.o.d ../../clib/somfy_rts.c -o ../../clib/somfy_rts.o
Compiling C: ../../clib/fastrf.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/fastrf.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/fastrf.o.d ../../clib/fastrf.c -o ../../clib/fastrf.o
Compiling C: ../../clib/rf_zwave.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_zwave.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_zwave.o.d ../../clib/rf_zwave.c -o ../../clib/rf_zwave.o
Compiling C: ../../clib/intertechno.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/intertechno.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/intertechno.o.d ../../clib/intertechno.c -o ../../clib/intertechno.o
Compiling C: ../../clib/kopp-fc.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/kopp-fc.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/kopp-fc.o.d ../../clib/kopp-fc.c -o ../../clib/kopp-fc.o
Compiling C: ../../clib/memory.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/memory.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/memory.o.d ../../clib/memory.c -o ../../clib/memory.o
Compiling C: ../../clib/serial.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/serial.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/serial.o.d ../../clib/serial.c -o ../../clib/serial.o
Compiling C: ../../clib/ttydata.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/ttydata.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/ttydata.o.d ../../clib/ttydata.c -o ../../clib/ttydata.o
Compiling C: ../../clib/spi.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/spi.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/spi.o.d ../../clib/spi.c -o ../../clib/spi.o
Compiling C: ../../clib/rf_mbus.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/rf_mbus.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_mbus.o.d ../../clib/rf_mbus.c -o ../../clib/rf_mbus.o
Compiling C: ../../clib/mbus/manchester.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/mbus/manchester.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/manchester.o.d ../../clib/mbus/manchester.c -o ../../clib/mbus/manchester.o
Compiling C: ../../clib/mbus/3outof6.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/mbus/3outof6.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/3outof6.o.d ../../clib/mbus/3outof6.c -o ../../clib/mbus/3outof6.o
Compiling C: ../../clib/mbus/mbus_packet.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/mbus/mbus_packet.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/mbus_packet.o.d ../../clib/mbus/mbus_packet.c -o ../../clib/mbus/mbus_packet.o
Compiling C: ../../clib/mbus/crc.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL868 -Wa,-adhlns=./../../clib/mbus/crc.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/crc.o.d ../../clib/mbus/crc.c -o ../../clib/mbus/crc.o
Linking: nanoCUL868.elf
Creating load file for Flash: nanoCUL868.hex
Creating load file for EEPROM: nanoCUL868.eep
Creating Extended Listing: nanoCUL868.lss
Creating Symbol Table: nanoCUL868.sym

Size after:
AVR Memory Usage
----------------
Device: atmega328p

Program:   10440 bytes (31.9% Full)
(.text + .data + .bootloader)

Data:       1726 bytes (84.3% Full)
(.data + .bss + .noinit)



PROGRAM_SIZE_PLUS_BL: 12488, FLASH_SIZE: 32768

make[1]: Verzeichnis „/home/fritz/Dokumente/Haus_und_Grund/fhem/culfw/a-culfw-WMBus/culfw/Devices/nanoCUL“ wird verlassen
make TARGET=nanoCUL433 mostly_clean sizebefore build sizeafter
make[1]: Verzeichnis „/home/fritz/Dokumente/Haus_und_Grund/fhem/culfw/a-culfw-WMBus/culfw/Devices/nanoCUL“ wird betreten
Cleaning project:
Compiling C: nanoCUL.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./nanoCUL.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/nanoCUL.o.d nanoCUL.c -o nanoCUL.o
Compiling C: ../../clib/cc1100.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/cc1100.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/cc1100.o.d ../../clib/cc1100.c -o ../../clib/cc1100.o
Compiling C: ../../clib/cc1101_pllcheck.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/cc1101_pllcheck.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/cc1101_pllcheck.o.d ../../clib/cc1101_pllcheck.c -o ../../clib/cc1101_pllcheck.o
Compiling C: ../../clib/clock.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/clock.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/clock.o.d ../../clib/clock.c -o ../../clib/clock.o
Compiling C: ../../clib/belfox.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/belfox.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/belfox.o.d ../../clib/belfox.c -o ../../clib/belfox.o
Compiling C: ../../clib/delay.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/delay.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/delay.o.d ../../clib/delay.c -o ../../clib/delay.o
Compiling C: ../../clib/display.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/display.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/display.o.d ../../clib/display.c -o ../../clib/display.o
Compiling C: ../../clib/stringfunc.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/stringfunc.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/stringfunc.o.d ../../clib/stringfunc.c -o ../../clib/stringfunc.o
Compiling C: ../../clib/fncollection.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/fncollection.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/fncollection.o.d ../../clib/fncollection.c -o ../../clib/fncollection.o
Compiling C: ../../clib/fband.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/fband.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/fband.o.d ../../clib/fband.c -o ../../clib/fband.o
Compiling C: ../../clib/ringbuffer.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/ringbuffer.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/ringbuffer.o.d ../../clib/ringbuffer.c -o ../../clib/ringbuffer.o
Compiling C: ../../clib/fht.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/fht.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/fht.o.d ../../clib/fht.c -o ../../clib/fht.o
Compiling C: ../../clib/rf_send.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_send.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_send.o.d ../../clib/rf_send.c -o ../../clib/rf_send.o
Compiling C: ../../clib/rf_receive.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_receive.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive.o.d ../../clib/rf_receive.c -o ../../clib/rf_receive.o
Compiling C: ../../clib/rf_receive_bucket.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_receive_bucket.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_bucket.o.d ../../clib/rf_receive_bucket.c -o ../../clib/rf_receive_bucket.o
Compiling C: ../../clib/rf_receive_tcm97001.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_receive_tcm97001.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_tcm97001.o.d ../../clib/rf_receive_tcm97001.c -o ../../clib/rf_receive_tcm97001.o
Compiling C: ../../clib/rf_receive_it.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_receive_it.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_it.o.d ../../clib/rf_receive_it.c -o ../../clib/rf_receive_it.o
Compiling C: ../../clib/rf_receive_tx3.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_receive_tx3.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_tx3.o.d ../../clib/rf_receive_tx3.c -o ../../clib/rf_receive_tx3.o
Compiling C: ../../clib/rf_receive_revolt.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_receive_revolt.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_revolt.o.d ../../clib/rf_receive_revolt.c -o ../../clib/rf_receive_revolt.o
Compiling C: ../../clib/rf_receive_esa.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_receive_esa.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_esa.o.d ../../clib/rf_receive_esa.c -o ../../clib/rf_receive_esa.o
Compiling C: ../../clib/rf_receive_hms.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_receive_hms.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_receive_hms.o.d ../../clib/rf_receive_hms.c -o ../../clib/rf_receive_hms.o
Compiling C: ../../clib/rf_native.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_native.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_native.o.d ../../clib/rf_native.c -o ../../clib/rf_native.o
Compiling C: ../../clib/lacrosse.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/lacrosse.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/lacrosse.o.d ../../clib/lacrosse.c -o ../../clib/lacrosse.o
Compiling C: ../../clib/helper.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/helper.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/helper.o.d ../../clib/helper.c -o ../../clib/helper.o
Compiling C: ../../clib/rf_asksin.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_asksin.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_asksin.o.d ../../clib/rf_asksin.c -o ../../clib/rf_asksin.o
Compiling C: ../../clib/rf_moritz.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_moritz.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_moritz.o.d ../../clib/rf_moritz.c -o ../../clib/rf_moritz.o
Compiling C: ../../clib/rf_rwe.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_rwe.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_rwe.o.d ../../clib/rf_rwe.c -o ../../clib/rf_rwe.o
Compiling C: ../../clib/somfy_rts.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/somfy_rts.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/somfy_rts.o.d ../../clib/somfy_rts.c -o ../../clib/somfy_rts.o
Compiling C: ../../clib/fastrf.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/fastrf.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/fastrf.o.d ../../clib/fastrf.c -o ../../clib/fastrf.o
Compiling C: ../../clib/rf_zwave.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_zwave.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_zwave.o.d ../../clib/rf_zwave.c -o ../../clib/rf_zwave.o
Compiling C: ../../clib/intertechno.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/intertechno.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/intertechno.o.d ../../clib/intertechno.c -o ../../clib/intertechno.o
Compiling C: ../../clib/kopp-fc.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/kopp-fc.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/kopp-fc.o.d ../../clib/kopp-fc.c -o ../../clib/kopp-fc.o
Compiling C: ../../clib/memory.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/memory.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/memory.o.d ../../clib/memory.c -o ../../clib/memory.o
Compiling C: ../../clib/serial.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/serial.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/serial.o.d ../../clib/serial.c -o ../../clib/serial.o
Compiling C: ../../clib/ttydata.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/ttydata.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/ttydata.o.d ../../clib/ttydata.c -o ../../clib/ttydata.o
Compiling C: ../../clib/spi.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/spi.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/spi.o.d ../../clib/spi.c -o ../../clib/spi.o
Compiling C: ../../clib/rf_mbus.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/rf_mbus.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/rf_mbus.o.d ../../clib/rf_mbus.c -o ../../clib/rf_mbus.o
Compiling C: ../../clib/mbus/manchester.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/mbus/manchester.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/manchester.o.d ../../clib/mbus/manchester.c -o ../../clib/mbus/manchester.o
Compiling C: ../../clib/mbus/3outof6.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/mbus/3outof6.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/3outof6.o.d ../../clib/mbus/3outof6.c -o ../../clib/mbus/3outof6.o
Compiling C: ../../clib/mbus/mbus_packet.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/mbus/mbus_packet.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/mbus_packet.o.d ../../clib/mbus/mbus_packet.c -o ../../clib/mbus/mbus_packet.o
Compiling C: ../../clib/mbus/crc.c
avr-gcc -c -mmcu=atmega328p -I. -gdwarf-2 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -finline-limit=20 -Wall -Wstrict-prototypes -Wundef -DnanoCUL433 -Wa,-adhlns=./../../clib/mbus/crc.lst -I../../clib -std=gnu99 -mcall-prologues -DF_CPU=8000000UL -MMD -MP -MF .dep/crc.o.d ../../clib/mbus/crc.c -o ../../clib/mbus/crc.o
Linking: nanoCUL433.elf
Creating load file for Flash: nanoCUL433.hex
Creating load file for EEPROM: nanoCUL433.eep
Creating Extended Listing: nanoCUL433.lss
Creating Symbol Table: nanoCUL433.sym

Size after:
AVR Memory Usage
----------------
Device: atmega328p

Program:   10440 bytes (31.9% Full)
(.text + .data + .bootloader)

Data:       1726 bytes (84.3% Full)
(.data + .bss + .noinit)



PROGRAM_SIZE_PLUS_BL: 12488, FLASH_SIZE: 32768

Auch das flashen scheint io.

make TARGET=nanoCUL868 program
make[1]: Verzeichnis „/home/fritz/Dokumente/Haus_und_Grund/fhem/culfw/a-culfw-WMBus/culfw/Devices/nanoCUL“ wird betreten
Linking: nanoCUL868.elf
Creating load file for Flash: nanoCUL868.hex
#@if test ! -d /sys/class/gpio/gpio17; then echo 17 > /sys/class/gpio/export; fi
#@if test ! -d /sys/class/gpio/gpio18; then echo 18 > /sys/class/gpio/export; fi
#echo out > /sys/class/gpio/gpio17/direction
#echo out > /sys/class/gpio/gpio18/direction
#echo 0 > /sys/class/gpio/gpio17/value
#echo 0 > /sys/class/gpio/gpio18/value
#sleep 1
#echo 1 > /sys/class/gpio/gpio17/value
#sleep 1
#echo 1 > /sys/class/gpio/gpio18/value
avrdude -D -p atmega328p -P /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A600TNDN-if00-port0 -b 57600 -c arduino    -U flash:w:nanoCUL868.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "nanoCUL868.hex"
avrdude: input file nanoCUL868.hex auto detected as Intel Hex
avrdude: writing flash (10440 bytes):

Writing | ################################################## | 100% 5.25s

avrdude: 10440 bytes of flash written
avrdude: verifying flash memory against nanoCUL868.hex:
avrdude: load data flash data from input file nanoCUL868.hex:
avrdude: input file nanoCUL868.hex auto detected as Intel Hex
avrdude: input file nanoCUL868.hex contains 10440 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 4.43s

avrdude: verifying ...
avrdude: 10440 bytes of flash verified

avrdude: safemode: Fuses OK (E:00, H:00, L:00)

avrdude done.  Thank you.

Allerdings kriege ich den nanoCUL nicht auf den state Initialized, der nano bleibt immer auf openend.

Auch mehrmaliges ab- anstecken und set reopen führt nicht zum state Initialized.

Hier noch ein list vom nano

Internals:
   CFGFN     
   CMDS       
   Clients    :WMBUS:HMS:CUL_IR:STACKABLE_CC:TSSTACKED:STACKABLE:
   DEF        /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A600TNDN-if00-port0@38400 4444
   DeviceName /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A600TNDN-if00-port0@38400
   FHTID      4444
   FUUID      5d826cb4-f33f-7a30-131a-4e2a1c924cf43a71
   NAME       nanoCULWMBus868
   NR         3656
   STATE      opened
   TYPE       CUL
   initString X21
brt
   MatchList:
     8:HMS      ^810e04....(1|5|9).a001
     D:CUL_IR   ^I............
     H:STACKABLE_CC ^\*
     J:WMBUS    ^b.*
     M:TSSTACKED ^\*
     N:STACKABLE ^\*
   READINGS:
     2019-09-18 19:48:55   state           opened
Attributes:
   model      nanoCUL
   rfmode     WMBus_T
   room       System

Vieleicht liest ja der Ersteller des FORKS hier mit und hat noch einen Tipp für mich.

Achja, die "normale" culfw lässt sich flashen und läuft dann auch, allerdings dann mit dem Speicherproblem. Also gehe ich davon aus, das der CUL io ist.

Grüße Fritz
« Letzte Änderung: 18 September 2019, 22:49:13 von Fritz Muster »
RasPi 3B+, Stretch, Fhem 5.9, DBlog SQLite
HMLAN, Jeelink Clone, nanoCUL/MAX, SIGNALduino 433&868, ArduCounter
HM Sensoren/Aktoren ,Technoline TX 29 DTH-IT, TFA 30.3155WD, MAX!
Hour Counter, Astro, EletricityCounter, Statistics, Charting Frontend, TabletUI, Modbus

Offline sebbi2103

  • Newbie
  • Beiträge: 1
Antw:Wireless M-Bus für CUL
« Antwort #784 am: 24 September 2019, 13:20:30 »
Hallo,

leider habe ich nichts in der Suche unter "M-Bus CUL gleichzeitig" bzw. "mehrere" oder "parallel" gefunden, daher versuche ich es mal in diesem Thread.
Ich betreibe einen busware CUL v3 mit der Firmware 1.67 und lese damit den aktuellen Stromverbrauch sowie den Zählerstand meines Stromzählers von eBZ per wireless M-Bus aus. Nun bieten mir die Stadtwerke einen Gaszähler an, der auch wireless M-Bus kann.
Frage: Kann ich die Nachrichten beider Geräte gleichzeitig mit dem CUL empfangen?

Besten Dank!

Offline kaihs

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1056
Antw:Wireless M-Bus für CUL
« Antwort #785 am: 24 September 2019, 19:46:41 »
Ja, solange alle den selben Sendemodus (T, S oder C) verwenden.
Man könnte zwar den Empfangsmodus regelmäßig umschalten aber das wäre eher ein Notbehelf.
Banana Pi, Add-On Board mit 1.8" TFT LCD und IR-Sender, FHEM V5.9, CULFW V1.61, div. Homematic Komponenten, Pollin Funksteckdosen, Selbstbau CUL433 MHz, Jeelink Clone, EC3000
Selbstbau CUL868MHz für Wireless M-Bus, FHEMduino mit Logilink Temp.-sensoren und Auriol Wetterstation

Offline matthias soll

  • Full Member
  • ***
  • Beiträge: 184
Antw:Wireless M-Bus für CUL
« Antwort #786 am: 27 September 2019, 20:26:52 »
Hallo zusammen,

ich habe hier 2 techem radio 3 zähler von 2016 die ich auslesen möchte.
Erst habe ich eien maplecun versucht und das M-Bus modul auch eine Nacht im listenig... durchlsufen lassen ... ohen Erfolg
Jetzt habe ich einen Selbstbau CUL umgeflasht damit er im WMBus_T läuft auch ohne Erfolg.
Kann es sein, dass die zählerbatterie leer ist und die gar nichts mehr senden?
Oder hat noch jemand einen Tipp?

Offline Fritz Muster

  • Full Member
  • ***
  • Beiträge: 198
Antw:Wireless M-Bus für CUL
« Antwort #787 am: 30 September 2019, 14:23:29 »
Hallo in die Runde,

ich benötige etwas HIlfe zur Selbsthilfe. Ich habe einen Wärmemengezähler mit optionalen WMBus Modul. Der Hersteller hat mir die Protokollbeschreibung zur Verfügung gestellt mit der Bitte um Vertraulichkeit. Daher möchte ich nun versuchen das Protokoll selbst zu implementieren. Und genau dazu benötige ich Unterstützung. Zunächst einmal  ein raw

2019.09.30 19:19:35 bBE44XXXXXXXXXXXX00046A688C2008900F002C25B52A0000FD4D52A6F07FC371B7C345C3C82C57E0DF153544FBFF4F27D8C0680419B913A7B63A3890247B1A34A1BCDE6549859C7A02C8F9F3858485135729F2733240546EC42A7E1543CAC0A1B7C345C3C82C57E0DF153544FBFF4F27D8C0680419B913A7B63A3890247B1A3D40A8C6FE7E2D87B20AE365F1B690022D09333E99C6D6B53DC312C747A55185C9218F50ADA552904EF7BDA8E18C3C4B986BD6BEE7BFE866FC0D692C34E3CDB85BD19A47D5A5236C4A355603FD0C050000172E02FD0B31119D8A81
Herstellerangabe und Seriennummer sind "ge ixt". Der Zählerstand war zu dem Zeitpunkt 0,328 MWh(Gesamtmenge) und 59,935m³ Durchfluss (Gesamtmenge)

In der Protokollbeschreibung steht z.B.

Length    FunctionDIF(+E)VIF(+E)data typeencrypted
6Current Date/ Time 04h6Dh32-bit type Fyes
6 or 7 Energy (current)
Heatmeter:
Heatenergy
Coldmeter:
Coldenergy
Heat-/Coldmeter:
Heatenergy
04h05h (0.1 kWh)
06h (0.001 MWh)
0Eh (0.001 GJ)
86h,3Dh (0.001
MMBTU)
FBh,0Dh (0.001 Gcal)   
32-bit type Cyes
6total volume (current)04h13h (0.001 m³)32-bit type Cyes
4error code01hFDh,17h8-bit type Dyes
4date (last billing date)42h6Ch16-bit type Gyes
6 or 7 Energy (last billing date)    44h05h (0.1 kWh)
06h (0.001 MWh)
0Eh (0.001 GJ)
86h,3Dh (0.001
MMBTU)
FBh,0Dh (0.001 Gcal)
32-bit type Cyes
7 or 8Energy (month value 1) 84h/C4h,01h    05h (0.1 kWh)
06h (0.001 MWh)
0Eh (0.001 GJ)
86h,3Dh (0.001
MMBTU)
FBh,0Dh (0.001 Gcal)
32-bit type C      yes




Meine Frage ist nun, wie muss ich vorgehen um das Protokoll bei mir zu integrieren?

Danke und Grüße.
Fritz
« Letzte Änderung: 30 September 2019, 20:45:27 von Fritz Muster »
RasPi 3B+, Stretch, Fhem 5.9, DBlog SQLite
HMLAN, Jeelink Clone, nanoCUL/MAX, SIGNALduino 433&868, ArduCounter
HM Sensoren/Aktoren ,Technoline TX 29 DTH-IT, TFA 30.3155WD, MAX!
Hour Counter, Astro, EletricityCounter, Statistics, Charting Frontend, TabletUI, Modbus

Offline lvogt

  • New Member
  • *
  • Beiträge: 3
Antw:Wireless M-Bus für CUL
« Antwort #788 am: 02 Oktober 2019, 09:10:20 »
Das entspricht hauptsächlich der ganz normalen M-Bus Spezifikation was du da postest. http://www.m-bus.com/files/MBDOC48.PDF und http://www.m-bus.com/files/w4b21021.pdf

Allerdings wirkt es auf mich so, als ob dein Telegramm nicht korrekt wäre - es tauchen CRC Fehler auf - vl würde es ohne CRC Fehler einfach ohne Änderung gelesen werden...
Außerdem: Hast du den AES Schlüssel? Bzw. oder ist es nicht verschlüsselt (der Header sagt eigentlich nein)?

Und mich würde doch interessieren welcher Hersteller dir hier vertraulich frei zugängliche Informationen gegeben hat... - zumindest wenn das alles ist, was man dir an die Hand gegeben hat.

(Kleiner Hinweis an Rande: Oft steht der Telegramm Aufbau auch im Handbuch, wenn er sich - zumindest zum Großteil - an die M-Bus Spezifikation hält...)
Hilfreich Hilfreich x 1 Liste anzeigen

Offline Fritz Muster

  • Full Member
  • ***
  • Beiträge: 198
Antw:Wireless M-Bus für CUL
« Antwort #789 am: 02 Oktober 2019, 11:21:54 »
Das entspricht hauptsächlich der ganz normalen M-Bus Spezifikation was du da postest. http://www.m-bus.com/files/MBDOC48.PDF und http://www.m-bus.com/files/w4b21021.pdf

Danke, das hilft mir schonmal weiter!

Allerdings wirkt es auf mich so, als ob dein Telegramm nicht korrekt wäre - es tauchen CRC Fehler auf

Woran kann ich erkenen das CRC Fehler auftreten? Im Log steht nichts von CRC Fehler. Allerdings steht bei mir im Log

Error during ApplicationLayer parse:Unsupported CI Field 30, remaining payload is
Außerdem: Hast du den AES Schlüssel?

Der WMZ sendet verschlüsselt. Schlüssel habe ich im Device eingetragen. 

zumindest wenn das alles ist, was man dir an die Hand gegeben hat.

Der Hersteller hat mir ein 40 seitiges pdf gesendet. Ich werde mal versuchen das mit den M-Bus Spezifikationen abzugleichen

(Kleiner Hinweis an Rande: Oft steht der Telegramm Aufbau auch im Handbuch, wenn er sich - zumindest zum Großteil - an die M-Bus Spezifikation hält...)

Das Handbuch vom WMBus Modul ist ein 2-seitiger Beileger zum eigentlichen WMZ Handbuch. Enthalten sind dort Infos zu Montage und allgemeine Modulinfos wie einstellbare WMBUS Parameter.

VG Fritz
RasPi 3B+, Stretch, Fhem 5.9, DBlog SQLite
HMLAN, Jeelink Clone, nanoCUL/MAX, SIGNALduino 433&868, ArduCounter
HM Sensoren/Aktoren ,Technoline TX 29 DTH-IT, TFA 30.3155WD, MAX!
Hour Counter, Astro, EletricityCounter, Statistics, Charting Frontend, TabletUI, Modbus

Offline lvogt

  • New Member
  • *
  • Beiträge: 3
Antw:Wireless M-Bus für CUL
« Antwort #790 am: 02 Oktober 2019, 11:40:18 »
Danke, das hilft mir schonmal weiter!

Woran kann ich erkenen das CRC Fehler auftreten? Im Log steht nichts von CRC Fehler. Allerdings steht bei mir im Log

Error during ApplicationLayer parse:Unsupported CI Field 30, remaining payload is

Okay, dann habe ich vermutlich einen Fehler gemacht, als ich versuchte habe ein vollständiges Telegramm zu rekonstruieren...

Der Fehler in deinem Log gibt dir eigentlich schon die Stelle an, an der anfangen musst, um die Unterstützung einzubauen. Das Modul weiß nicht welche Datenstruktur das CI Feld 0x30 definiert, da es nicht Teil der Spezifikation ist. Das müsstest du irgendwo in "sub decodeApplicationLayer" in WMBUS.pm ergänzen.

Viel weiter kann ich dir nicht helfen - von FHEM und Perl habe ich kaum Ahnung, ich wollte nur dein Telegramm mit meinem ioBroker Modul ausprobieren...
Hilfreich Hilfreich x 1 Liste anzeigen

Offline sportie

  • Newbie
  • Beiträge: 1
Antw:Wireless M-Bus für CUL
« Antwort #791 am: 09 Oktober 2019, 13:38:49 »
Hallo in die Runde,

ich habe wie vorher von anderen erwähnt auch folgenden Zähler mit WMBUS

Hier die Zählerdaten:

Diehl Metering
Hydrus
Type 171A
868, OMS
R160
MAP 16
class 2
T30, IP68

Und auch das Problem das der Versorger den Schlüssel nicht rausrückt.

Gibt es hier eine Lösung mitlerweile um diesen per Bruteforce oder der gleichen zu erfahren.

Vielen dank für das was kommen mag.

Grüße sportie

Offline noby

  • New Member
  • *
  • Beiträge: 3
Antw:Wireless M-Bus für CUL
« Antwort #792 am: 10 Oktober 2019, 17:49:01 »
Hallo zusammen,

empfange mit meinem Cul868 mit WMBus_T insgesamt 20 verschiedene Protokolle.
Habe in der Wohnung 2x Warm- und 2x Kaltwasserzähler von Sontex Supercom 581 und einen Wärmemengenzähler mit Sontex Supercal 739.

Wäre Euch sehr dankbar, wenn Ihr mir mit dem Auslesen der Werte helfen könntet.

Auszug:
2019.10.07 18:20:54 2: autocreate: define WMBUS_TCH_03422655_105_128 WMBUS b32446850552642036980AFF5A0113E27EE0070340000CE06BA06000047DA0000000000000000000000000100040598F10055202C093A000000FCC582::-87.5
2019.10.07 18:20:54 2: autocreate: define FileLog_WMBUS_TCH_03422655_105_128 FileLog ./log/WMBUS_TCH_03422655_105_128-%Y.log WMBUS_TCH_03422655_105_128
2019.10.07 18:20:56 2: autocreate: define WMBUS_TCH_03802000_112_98 WMBUS b2E446850002080037062F11BA0003E270600703400000000000001002AC100000000000000000000000000000000FFFF0000000000FFFF81::-82
2019.10.07 18:20:56 2: autocreate: define FileLog_WMBUS_TCH_03802000_112_98 FileLog ./log/WMBUS_TCH_03802000_112_98-%Y.log WMBUS_TCH_03802000_112_98
2019.10.07 18:20:56 2: autocreate: define WMBUS_TCH_03801977_112_114 WMBUS b2E4468507719800370721351A0003E27AA00703401000001020202023460030202030201050304030201010203044DD80201020401C6588B::-95
2019.10.07 18:20:56 2: autocreate: define FileLog_WMBUS_TCH_03801977_112_114 FileLog ./log/WMBUS_TCH_03801977_112_114-%Y.log WMBUS_TCH_03801977_112_114
2019.10.07 18:20:57 2: autocreate: define WMBUS_TCH_03362370_105_128 WMBUS b324468507023360369809499A0113E270E0070340000ED05C0050000EBBE00000000000000000000000000000001C29A0001000700050000009B8983::-83.5
2019.10.07 18:20:57 2: autocreate: define FileLog_WMBUS_TCH_03362370_105_128 FileLog ./log/WMBUS_TCH_03362370_105_128-%Y.log WMBUS_TCH_03362370_105_128
2019.10.07 18:20:59 2: autocreate: define WMBUS_TCH_03422581_105_128 WMBUS b32446850812542036980AC60A0113E270000703400005E075707000047D500000000000000000000000000000000FFFF000000000000000000FFFF82::-92.5
2019.10.07 18:20:59 2: autocreate: define FileLog_WMBUS_TCH_03422581_105_128 FileLog ./log/WMBUS_TCH_03422581_105_128-%Y.log WMBUS_TCH_03422581_105_128
2019.10.07 18:20:59 2: autocreate: define WMBUS_TCH_03422634_105_128 WMBUS b32446850342642036980F5ABA0113E270000703400000F08250800004EB700000000000000000000000000000000FFFF000000000000000000FFFF82::-90
2019.10.07 18:20:59 2: autocreate: define FileLog_WMBUS_TCH_03422634_105_128 FileLog ./log/WMBUS_TCH_03422634_105_128-%Y.log WMBUS_TCH_03422634_105_128
2019.10.07 18:21:02 2: autocreate: define WMBUS_TCH_03422595_105_128 WMBUS b32446850952542036980D6B6A0113E270C00703400009E0884080000C3D700000000000000000000000000000000FFFF0005070000000000009B6680::-80.5
2019.10.07 18:21:02 2: autocreate: define FileLog_WMBUS_TCH_03422595_105_128 FileLog ./log/WMBUS_TCH_03422595_105_128-%Y.log WMBUS_TCH_03422595_105_128
2019.10.07 18:21:02 2: autocreate: define WMBUS_TCH_03422582_105_128 WMBUS b32446850822542036980D39DA0113E27000070340000CB06D40600008A1900000000000000000000000000000000FFFF000000000000000000FFFF82::-87
2019.10.07 18:21:02 2: autocreate: define FileLog_WMBUS_TCH_03422582_105_128 FileLog ./log/WMBUS_TCH_03422582_105_128-%Y.log WMBUS_TCH_03422582_105_128
2019.10.07 18:21:04 2: autocreate: define WMBUS_TCH_03422562_105_128 WMBUS b32446850622542036980AFE6A0113E27000070340000BE0670060000852900000000000000000000000000000000FFFF000000000000000000FFFF82::-89.5
2019.10.07 18:21:04 2: autocreate: define FileLog_WMBUS_TCH_03422562_105_128 FileLog ./log/WMBUS_TCH_03422562_105_128-%Y.log WMBUS_TCH_03422562_105_128
2019.10.07 18:21:04 2: autocreate: define WMBUS_TCH_03422626_105_128 WMBUS b324468502626420369807087A0113E2747027034000048074B07000062460000000003071A05116A490C0F0409187EC5000E614838200B0000A56D86::-94.5
2019.10.07 18:21:04 2: autocreate: define FileLog_WMBUS_TCH_03422626_105_128 FileLog ./log/WMBUS_TCH_03422626_105_128-%Y.log WMBUS_TCH_03422626_105_128
2019.10.07 18:21:07 2: autocreate: define WMBUS_TCH_03802004_112_114 WMBUS b2E446850042080037072216BA0003E276100703400000000010101011ACB0101010101010201010200010101010204300001010100D5BD87::-90.5
2019.10.07 18:21:07 2: autocreate: define FileLog_WMBUS_TCH_03802004_112_114 FileLog ./log/WMBUS_TCH_03802004_112_114-%Y.log WMBUS_TCH_03802004_112_114
2019.10.07 18:21:27 2: WMBUS WMBUS_TCH_03422655_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e27ee0070340000ce06ba060000000000000000000000000000010004050055202c093a000000
2019.10.07 18:21:28 2: WMBUS WMBUS_TCH_03362370_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e270e0070340000ea05bf05000000000000000000000000000000000001000100070005000000
2019.10.07 18:21:30 2: WMBUS WMBUS_TCH_03802000_112_98 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 003e27060070340000000000000100000000000000000000000000000000000000000000
2019.10.07 18:21:32 2: WMBUS WMBUS_TCH_03422581_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e2700007034000061075907000000000000000000000000000000000000000000000000000000
2019.10.07 18:21:32 2: WMBUS WMBUS_TCH_03422634_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e2700007034000013082608000000000000000000000000000000000000000000000000000000
2019.10.07 18:21:34 2: WMBUS WMBUS_TCH_03422626_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e2747027034000048074b0700000000000003071a05116a490c0f040918000e614838200b0000
2019.10.07 18:21:35 2: autocreate: define WMBUS_TCH_03362365_105_128 WMBUS b324468506523360369802FC7A0113E270000703400000407FB060000827400000000000000000000000000000000FFFF000000000000000000FFFF83::-86
2019.10.07 18:21:35 2: autocreate: define FileLog_WMBUS_TCH_03362365_105_128 FileLog ./log/WMBUS_TCH_03362365_105_128-%Y.log WMBUS_TCH_03362365_105_128
2019.10.07 18:21:36 2: WMBUS WMBUS_TCH_03422582_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e27000070340000cb06d406000000000000000000000000000000000000000000000000000000
2019.10.07 18:21:38 2: WMBUS WMBUS_TCH_03802004_112_114 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 003e27610070340000000001010101010101010101020101020001010101020001010100
2019.10.07 18:21:39 2: autocreate: define WMBUS_TCH_03422596_105_128 WMBUS b32446850962542036980A94BA0113E27000070340000A708A608000006A500000000000000000000000000000000FFFF000000000000000000FFFF85::-94.5
2019.10.07 18:21:39 2: autocreate: define FileLog_WMBUS_TCH_03422596_105_128 FileLog ./log/WMBUS_TCH_03422596_105_128-%Y.log WMBUS_TCH_03422596_105_128
2019.10.07 18:21:42 2: WMBUS WMBUS_TCH_03422562_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e27000070340000be067006000000000000000000000000000000000000000000000000000000
2019.10.07 18:21:54 2: autocreate: define WMBUS_TCH_03422585_105_128 WMBUS b32446850852542036980EDEFA0113E27C40570340000A50897080000A4D1000000000000000000000000003E61448B398BB2B7B7B0B167511D907F82::-90
2019.10.07 18:21:54 2: autocreate: define FileLog_WMBUS_TCH_03422585_105_128 FileLog ./log/WMBUS_TCH_03422585_105_128-%Y.log WMBUS_TCH_03422585_105_128
2019.10.07 18:22:03 2: WMBUS WMBUS_TCH_03802000_112_98 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 003e27060070340000000000000100000000000000000000000000000000000000000000
2019.10.07 18:22:05 2: WMBUS WMBUS_TCH_03422655_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e27ee0070340000ce06ba060000000000000000000000000000010004050055202c093a000000
2019.10.07 18:22:05 2: WMBUS WMBUS_TCH_03422595_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e270c00703400009e088508000000000000000000000000000000000000000507000000000000
2019.10.07 18:22:06 2: WMBUS WMBUS_TCH_03801977_112_114 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 003e27aa0070340100000102020202030202030201050304030201010203040201020401
2019.10.07 18:22:10 2: WMBUS WMBUS_TCH_03422581_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e2700007034000061075907000000000000000000000000000000000000000000000000000000
2019.10.07 18:22:10 2: WMBUS WMBUS_TCH_03422634_105_128 Error during ApplicationLayer parse:Unsupported CI Field a0, remaining payload is 113e2700007034000013082608000000000000000000000000000000000000000000000000000000
« Letzte Änderung: 11 Oktober 2019, 21:09:32 von noby »

Offline kaihs

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1056
Antw:Wireless M-Bus für CUL
« Antwort #793 am: 10 Oktober 2019, 20:44:09 »
Gibt es hier eine Lösung mitlerweile um diesen per Bruteforce oder der gleichen zu erfahren.

Kurzform: Nein
Langform: es handelt sich um eine AES-128 Verschlüsselung. Da aktuell kein praktikabler Angriff bekannt ist müsste man 2^128 Schlüssel durchprobieren.
Wenn man tausend Schlüssel pro Sekunde schafft dauert das 10^28 Jahre.
Banana Pi, Add-On Board mit 1.8" TFT LCD und IR-Sender, FHEM V5.9, CULFW V1.61, div. Homematic Komponenten, Pollin Funksteckdosen, Selbstbau CUL433 MHz, Jeelink Clone, EC3000
Selbstbau CUL868MHz für Wireless M-Bus, FHEMduino mit Logilink Temp.-sensoren und Auriol Wetterstation

Offline kaihs

  • Developer
  • Hero Member
  • ****
  • Beiträge: 1056
Antw:Wireless M-Bus für CUL
« Antwort #794 am: 10 Oktober 2019, 20:47:48 »
Hallo zusammen,

empfange mit meinem Cul868 mit WMBus_T insgesamt 20 verschiedene Protokolle.
Habe in der Wohnung Wam-und Kaltwasserzähler von Sontex Supercom 581 mit und einen Wärmemengenzähler mit Sontex Supercal 739.

Wäre Euch sehr dankbar, wenn Ihr mir mit dem Auslesen der Werte helfen könntet.

Auszug:
2019.10.07 18:20:54 2: autocreate: define WMBUS_TCH_03422655_105_128 WMBUS

Das sind alles Daten von Techem (TCH) Geräten. Die senden keine OMS konformen Daten.
Evtl. helfen die Module TechemHKV oder TechemWZ weiter.
Banana Pi, Add-On Board mit 1.8" TFT LCD und IR-Sender, FHEM V5.9, CULFW V1.61, div. Homematic Komponenten, Pollin Funksteckdosen, Selbstbau CUL433 MHz, Jeelink Clone, EC3000
Selbstbau CUL868MHz für Wireless M-Bus, FHEMduino mit Logilink Temp.-sensoren und Auriol Wetterstation

 

decade-submarginal