MeteoStick / Davis support Domoticz

Moderator: leecollings

Post Reply
spex
Posts: 3
Joined: Tuesday 22 January 2019 22:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Netherlands
Contact:

MeteoStick / Davis support Domoticz

Post 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)
Master: RPI Model 3B+
RFX transmitter/receiver 433 Mhz
Multiple KAKU modules switching lights
Meteostick
P1 cable
Davis Vantage Pro weatherstation (incl. solar/UV)
Flyby
Posts: 1
Joined: Thursday 30 April 2015 9:06
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: MeteoStick / Davis support Domoticz

Post 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.
2haasm
Posts: 7
Joined: Wednesday 11 January 2017 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Germany
Contact:

Re: MeteoStick / Davis support Domoticz

Post 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.
2x Raspberry Pi 4 (Buster), GPIO, MySensors, Aeon Labs Z-Wave USB Stick Gen 5
Fibaro (FGWPE, FGS213, FGS223, FGMS001, FGK10x, Swipe), Qubino (ZMNHSDx), Popp (KFOB-C, Smoke, solar siren), etc.
Toulon7559
Posts: 843
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: MeteoStick / Davis support Domoticz

Post 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 ......
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
2haasm
Posts: 7
Joined: Wednesday 11 January 2017 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Germany
Contact:

Re: MeteoStick / Davis support Domoticz

Post 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 1879 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.
2x Raspberry Pi 4 (Buster), GPIO, MySensors, Aeon Labs Z-Wave USB Stick Gen 5
Fibaro (FGWPE, FGS213, FGS223, FGMS001, FGK10x, Swipe), Qubino (ZMNHSDx), Popp (KFOB-C, Smoke, solar siren), etc.
2haasm
Posts: 7
Joined: Wednesday 11 January 2017 20:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Germany
Contact:

Re: MeteoStick / Davis support Domoticz

Post 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 1846 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 1846 times
So it seems that the problems lies inside Domoticz.

Seems we will have to pull a request in Github
2x Raspberry Pi 4 (Buster), GPIO, MySensors, Aeon Labs Z-Wave USB Stick Gen 5
Fibaro (FGWPE, FGS213, FGS223, FGMS001, FGK10x, Swipe), Qubino (ZMNHSDx), Popp (KFOB-C, Smoke, solar siren), etc.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest