Follow the steps listed in this thread:
https://groups.google.com/forum/m/#!topic/weewx-user/Jrf58FlrbbI
Be sure weewx is not running, then check transceiver, then pair, and so on.
m
root@bruezpi:/home/weewx/bin# ./wee_config_ws28xx --check-transceiver
Using configuration file /home/weewx/weewx.conf
Driver version 0.32
Checking for transceiver...
Transceiver is present
serial: 01021801130107
id: 263 (0x0107)
root@bruezpi:/home/weewx/bin# ./wee_config_ws28xx --pair
Using configuration file /home/weewx/weewx.conf
Driver version 0.32
Pairing transceiver with console...
Press and hold the [v] key until "PC" appears (attempt 1 of 3)
Press and hold the [v] key until "PC" appears (attempt 2 of 3)
Transceiver is paired to console
root@bruezpi:/home/weewx/bin# ./wee_config_ws28xx --info
Using configuration file /home/weewx/weewx.conf
Driver version 0.32
Querying the station for the configuration...
No data after 30 seconds (press SET to sync)
No data after 60 seconds (press SET to sync)
root@bruezpi:/home/weewx/bin#
pi@bruezpi ~ $ dmesg | tail -n 60
[ 2.123178] sdhci: Copyright(c) Pierre Ossman
[ 2.131765] sdhci: Enable low-latency mode
[ 2.186097] mmc0: SDHCI controller on BCM2708_Arasan [platform] using platform's DMA
[ 2.198372] mmc0: BCM2708 SDHC host at 0x20300000 DMA 2 IRQ 77
[ 2.208878] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.221032] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.238926] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.249083] usbcore: registered new interface driver usbhid
[ 2.261362] Indeed it is in host mode hprt0 = 00021501
[ 2.273022] usbhid: USB HID core driver
[ 2.286345] TCP: cubic registered
[ 2.309226] Initializing XFRM netlink socket
[ 2.326106] NET: Registered protocol family 17
[ 2.334808] Key type dns_resolver registered
[ 2.368221] mmc0: read SD Status register (SSR) after 2 attempts
[ 2.379289] registered taskstats version 1
[ 2.403146] mmc0: new high speed SDHC card at address aaaa
[ 2.413858] Waiting for root device /dev/mmcblk0p2...
[ 2.434456] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[ 2.445524] mmcblk0: p1 p2
[ 2.556301] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.572699] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.585747] Indeed it is in host mode hprt0 = 00001101
[ 2.595364] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.617116] devtmpfs: mounted
[ 2.625059] Freeing unused kernel memory: 140K (c05bd000 - c05e0000)
[ 2.826484] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[ 2.838724] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.851556] hub 1-1:1.0: USB hub found
[ 2.860132] hub 1-1:1.0: 3 ports detected
[ 3.146373] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.256651] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.274848] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.292582] smsc95xx v1.0.4
[ 3.361349] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:95:dc:4f
[ 3.486306] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[ 3.612769] usb 1-1.2: New USB device found, idVendor=6666, idProduct=5555
[ 3.626169] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.638247] usb 1-1.2: Product: Weather Direct Light Wireless Device
[ 3.649392] usb 1-1.2: Manufacturer: LA CROSSE TECHNOLOGY
[ 3.659589] usb 1-1.2: SerialNumber: 0123456
[ 3.739141] hid-generic 0003:6666:5555.0001: hiddev0,hidraw0: USB HID v1.11 Device [LA CROSSE TECHNOLOGY Weather Direct Light Wireless Device] on usb-bcm2708_usb-1.2/input0
[ 3.876377] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
[ 4.004538] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c52b
[ 4.026304] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.054435] usb 1-1.3: Product: USB Receiver
[ 4.073802] usb 1-1.3: Manufacturer: Logitech
[ 4.100850] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input0
[ 4.136888] hid-generic 0003:046D:C52B.0002: input,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-bcm2708_usb-1.3/input0
[ 4.197421] input: Logitech USB Receiver as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.1/input/input1
[ 4.234827] hid-generic 0003:046D:C52B.0003: input,hiddev0,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-bcm2708_usb-1.3/input1
[ 4.288164] hid-generic 0003:046D:C52B.0004: hiddev0,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-bcm2708_usb-1.3/input2
[ 4.521443] udevd[156]: starting version 175
[ 6.483689] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[ 11.188561] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.760310] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 20.769015] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 22.309029] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 27.293216] Adding 102396k swap on /var/swap. Priority:-1 extents:1 across:102396k SSFS
pi@bruezpi ~ $ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 6666:5555 Prototype product Vendor ID
Oct 26 12:58:20 bruezpi wee_config_ws28xx[2277]: ws28xx: RFComm: console is paired to device with ID 0107
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: driver version is 0.32
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: frequency is EU
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: altitude is 213.36 meters
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: pressure offset is 0.0
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: found transceiver at bus=001 device=004
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: manufacturer: LA CROSSE TECHNOLOGY
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: product: Weather Direct Light Wireless
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: interface: 0
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: base frequency: 868300000
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: frequency correction: 101656 (0x18d18)
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: adjusted frequency: 910580197 (0x364659e5)
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: transceiver identifier: 263 (0x0107)
Oct 26 12:58:44 bruezpi wee_config_ws28xx[2279]: ws28xx: MainThread: transceiver serial: 01021801130107
So to me, it looks like pairing was successful - however reading the configuration fails.Can/Should i add some debug statements to the driver?
Pressing the "SET" key was not successful. (already tried that before)The KlimaLogg Pro has a dedicated key for syncing called "USB". Pressing it long creates a link between at tranceiver and the statation. Pressing it shortly established a connection between known transceiver / station.This works well on windows with the proprietary software from TFA.Any other ideas?
So to me, it looks like pairing was successful - however reading the configuration fails.Can/Should i add some debug statements to the driver?
M,pairing seams to be successful.However reading data might fail.There are many NAKs in the log (assuming a response of 15h = NAK [ASCII-wise it is, but not sure if it's ASCII ;-)]).Please find attached the debug log.At least while polling and pressing USB button I get an answer from the station.How can i Interprete them now?Please find log attached (double lines omitted)Thanks,Steffen
Hi Luc,
Yes I'm willing to help. So what can I do?
Best,
Steffen
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/O1ogABfGETA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Luc,
Yes I'm willing to help. So what can I do?Best,
Steffen
I have contacted the technical staff of TFA Dostmann about this. May be there is a manner to bypass the manual start trigger.
could you post your kl.py-Python code and a short explanation if it's done?
Dear Luc,Happy New Year!Hopefully I'll get my Klimalogg Pro tomorrow.So I'm interested in testing your driver.Did I understand that:-I pair the transmitters with the Klimalogg Pro Station.
-I press USB to send data to my PC with installed TFA Software
-PC imports the complete History stored in the Klimalogg Pro Station (max. 50.000 records)
-After that, the Klimalogg Pro Station sends current records (realtime) of all paired sensors?
-I can turn of my PC/close TFA Software?
-I can then receive these values with weewx on the raspberry pi?
-The Klimalogg Pro Station continuously stores records. Will it then reach its' storage limit or won't the data be stored?
Hello
Hey Luc,