updated ecowittModules block

Post Reply
davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

updated ecowittModules block

Post by davidefa » Sun May 09, 2021 10:13 am

ver 1.4b
Minor update: corrected WS80, WS68 and WS65 sensor name

ver 1.4a
I have updated the ecowittModule block ( by raffaello Di Martino ) to include the following:
- updated the ecowitt sensor list
- match battery reports from the updated ecowitt module v2.6 or later
- added a couple of options to name the gateway and select the main wireless sensor


NOTE
To use this block you need to update the ecowitt plugin to v2.6 or later

NOTE1
The rf strength indication is 'fake', currently no rf reception level is reported by the sensors...
Attachments
ecowittModules_1.4b.zip
(4 KiB) Downloaded 895 times
ecowittModules_1.4a.zip
(4 KiB) Downloaded 729 times
Last edited by davidefa on Sun Nov 05, 2023 12:14 pm, edited 1 time in total.
Image

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated ecowittModule block

Post by davidefa » Sun Oct 10, 2021 9:39 pm

ver 1.4c
Minor update:
- corrected wh25, wh31, ws65 low battery indication ( it was 75% )
- added sensor name redefinition


ecowittModules.png
ecowittModules.png (17.68 KiB) Viewed 32270 times
Attachments
ecowittModules_1.4c.zip
(4.08 KiB) Downloaded 892 times
Image

User avatar
Daali
Advisor
Advisor
Posts: 56
Joined: Mon Jul 26, 2021 8:06 pm
Location: Georgia, US
Station model: Ecowitt GW1002
Software: Meteobridge, FOSHKplugin
Contact:

Re: updated ecowittModule block

Post by Daali » Tue Oct 12, 2021 12:54 am

Great work davidefa!

I have an ecowitt WN34S that shows up as TS1BAT. I haven't figured out the array yet to add it =). I can get it to the screen but with horrible batt and rf icons LOL.

Code: Select all

		"WN34_1"  => array("module_name" => "WN31_1", "battery_percent" => (99-$apiData['TS1BAT'] * 0.055), "set" => $apiData['TS1BAT'],    "last_seen" => $apiData['U'], "data_type" => array("Temperature"), "firmware" => $firmware,  "rf_status" => (117 - ($apiData['TS1BAT'] * 18)) ),

Code: Select all

{"TS1":22.89,"TS1BAT":73.4,"TS1Time":1633998551,"TS1BATTime":1633998551,"StationTime":1633998551,"FWTime":1633998551}
TS1BAT = 73.4 Ecowitt.net shows 1.42v you can see I added * 0.055 to get close, but I have no idea what I am doing.
https://www.jeffersonweather.com
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated ecowittModule block

Post by davidefa » Sat Nov 27, 2021 3:44 pm

ver 1.5
- added support for wn34, wn34, wh40 and wn1900
Attachments
ecowittModules_1.5.zip
(4.25 KiB) Downloaded 887 times
Image

Bashy
Newbie
Newbie
Posts: 1
Joined: Wed Feb 28, 2018 6:52 am
Station model: Davis Vantage Pro2 plus
Software: Weather Display

Re: updated ecowittModule block

Post by Bashy » Mon Mar 28, 2022 3:00 am

Hi, can this be used if you dont have a full Ecowitt station, i only have the GW1100 hub, outdoor AQ and Lightning, ideally i would like the AQ and Lightning to work, please? I have both the plugin and this block installed but nothing doing, its in the middle, 4th block down. i fear i may have missed something simple...

https://www.brecklandweather.com/meteo/indexDesktop.php

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated ecowittModule block

Post by davidefa » Mon Mar 28, 2022 5:02 pm

Yes, it should work.
In the ecowitt plugin set the fourth parameter ( Url of this site api.php script ) to:

Code: Select all

http://www.brecklandweather.com/meteo/api.php
As you can see in cache/ecowittLog.txt the relative path you are using fails ( Api result -> )

Code: Select all

Api url -> /home/breckland/public_html/meteo/api.php?U=1648486487&P=1018.59&TIN=18.11&HIN=55&PP1=7.0&L=0&LD=5&LT=1645378640&PP1BAT=5&LBAT=5&Station=GW1100A&FW=V2.1.2
Api result -> 
Forward1 ecowitt format
Forward1 url -> http://www.brecklandweather.com/pwsWD2021/ecowitt/
Forward1 nfields -> 17
Forward1 result -> 1
The only problem I see is that the gw1100 T/H/P sensors will mix with the existing ones.
To avoid this you can set the 'Rename sensors' parameter to:
P1=P;Tin1=Tin;Hin1=Hin
Image

andyk1
Professional
Professional
Posts: 432
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: updated ecowittModule block

Post by andyk1 » Thu Nov 10, 2022 3:36 am

Ecowittmodule ver 1.5 block stops working in php 8.0. any idea's?
Image

davidefa
Expert
Expert
Posts: 888
Joined: Tue Jan 12, 2021 8:03 am
Location: Italy
Station model: WH2650
Software: WH2650 (direct upload)
Contact:

Re: updated ecowittModule block

Post by davidefa » Sun Nov 05, 2023 12:11 pm

ver 1.6
- added support for ws90
- battery voltage expressed in volts ( for those sensors reporting volts )

P.S.
It is ( should be ) compatible with php 8.2
Attachments
ecowittModules_1.6.zip
(4.51 KiB) Downloaded 665 times
Image

andyk1
Professional
Professional
Posts: 432
Joined: Tue Feb 27, 2018 10:56 pm
Location: OKLAHOMA, USA
Station model: Ecowitt WS90
Software: Meteobridge/GW2000B
Contact:

Re: updated ecowittModules block

Post by andyk1 » Thu Nov 09, 2023 7:36 pm

Thank you David.
Image

El_Viejo
Forecaster
Forecaster
Posts: 105
Joined: Wed Sep 11, 2019 3:56 pm
Location: Derio - Bizkaia - Spain
Station model: Ecowitt - Netatmo

Re: updated ecowittModules block

Post by El_Viejo » Wed Jul 10, 2024 4:33 pm

A few days ago I have installed a station is Ecowitt Wittboy GW 2001.

It seems to me that I have successfully configured the "ecowitt" plugin (V 3.5a), because the web page appears "online". However, the block "ecowittModules" (V 1.6) is offline.

In the image is my block configuration.

What am I doing wrong?

Please, forum experts help me to discover and correct my mistakes.
After the failure with the Netatmo plugin, I have been "fighting" with the new template configuration for several days.

Thanks in advance.
Attachments
ecowittModules_01.png
ecowittModules_01.png (63.69 KiB) Viewed 29498 times
On_Off_01.png
On_Off_01.png (43.29 KiB) Viewed 29498 times

User avatar
steph
Observer
Observer
Posts: 37
Joined: Fri May 12, 2023 10:26 am
Station model: Ecowitt
Software: Ecowitt gw1100/Raspberry
Contact:

Re: updated ecowittModules block

Post by steph » Fri Jul 12, 2024 4:13 pm

Personally, I've always stayed on 1.0 and never had a problem.
Attachments
Capture d'écran 2024-07-12 181226.png
Capture d'écran 2024-07-12 181226.png (113.79 KiB) Viewed 29477 times

El_Viejo
Forecaster
Forecaster
Posts: 105
Joined: Wed Sep 11, 2019 3:56 pm
Location: Derio - Bizkaia - Spain
Station model: Ecowitt - Netatmo

Re: updated ecowittModules block

Post by El_Viejo » Sat Jul 13, 2024 9:00 am

I am coming to the conclusion that my error is in the plugin configuration.

spd2612
Forecaster
Forecaster
Posts: 185
Joined: Thu Jan 23, 2020 4:00 pm
Location: Jonesboro Ar
Station model: Ecowitt Wittboy /GW2000
Software: ECOWITT Plugin
Contact:

Re: updated ecowittModules block

Post by spd2612 » Thu Jul 31, 2025 2:25 pm

Why does my signal meter stay red and at 0
All the other indicators are displaying i am using a Gw2000 with a WS90
IMG_4804.jpeg
IMG_4804.jpeg (628.26 KiB) Viewed 9457 times
Image

WS90 Wittboy Pro
HP2564 Console
GW2000 Gateway
WH40 Rain Gauge
WH57 Lightning Detector

spd2612
Forecaster
Forecaster
Posts: 185
Joined: Thu Jan 23, 2020 4:00 pm
Location: Jonesboro Ar
Station model: Ecowitt Wittboy /GW2000
Software: ECOWITT Plugin
Contact:

Re: updated ecowittModules block

Post by spd2612 » Fri Sep 19, 2025 4:47 pm

I removed it to many php 8.2 errors slowed my site and the percent meter stayed red at 0
Image

WS90 Wittboy Pro
HP2564 Console
GW2000 Gateway
WH40 Rain Gauge
WH57 Lightning Detector

Post Reply