[SOLVED] OH2 + Meteostick

davis
openhab2
meteostick
Tags: #<Tag:0x00007f014b3f82e0> #<Tag:0x00007f014891bf40> #<Tag:0x00007f014891bc48>

(Frieso A) #1

Hi everybody

I’m running a Davis Vantage Pro2 as Weatherstation, which is connected through USB to the system. On OH1 I was able to get all the needed values through the davis binding with "

davis:port=/dev/ttyUSB0

" defined in the openhab.cfg

Now in OH2 I tried the extension “meteostick” and configured the two things “Meteostick USB Receiver” and “Davis Vantuage ISS”. When I startup OH2 I get the following logs:

2017-05-31 21:36:11.626 [DEBUG] [org.openhab.binding.meteostick      ] - BundleEvent STARTING - org.openhab.binding.meteostick
2017-05-31 21:36:11.628 [DEBUG] [org.openhab.binding.meteostick      ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={component.name=org.openhab.binding.meteostick.internal.MeteostickHandlerFactory, component.id=201, service.id=336, service.bundleid=264, service.scope=bundle} - org.openhab.binding.meteostick
2017-05-31 21:36:11.664 [DEBUG] [ck.internal.MeteostickHandlerFactory] - MeteoStick thing factory: createHandler meteostick:meteostick_bridge of type meteostick:meteostick_bridge:3753e8f5
2017-05-31 21:36:11.666 [DEBUG] [org.openhab.binding.meteostick      ] - BundleEvent STARTED - org.openhab.binding.meteostick
2017-05-31 21:36:11.669 [DEBUG] [tick.handler.MeteostickBridgeHandler] - Initializing MeteoStick Bridge handler.
2017-05-31 21:36:11.670 [DEBUG] [ck.internal.MeteostickHandlerFactory] - MeteoStick thing factory: createHandler meteostick:meteostick_davis_iss of type meteostick:meteostick_davis_iss:a3294ed5
2017-05-31 21:36:11.673 [INFO ] [tick.handler.MeteostickBridgeHandler] - MeteoStick Connecting to serial port /dev/ttyUSB0
2017-05-31 21:36:11.674 [DEBUG] [tick.handler.MeteostickSensorHandler] - Initializing MeteoStick handler.
2017-05-31 21:36:11.674 [DEBUG] [tick.handler.MeteostickSensorHandler] - Initializing MeteoStick handler - Channel 1.
2017-05-31 21:36:11.917 [INFO ] [tick.handler.MeteostickBridgeHandler] - Serial port is initialized
2017-05-31 21:36:11.917 [DEBUG] [eteostickBridgeHandler$ReceiveThread] - Starting MeteoStick Receive Thread

but when I check the status

openhab> smarthome:things
astro:sun:home (Type=Thing, Status=ONLINE, Label=Astro sun data, Bridge=null)
astro:moon:home (Type=Thing, Status=ONLINE, Label=Astro moon data, Bridge=null)
meteostick:meteostick_bridge:3753e8f5 (Type=Bridge, Status=OFFLINE, Label=Meteostick USB Receiver, Bridge=null)
meteostick:meteostick_davis_iss:a3294ed5 (Type=Thing, Status=OFFLINE, Label=Davis Vantage Vue ISS, Bridge=meteostick:meteostick_bridge:3753e8f5)

both are offline. Can anyone help on this topic?

I configured also the following:
EXTRA_JAVA_OPTS="-Dgnu.io.rxtx.SerialPorts=/dev/ttyUSB0"
in the file /etc/default/openhab2 (running Openhab on Ubuntu), without success.

Thanks in advance
Greetings
Frieso


(Frieso A) #3

Hello everybody,

Did anybody got a Davis Vantage Pro2 running with Openhab2?

Greetings
Frieso


(Frieso A) #4

I solved the problem. Meteostick does not support the Davis-USB dongle. To read the data from the davis weather-station, the davis1 binding is needed.