You could look at weewx-windy to write the extension.  You derive from weewx.restx.StdRESTful (windy used the old, equivalent name of StdRESTbase).  You can copy the code from StdWunderground in restx.py; but, as previously stated, I don’t believe you should derive from StdWunderground as this new upload service is not inherently WU.

On Nov 13, 2025, at 10:55 AM, vince <[email protected]> wrote:

Nope - looking for general guidance from anybody.  Thanks.
The WOW-BE example is certainly a good place to start at least initially.

If there's a good extension variant to try as a different way to get there, let me know.  Email's ok too.

On Thursday, November 13, 2025 at 10:44:07 AM UTC-8 John Kline wrote:
Hi Vince,

I know that you are looking for advice from Tom and perhaps Matthew, but, just as I did with the WOW-BE, I’ll throw in my two cents.

“These uploads are the same” is only at a point in time.  Indeed, WOW-BE diverged from WOW even before we implemented it on the WeeWX side.

In this instance we have the same upload with just the URL differing.  But what if the upload changes?  Or what if the WU upload changes and hwaportal.nl doesn’t also implement the change.  These aren’t inherently WU uploads (and WOW-BE isn’t inherently a WOW upload).  As such, I don’t think you should be deriving this new upload from WU.

There is something to be said for a generic upload function where you specify the URL and a mapping of what is to be sent and the format to send it in (e.g., json); but this is a good about of work and it may or may not be able to support any and all uploads.

On the other hand, these uploads are so easy to write as extensions.  And there’s a bonus, someone gets to own them.

Cheers,
John

On Nov 13, 2025, at 10:00 AM, vince <[email protected]> wrote:

(oops - blasted web interface - deleted truncated post - sorry)

update - Anton sent me the details via email, so I had a question regarding re: what approach makes most sense.   I volunteered to at least take a pass at it for him.

In summary - he wants a WU upload with a different URL that is assembled from their base url and the identifier for the station, plus of course indicating weewx as the software type

WU example - https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=KCASANFR5&PASSWORD=XXXXXX&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windspeedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=vws%20versionxx&action="">

HWA desired goal - https://hwaportal.nl/weatherstation/HWA12345/index.php?ID=HWA&PASSWORD=12345&dateutc=2000-01-01+10%3A32%3A35&winddir=230&windspeedmph=12&windgustmph=12&tempf=70&rainin=0&baromin=29.1&dewptf=68.2&humidity=90&weather=&clouds=&softwaretype=weewx%20versionxx&action="">
I wonder if we are approaching having too many similar WU-like things at this point and perhaps having the ability to have a somewhat more generic WU(like) uploader might make sense ?   Perhaps have a weewx.conf stanza that lets them specify a base url to the left of the first '?' would be all that is needed ?

Or should I basically clone the recent WOW-BE additions and add a lot of new HWA similar additions ?

Asking for a little guidance here please... 

On Wednesday, November 12, 2025 at 1:56:01 PM UTC-8 vince wrote:
I’m sorry, I do not understand at all. Perhaps run your Dutch through Google Translate if you want to continue this thread. I looked at the HWA forums through translate briefly but I am not sure if they are helpful or not.

If you are using an Ecowitt gateway you can possibly set your gateway to do a custom upload using the gateway itself, but you have provided no information about your station so I can’t help much. Sorry.

On Wednesday, November 12, 2025 at 1:05:33 PM UTC-8 Anton vanNwnhzn@GMail wrote:

Vince,

Clear.
Different type of interface for uploading towards HetWeerActueel is already available & operational, applying (S)FTP.
No more questions in this group for CustomUpload as alternative, simpler interface from WeeWX towards HetWeerActueel under application of http-GET similar to WU-interface.

Op 12-11-2025 om 16:55 schreef vince:
Again, look at the example weewx.conf for what is required to send to the various remote sites.  Look after line 80 in https://github.com/weewx/weewx/blob/master/src/weewx_data/weewx.conf

I answered your URL question yesterday. You cannot set a custom URL. The well known URLs for the services are hard coded into weewx’s python code.

You also cannot set individual custom intervals. The uploaders run at the station’s set interval which is typically 5 minutes for many stations.

I’m still not understanding exactly what you want, but if you are looking for something like the ecowitt web interface Custom Servers feature, no. Weewx does not work like that.

On Tuesday, November 11, 2025 at 11:07:07 PM UTC-8 Ton vanN wrote:
How about setup for different url and other interval?

Op wo 12 nov 2025 03:04 schreef John Smith <[email protected]>:
As of weeWX 5.2.0 it natively supports WU and WOW and WOW-BE already, you just need to update the config with userid/passcode/passwords and off you go...

On Wed, 12 Nov 2025 at 07:55, Anton vanNwnhzn@GMail <[email protected]> wrote:

Vince,

Reading your response, due to similarity probably need to discuss with the custodian of the development version of WeeWX whether possible to add one more variant of the WU/WOW--uploadservice.
Alternatively must 'tune' one of the user-developed possibilites.

Op 11-11-2025 om 19:24 schreef vince:
Not quite that way.

You typically just need to edit weewx.conf to enable uploading to any services you desire as well as editing in your credentials for the remote service.
  • There are a number of remote services built into weewx itself if you look at the [StdRESTful] section of weewx.conf (link) - these currently include AWEKAS, CWOP, PWSweather, WOW, WOW-BE, Wunderground.  The protocols they use and the URLs they upload to are hardcoded into the uploader code that comes with weewx.
  • There are about 30 more user-developed possibilities listed in the wiki (link) if you look in the 'uploaders' section near the bottom of the page.  You typically would need to add these as service extensions and similarly edit weewx.conf to enable the one(s) you want as well as specifying.
I don't know if there is a generic uploader that works in the way you're asking about specifically.

On Tuesday, November 11, 2025 at 9:37:54 AM UTC-8 Ton vanN wrote:
Have looked in user guide and in  this group (without hits) for presence/hints related to such thing as a Custome Server setup, like some PWSes have.
Functionally:
- insert a designation-url
- insert an ID
- insert a PW
- insert interval
- insert protocol-selection [e.g. WU-protocol or Ecowitt-protocol]
=> periodic output as http-datastring in selected protocol

Does such function exist for WeeWX, or must WeeWX be 'tuned' for any specific destination [like for WUnderground, WOW and WOW-BE]?
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/0152f97d-d173-4dd4-b5de-5fa92c619c91n%40googlegroups.com.
-- 

===============================================================
Contactinfo voor Anton van Nieuwenhuijzen:
Email    = [email protected]   
===============================================================
Deze E-mail en eventuele aanhangende files zijn 
alleen bestemd voor de geadresseerde(n). 
Als je deze E-mail ten onrechte hebt ontvangen, 
dan aub verwijderen en de afzender informeren.
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/5ef2bb65-356f-4a15-88f7-1eca2818ef68%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
-- 

===============================================================
Contactinfo voor Anton van Nieuwenhuijzen:
Email    = [email protected]   
===============================================================
Deze E-mail en eventuele aanhangende files zijn 
alleen bestemd voor de geadresseerde(n). 
Als je deze E-mail ten onrechte hebt ontvangen, 
dan aub verwijderen en de afzender informeren.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/bf2e10fb-2e55-4829-9235-da30410093aen%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/0B69D825-7E75-4133-8D7B-35A707C33533%40johnkline.com.

Reply via email to