No data send - FOSHKplugin

Hi,
I have setup FOSHKplugin on a Raspi in my internal network. The configuration seems to be correct and data are sent to PWS_Dashboard.
In ./pws/ecowitt/ecco_stats.txt I find the following lines:
Fri, 06 Sep 2024 19:16:01 +0000 = Ecowitt data received:
Problem-77: NO PASSKEY found.
Problem-101: Item in upload: with value between next brackets =><= is invalid
Problem-111: No data uploaded.
There is no file ecco_key.arr in the ecowitt directory.
Could you pls. help to find a solution.
Regards Juergen

Hi Jurgen

Welcome to the forum.

There is more information needed to help you solve this situation:

  1. Do you have an URL to your PWS_Dashboard website?
    Please post here, that makes debugging far easier
  2. Does your Ecowitt weather-station sends the data correct to your FOSHKplugin?
  3. Does your Ecowitt station uses Ecowitt custom upload with the Ecowitt protocol?
  4. Is the uploaded data visible in your FOSHKplugin and is it correct?
  5. Is FOSHKplugin uploading the data to your PWS_Dashboard website with the Ecowitt protocol? The WU protocol will not work.
  6. Is your PWS_Dashboard server using HTTP or HTTPS ?

From the FOSHKplugin documentation. Please check the FWD_TYPE setting

[Forward-n]
FWD_URL =                 # URL of destination
FWD_INTERVAL =        # interval in seconds in which lines will be forwarded
FWD_IGNORE = ""       # comma-separated list of fields to not forward
FWD_TYPE= ""            # WU/UDP/LD/RAW/EW/RAWEW/RAWUDP - WU: WU-format; UDP: UDP-String will be forwarded (default); LD: PM2.5 luftdaten.info; EW: Ecowitt; RAWEW: Ecowitt untouched; RAW: as input; RAWUDP: RAW via UDP
FWD_SID = ""             # SensorID for luftdaten.info

For the forwarding of the original Ecowitt stream, only the destination (FWD_URL) and the type (FWD_TYPE) have to be defined. The other parameters are optional.


IMHO, you should first test the direct upload from your Ecowitt station to your PWS_Dashboard website. Without the “man in the middle” FOSHKplugin.
If that works you can than insert the FOSHKplugin to get all the extra facilities.


The error messages

Problem-77: NO PASSKEY found.

The PASSKEY field contains the most important uploaded item: the ecowitt station-ID. That field should always be there as it is used to distinguish between real station data-uploads and bots or other nasty accesses.

I am not familiar with FOSHKplugin, but maybe there is a setting to not upload that item. Please check that.

Problem-101: Item in upload: with value between next brackets =><= is invalid

There is another “need to be there” item. Default it is outside temperature.
Without this item all data is rejected. This is used to discard data when the station was restarting or installing new firmware a.s.o.


Succes,
Wim


@ ALL

More information about FOSHKplugin - generic version

It seems that Juergen is using this facility to feed a PWS_Dashboard website. But it can do a lot more.

Thanks for the helpful comments. After thinking about the experience so far I decided to follow another architecture.
Thanks again!