I think you are going to run into a few challenges doing what you want. The 
CWOP uploader uploads a fixed set of obs, if you want to change this you 
will need to modify the CWOP uploader code in weewx/restx.py (refer class 
StdCWOP 
<https://github.com/weewx/weewx/blob/master/bin/weewx/restx.py#L1108> and class 
CWOPThread 
<https://github.com/weewx/weewx/blob/master/bin/weewx/restx.py#L1146>). 
There are no user configurable options for limiting the uploaded fields. I 
have no idea if CWOP will accept a cut down suite of obs, CWOP is not a 
service I use nor am I familiar with it.

In terms of removing the 'weewx 4 simulator' comment, this is hard coded in 
the CWOP uploader (WeeWX, WeeWX version and station type). Station type is 
picked up from the driver, so you either need to find a BME280 driver (you 
have a BME280 service witch is quite distinct from a driver) or you need to 
change the CWOP uploader code.

If you end up modifying code I strongly suggest your final solution involve 
sub-classing the CWOP uploader, this will prevent future WeeWX updates 
possibly overwriting your code.

Gary
On Tuesday, 30 May 2023 at 07:36:57 UTC+10 [email protected] wrote:

> I did install the extention/service bme280,wx and it works , but how do i 
> stop weewx for running the simulator
>
> On Monday, May 29, 2023 at 3:35:21 PM UTC+2 Mark Fraser wrote:
>
>> On 29/05/2023 13:27, [email protected] wrote: 
>> > I have no weather-station connected to weewx. but running a BME280 as a 
>> > service and reporting to CWOP. 
>> > 
>> > how can I change the comment from weewx 4 simulator , to BME280? 
>> > how only to report the readings from BME280 (temp, Hym, bao) to CWOP , 
>> > and not all the simulated date like wind and rain? 
>> > 
>> > greetings from a sunny day. 
>>
>> You could try installing https://gitlab.com/wjcarpenter/bme280wx and 
>> setting all of the must_have options to empty strings. 
>>
>>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/473dde2f-a25a-449d-81dd-10f71b3940f7n%40googlegroups.com.

Reply via email to