Page 1 of 1

CumulusMX with an hybrid of FineOffset WS8681 and Arduino/RPi?

Posted: Sun 30 Apr 2023 5:13 pm
by ea5xq
Currently I am using CumulusMX (running in MacOS) with my station WATSON WS8681(similar to WH10180 of FineOffset). My aim is moving all the software to RPi 1B that I have to control 24x7 the station.

I wanted to add new sensors such as UV but I am aware that it is not possible to my model (I have not found any reference to changing the firmware to this model in order to give it a chance to receive and show in the screen data from other sensors) so I am thinking about to make an hybrid between WS8681 and RPi with an Arduino that could control UV sensor. I would like to use the current sensors of WS8681 that work fine.

Does it make sense? Could CumulusMX receives both sources of data and being able to show them in the dashboard? or I am mixing too much

Thanks

Re: CumulusMX with an hybrid of FineOffset WS8681 and Arduino/RPi?

Posted: Mon 01 May 2023 9:16 am
by mcrossley
You could add in the UV if you read the sensor and present it's data using the Ecowitt protocol (a fairly simple http text based protocol). Then MX could read it using the standard Extra Sensors - HTTP Ecowitt option.

Re: CumulusMX with an hybrid of FineOffset WS8681 and Arduino/RPi?

Posted: Mon 01 May 2023 1:46 pm
by laulau
Do you mean :
Capture.JPG
Where could we find the http protocols for Ecowit or Ambiant extra sensors ?
Thanks

Re: CumulusMX with an hybrid of FineOffset WS8681 and Arduino/RPi?

Posted: Mon 01 May 2023 4:34 pm
by mcrossley
Yes, expand the > Ecowitt section and just enable the UV sensor.

The Ecowitt upload protocol is not officially documented, but it is simple. Just send a HTTP POST with the body as a string (that is actually a URL encoded set of variables), something like...

Code: Select all

PASSKEY=1234&stationtype=GW1000A_V1.6.8&dateutc=2021-07-23+17:13:34&uv=N&freq=868M&model=GW1100A

Re: CumulusMX with an hybrid of FineOffset WS8681 and Arduino/RPi?

Posted: Wed 17 May 2023 8:15 pm
by laulau
Similar to the WU uploading ?

Code: Select all

ID=xxxxx&PASSWORD=abcd&dateutc=2023-05-17+20:11:17&winddir=8&windspeedmph=3.16&windgustmph=16.55&tempf=51.80&rainin=0.00&dailyrainin=0.00&baromin=30.25&humidity=63.70&dewptf=40&solarradiation=0&UV=0.00&softwaretype=WeatherDuino&action=updateraw

Re: CumulusMX with an hybrid of FineOffset WS8681 and Arduino/RPi?

Posted: Thu 18 May 2023 9:05 am
by laulau
Hi,
I finally manage to have the co2 reading in CMX via http Ecowitt extra sensors.
I do that in a modified Weatherduino station.
I forgot to restart Cumulus after enabling this feature :bash: