Page 1 of 1

MeteoStick / Davis support Domoticz

Posted: Wednesday 06 March 2019 18:08
by spex
Hi everyone,

I have a question regarding the compability of the MeteoStick to recieve data from the Davis VP2.

I have the following sensors on the Davis VP2:

Connected to the ISS (Basestation)

Temp+Baro
Temp+Humidity
Rain
UV
Solar


Connected to the Davis Transmittor kit:

Wind

The problem I currently have is that domoticz can't recieve any data from the transmittor kit.
Does anyone know an solution for this problem? Attached a copy of the datalog.



2019-03-06 17:41:41.405 Status: Meteostick: Using serial port: /dev/ttyUSB2
2019-03-06 17:41:43.986 (MeteoStick) Temp + Baro (Meteostick Temp+Baro)
2019-03-06 17:41:43.213 Status: # MeteoStick Version 2.5.2 (Nov 10 2018 14:07:29), Free RAM 698, SN: EEF388C0D6400F00
2019-03-06 17:42:03.574 (MeteoStick) Temp + Humidity (Outside Temp+Hum)
2019-03-06 17:42:06.135 (MeteoStick) Rain (Rain)
2019-03-06 17:42:13.820 (MeteoStick) Temp + Humidity (Outside Temp+Hum)
2019-03-06 17:42:16.380 (MeteoStick) Rain (Rain)
2019-03-06 17:42:26.631 (MeteoStick) Rain (Rain)
2019-03-06 17:42:31.761 (MeteoStick) UV (UV)

Re: MeteoStick / Davis support Domoticz

Posted: Saturday 27 April 2019 13:16
by Flyby
Hi spex,

same setup and same problem here.
Did you find a solution yet?

I tried to locate a file for meteostick in domoticz but until now no luck.

I also have 2 UV readings but only one rain.

Rgds.

Re: MeteoStick / Davis support Domoticz

Posted: Saturday 04 May 2019 12:27
by 2haasm
I just bought a Davis Vantage Pro and i'm afraid to run into the same problem as i plan to separate the anemometer from the ISS with an additional transmission unit. Normally the meteostick listens only to transmitter nr. 1

I have read in the meteostick manual https://www.smartbedded.com/files/manual-en.pdf that it is possible to program the meteostick to listen to up to 8 transmitters.
This is done by plugging the meteostiock into a PC USB port, install a driver for the serial port if necessary and open a terminal program for the serial port.
Using the t- comannd allows the user to specify for which transmitters the meteostick should listen.
e.g. to listen for transimtter 1 and 2 the comamnd is t3.

I haven't tried this yet, because i havenb'nt bought the second transmitter for the anemometer yet.

Re: MeteoStick / Davis support Domoticz

Posted: Saturday 04 May 2019 13:29
by Toulon7559
The Meteostick & Davis_PWS communicate at 868MHz.
Looking at the question, possibly 2 solutions for linking to Domoticz:
1) make an interface/plugin in Domoticz to read the USB-Meteostick.
Requires the availability of the protocol-description for the USB-interface of the Meteostick, and example-files of sniffed communication.
Could result in a plugin comparable with TE923.
2) apply the 868MHz-version of RFLinkGateway, after you convince the Stuntteam to make a plugin for Davis, because not yet in the list of supported devices.
Will require some discussion beforehand, because they will ask that you provide as example a sniffed communication-file and (if possible) a protocol description for the communication from the Davis_PWS.

The Setup/Hardware-selection of Domoticz also mentions RFXCom868, but nowhere at internet a supplier available ......

Re: MeteoStick / Davis support Domoticz

Posted: Sunday 05 May 2019 19:10
by 2haasm
I plugged the meteostick into an USB port of my Windows PC and checked the device manager if it is recognized as a serial port.
(In my case it was COM 5)
I downloaded a serial terminal for my PC like HTerm http://www.der-hammer.info/terminal/ unzipped and started it.
COM 5 was automatically detected by HTerm.
Klick on Connect
For a better reading resp. sending data to the COM port:
  • In the RX section, i choosed "Newline at CR+LF"
    In the input options, i choosed send on "Enter CR"
see attachment:
HTerm mit MeteoStick.png
HTerm mit MeteoStick.png (91.17 KiB) Viewed 1970 times
As described in the manual i entered
  • r to reset the meteostick
    t3 for transmitter ID 1 and 2
    o1 for the right format of the data
    and m1 to send the data.
If the ID of your anemometer transmitter is 2, then you should see its data after a while.

For a better reading you can enter o2 in the terminal window.
But for domoticz you need the o1 format.
I couldn't test it by myself, cause i don't have the anemometer transmitter yet.

Re: MeteoStick / Davis support Domoticz

Posted: Saturday 11 May 2019 16:34
by 2haasm
Meanwhile i got the transmitter for the anemometer, set it to ID 2 and checked its functionality.
It works with the Davis console.
Also the meteostick reports the signal (see minicom output)
minicom ausgabe.png
minicom ausgabe.png (118.6 KiB) Viewed 1937 times
But Domoticz recognizes only an UV and a rain sensor on ID 2 (which are not connected)
meteostick in domoticz.png
meteostick in domoticz.png (250.22 KiB) Viewed 1937 times
So it seems that the problems lies inside Domoticz.

Seems we will have to pull a request in Github