But please submit an issue if you have problems with this plugin. There is no garantee, but I will try to find time to help you.
This Domoticz Plugin allows you to get the data directly from your own personal weather station (PWS). So this plugin does NOT require that you register your PWS to cloud accounts, like WeatherUnderground (support will finish in the near future!), Ecowitt (also displays your indoor sensors in the cloud!), WeatherCloud, WOW (takes weeks to get key), etc, or the use of WeeWX (extra software).
This plugin will directly capture the data from your weather station!
In general, if the station is supplied with EasyWeather
software (version 1.4.x, 1.5.x), it is likely that the station will work with this Domoticz plugin!
- Alecto WS-5500
- Garni 940
- Garni 2055 Arcus
- Sainlogic WS3500
- Ventus W830
- Waldbeck Halley Professional Weather Station
- 1.4.x
- 1.5.0
- 1.5.1
- 1.5.2
- 1.5.3
- 1.5.4
Your PWS needs to be connected to your network. This can be done by using WS View or the Garni Technology app.
If supported by your PWS, connect your PWS with WS View
(and also the 'older' WS Tool
) to your router by wifi, so that your PWS can upload weather data to Domoticz.
- Install
WS View
on your mobile device - , or
WS Tool
- Follow the instructions to connect your PWS to your router
- Goto to Device List in Menu and choose your PWS
- Click on Next untill you are on on the
Customized
page - Choose
Enable
- For
Protocol Type Same As
chooseWunderground
(preferred) - For
Server IP / Hostname
enter your Domoticz Server ip address, eg. 192.168.0.10 - If you choose for
Wunderground
protocol:- Fill in
Station ID
with a value - Fill in
Station Key
with a value
- Fill in
Port
enter a free port number, eg.5000
Upload Interval
, leave it60
seconds- Click on
Save
Now your PWS will start to upload its data to your Domoticz server at the specified port.
Some users of this plugin reported that also a Garni tool can be used with the Garni weather stations. I was not able to test this, but the instructions are something like:
- Install
Garni technology
on your mobile device - Follow the instructions to connect your PWS to your router
- In Weather Server Setup:
- Fill in
URL
your Domoticz Server ip address, eg. 192.168.0.10 - Fill in
Station ID
with a value - Fill in
Station key
with a value
- Fill in
- As Garni sends its data to port 80, which can be used by other webservices (Domoticz uses 8080 by default), you have to route the data to another port by:
- Linux (Raspberry PI, etc)
iptables -t nat -A PREROUTING -s [IP of PWS] -p tcp --dport 80 -j DNAT --to-destination [IP of Domoticz]:5000
- Windows
netsh interface portproxy add v4tov4 connectaddress=[IP of PWS] connectport=80 listenaddress=[IP of Domoticz] listenport=5000
NOT TESTED YET!!!
- Linux (Raspberry PI, etc)
Now your Garni PWS will start to upload its data to your Domoticz server at port 5000
.
Not implemented yet!!!
Next step is to install the Domoticz plugin. This plugin will automatically create the required devices, listen to the specified port, retrieve the data and update the devices with the latest information.
Unfortunately you can connect your PWS only to one Domoticz server!
- Clone repository into your Domoticz plugins folder
cd domoticz/plugins git clone https://github.com/Xorfor/Domoticz-PWS-Plugin.git
- Restart domoticz
sudo service domoticz.sh restart
- Make sure that "Accept new Hardware Devices" is enabled in Domoticz settings
- Go to "Hardware" page and add new hardware with Type "PWS"
- Enter the Port number as used in WS View
- Press Add
- Go to plugin folder and pull new version
cd domoticz/plugins/Domoticz-PWS-Plugin git pull
- Restart domoticz
sudo service domoticz.sh restart
Name | Description |
---|---|
Port | Port number as choosen in WS View or in the Garni setup, eg. 5000 |
The selected port is displayed on Hardware overview as Address.
I have created as much devices as possible, so you can select your own favourites.
Name | Description |
---|---|
Barometer (absolute) | Pressure (absolute) in hPa |
Barometer (relative) | Pressure (relative) in hPa |
Chill | Chill (calculated when Ecowitt protocol is used) |
Dew point | Dew point (calculated when Ecowitt protocol is used) |
Gust | Gust |
Heat index | Heat index (calculated based on temperature and humidity) |
Humidity | Humidity |
Humidity (indoor) | Humidity (indoor) |
Rain | Current rain rate and daily total |
Rain rate | Current rain rate |
Station | Format: [ip adress] ([software]): [Protocol] (Wunderground or Ecowitt ), from your PWS. |
Solar radiation | Solar radiation |
Temp + Hum | Temperature and humidity |
Temperature | Temperature |
Temperature (indoor) | Temperature |
THB | Temperature, humidity and barometer (pressure and prediction) |
UVI | UV index |
UV Alert | UV index + warning level (calculated) |
Wind | Wind direction, speed and gust |
Wind | Wind direction, speed, gust, temperature and gust |
Wind direction | Wind direction |
Wind Speed | Wind speed |
WS View supports 2 protocols for Customized
upload: Wunderground
or Ecowitt
. My information about the data to be uploaded is based on my own experience and information from:
Information can be found at: https://support.weather.com/s/article/PWS-Upload-Protocol?language=en_US.
Name |
---|
weather |
soiltempf |
soilmoisture |
leafwetness |
visibility |
Aq* (like AqNO, AqBC ) |
The following data send by the weatherstations is not used, e.g. because this is historical data which is already maintained by Domoticz, or not relevant as sensor:
Name |
---|
action |
ID |
monthlyrainin |
PASSWORD |
realtime |
rtfreq |
weeklyrainin |
Information not found yet.