[solved] [OH3] Meteostick stuck in status unknown

Hi,

I’m trying to get my (new) Meteostick to work with OpenHab but it stays at status UNKNOWN.

The stick itself seems to we working fine:

The stick is discovered as ttyUSB2

[44857.721941] usb 1-1.1: new full-speed USB device number 6 using xhci_hcd
[44857.868265] usb 1-1.1: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[44857.868285] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[44857.868302] usb 1-1.1: Product: FT232R USB UART
[44857.868318] usb 1-1.1: Manufacturer: FTDI
[44857.868334] usb 1-1.1: SerialNumber: A5066G5S
[44857.882974] ftdi_sio 1-1.1:1.0: FTDI USB Serial Device converter detected
[44857.883147] usb 1-1.1: Detected FT232RL
[44857.887281] usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB2

I’m able to communicate with the stick through minicom:


Welcome to minicom 2.7.1

OPTIONS: I18n
Compiled on Aug 13 2017, 15:25:34.
Port /dev/ttyUSB2, 11:30:12

Press CTRL-A Z for help on special keys

# MeteoStick Version 2.5.5 (Oct 18 2020 12:33:25), Free RAM 642, SN: EE----500
# License Information:
#   MeteoStick (c) 2019 by smartbedded.com
?
# Meteostick Version 2.5.5
m1
# chip auth ok: 14
# frequency band 868MHz (EU)
B 31693 340135 257 103040 0 0
t16
# listening to tx 5
B 31692 340121 257 103035 0 1
o1
# output computed values
R 5 102 -68 L
W 5 0.00 62 -68 L
o2
# output clear text
Rain id:5 ticks:102 signal:-71db lowbat
Wind id:5 speed:0.00m/s dir:62deg signal:-71db lowbat
Wind id:5 speed:0.00m/s dir:62deg signal:-68db lowbat
Rain id:5 ticks:102 signal:-70db lowbat
Wind id:5 speed:0.00m/s dir:62deg signal:-70db lowbat

but this is all I got from OpenHab:

2021-01-15 11:05:51.895 [DEBUG] [ck.internal.MeteostickHandlerFactory] - MeteoStick thing factory: createHandler meteostick:meteostick_bridge of type meteostick:meteostick_bridge:fb6a09bbe3
2021-01-15 11:05:51.987 [DEBUG] [rnal.handler.MeteostickBridgeHandler] - Initializing MeteoStick Bridge handler.
2021-01-15 11:05:51.990 [DEBUG] [rnal.handler.MeteostickBridgeHandler] - MeteoStick Connecting to serial port /dev/ttyUSB2
2021-01-15 11:05:51.990 [DEBUG] [ck.internal.MeteostickHandlerFactory] - MeteoStick thing factory: createHandler meteostick:meteostick_davis_iss of type meteostick:meteostick_davis_iss:fb6a09bbe3:17950613a1
2021-01-15 11:05:52.017 [DEBUG] [rnal.handler.MeteostickSensorHandler] - Initializing MeteoStick handler.
2021-01-15 11:05:52.018 [DEBUG] [rnal.handler.MeteostickSensorHandler] - Initializing MeteoStick handler - Channel 5, Spoon size 0.2 mm.

Looking at the code it seems to get stuck somewhere between line 160 and 172: (“Serial port is initialized” at line 172 never shows up in the logs)

Are there any known issues with firmware 2.5.5? (does anybody know where to download older firmwares?)

# MeteoStick Version 2.5.5 (Oct 18 2020 12:33:25)

Please let me know if there is anything else I can try :slight_smile:

Somehow using a usb hub solved it :face_with_raised_eyebrow: