Hi all
!!! SEE UPDATE BELOW !!!!i made my own PM25 meter and works well and I want to upload these values to ecowitt.net dashboard.
i allready captured my url to ecowit.net
see
PASSKEY=XXXXXXXXXXXXXXXXXXXXXX&stationtype=EasyWeatherV1.6.4&dateutc=2023-01-09+07:13:21&tempinf=67.5&humidityin=50&baromrelin=29.256&baromabsin=29.256&tempf=42.8&humidity=96&winddir=166&winddir_avg10m=169&windspeedmph=4.0&windspdmph_avg10m=3.6&windgustmph=4.3&maxdailygust=5.8&solarradiation=0.00&uv=0&lightning_num=0&lightning_time=&lightning=&rrain_piezo=0.000&erain_piezo=0.000&hrain_piezo=0.000&drain_piezo=0.055&wrain_piezo=0.055&mrain_piezo=0.232&yrain_piezo=0.232&ws90cap_volt=5.1&ws90_ver=126&gain10_piezo=0.59&gain20_piezo=0.59&gain30_piezo=0.59&gain40_piezo=0.59&gain50_piezo=0.59&rfdata=[[1673248401,"900031570000A489CC6012A613003FFF5073D6003B33101694C90D05027EEF85"]]&wh25batt=0&wh57batt=5&wh90batt=3.28&freq=868M&model=HP2551AE_Pro_V1.8.7
does anybody has an example how to push the PM25 data to ecowitt.net dashboard ??
i allready tried with the curl command like :
curl -d "PASSKEY=XXXXXXXXXXXXXXXXXXXXXX&stationtype=EasyWeatherV1.6.4&dateutc=2023-01-09+07:13:21&pm25_ch1=1.90&pm25_avg_24h_ch1=1&model= ........ " -X POST
http://rtpdate.ecowitt.net/data/report/but this didn't work for me
i hope someone can help me out here
many thanks in advance
menno
!! UPDATE !!i've got it ! The correct curl command is :
curl -d "PASSKEY=XXXXXXXXXXXXXXXXXXXX&stationtype=EasyWeatherV1.6.4&dateutc=
$datumtijd&pm25_ch1=
$pmwaarde&pm25batt1=5&freq=868M&model=HP2551AE_Pro_V1.8.7" -X POST
http://rtpdate.ecowitt.net/data/report/script variable used here...
where
$datumtijd is the current date + time , like : 2023-01-13+16:16:47
and
$pmwaarde is the current PM25 value , like : 2