Yes, that's true. It's a singleton.

On Thu, Nov 13, 2025 at 3:43 PM vince <[email protected]> wrote:

> Thanks Tom.  Quick test seems to look ok with an added server_url
> specified but I'll do more testing to verify for certain.
>
> However - this means the user would have to upload to the 'custom' site or
> the 'real' Wunderground, not both of them if they want to do that.
>
> To support both, wouldn't I still need to add code to restx.py, a stanza
> in weewx.conf, and an addition to restful_services to run a new thread for
> a newly defined [[HWA]] location to upload to ?
>
> On Thursday, November 13, 2025 at 2:23:05 PM UTC-8 Tom Keffer wrote:
>
>> Yeah, we thought of that. If you want a different URL, you can specify it
>> with an option `server_url`. Mind you, I've never tested it, but it should
>> work.
>>
>> -tk
>>
>> [[Wunderground]]
>>     # This section is for configuring posts to the Weather Underground.
>>
>>     # If you wish to post to the Weather Underground, set the option
>>     # 'enable' to true,  then specify a station (e.g., 'KORHOODR3'). Use
>>     # the station key (find it at
>>     # https://www.wunderground.com/member/devices) for the password.
>>     enable = false
>>     station = replace_me
>>     password = replace_me
>>     server_url = https://something-else.com
>>
>>
>>     # Set the following to True to have weewx use the WU "Rapidfire"
>>     # protocol. Not all hardware can support it. See the User's Guide.
>>     rapidfire = False
>>
>>
>> On Thu, 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 - 
>>> *ht**tps://weatherstation.wunderground.com/weatherstation/updateweatherstation.php
>>> <http://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=updateraw*
>>>
>>> HWA desired goal - *https://hwaportal.nl/weatherstation/HWA12345/index.php
>>> <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=&s
>>> *oftwaretype=weewx%20versionxx*&action=updateraw
>>> 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)
>>>>>>>>    
>>>>>>>> <https://github.com/weewx/weewx/blob/master/src/weewx_data/weewx.conf> 
>>>>>>>> -
>>>>>>>>    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) <https://github.com/weewx/weewx/wiki> 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
>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/0152f97d-d173-4dd4-b5de-5fa92c619c91n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> ===============================================================
>>>>>>>> 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
>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/5ef2bb65-356f-4a15-88f7-1eca2818ef68%40gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>> --
>>>>>>> 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/CAGTinV689cmtmH6P4-isgaPWgOTm4zcKSpNNKoZj6fumRALKzg%40mail.gmail.com
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/CAGTinV689cmtmH6P4-isgaPWgOTm4zcKSpNNKoZj6fumRALKzg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>> --
>>>>> 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/8b212140-7642-4cc2-9b7a-25c2261bd937n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/8b212140-7642-4cc2-9b7a-25c2261bd937n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>> --
>>>>>
>>>>> ===============================================================
>>>>> 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/18f9a9b0-9e0c-4848-8b05-3b5290a978f1n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/18f9a9b0-9e0c-4848-8b05-3b5290a978f1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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/c305f3ac-fbe7-43e8-bd58-8d7fbbbe59c1n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/c305f3ac-fbe7-43e8-bd58-8d7fbbbe59c1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAPq0zEAQOYBj5fbFjUpvifr0LKHLrQpOUC-mKP-BgJPNvLisgg%40mail.gmail.com.

Reply via email to