[weewx-user] Belchertown skin - Feels Like Temperature

2021-02-26 Thread Christian Gruber
hello,

i want to display here the column "thsw" from the database, can i change 
this in weewx.conf somehow?

[image: feelslike.JPG]
regards,
chris

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b966b2dd-23f8-412d-96c0-49df762d8cdfn%40googlegroups.com.


[weewx-user] Re: Belchertown skin - Feels Like Temperature

2021-02-26 Thread Karen K
In /etc/weewx/skins/Belchertown/index.html.tmpl, line 192. replace 
`$current.appTemp` by the desired value. 
In /etc/weewx/skins/Belchertown/js/belchertown.js.tmpl, line 1547, replace 
the same, but be aware of the "_C" at the end.

I hope, that are all occurences of appTemp.

grua...@gmail.com schrieb am Freitag, 26. Februar 2021 um 10:13:35 UTC+1:

> hello,
>
> i want to display here the column "thsw" from the database, can i change 
> this in weewx.conf somehow?
>
> [image: feelslike.JPG]
> regards,
> chris
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c0f1dd12-f190-4fee-a628-ccdf2f940dadn%40googlegroups.com.


[weewx-user] Re: Belchertown skin - Feels Like Temperature

2021-02-26 Thread Christian Gruber
tried now to replace it just with the column-name, but this doesnt work - 
the column-name is just displayed then

how can i find out the name from the value i want to use? in database it's 
called "thsw"
kk44...@gmail.com schrieb am Freitag, 26. Februar 2021 um 10:36:35 UTC+1:

> In /etc/weewx/skins/Belchertown/index.html.tmpl, line 192. replace 
> `$current.appTemp` by the desired value. 
> In /etc/weewx/skins/Belchertown/js/belchertown.js.tmpl, line 1547, replace 
> the same, but be aware of the "_C" at the end.
>
> I hope, that are all occurences of appTemp.
>
> grua...@gmail.com schrieb am Freitag, 26. Februar 2021 um 10:13:35 UTC+1:
>
>> hello,
>>
>> i want to display here the column "thsw" from the database, can i change 
>> this in weewx.conf somehow?
>>
>> [image: feelslike.JPG]
>> regards,
>> chris
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ecd887fb-dae7-4e4b-8984-564b61554b97n%40googlegroups.com.


[weewx-user] Re: Belchertown skin - Feels Like Temperature

2021-02-26 Thread Karen K
"current" is needed. If the value is called "thsw" within the database, the 
tag would be `$current.thsw`

grua...@gmail.com schrieb am Freitag, 26. Februar 2021 um 11:19:19 UTC+1:

> tried now to replace it just with the column-name, but this doesnt work - 
> the column-name is just displayed then
>
> how can i find out the name from the value i want to use? in database it's 
> called "thsw"
> kk44...@gmail.com schrieb am Freitag, 26. Februar 2021 um 10:36:35 UTC+1:
>
>> In /etc/weewx/skins/Belchertown/index.html.tmpl, line 192. replace 
>> `$current.appTemp` by the desired value. 
>> In /etc/weewx/skins/Belchertown/js/belchertown.js.tmpl, line 1547, 
>> replace the same, but be aware of the "_C" at the end.
>>
>> I hope, that are all occurences of appTemp.
>>
>> grua...@gmail.com schrieb am Freitag, 26. Februar 2021 um 10:13:35 UTC+1:
>>
>>> hello,
>>>
>>> i want to display here the column "thsw" from the database, can i change 
>>> this in weewx.conf somehow?
>>>
>>> [image: feelslike.JPG]
>>> regards,
>>> chris
>>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ae9880b8-a1f3-4d7c-958a-b4ca7c03c378n%40googlegroups.com.


[weewx-user] Re: Belchertown skin - Feels Like Temperature

2021-02-26 Thread Christian Gruber
great, its working, thx a lot!

kk44...@gmail.com schrieb am Freitag, 26. Februar 2021 um 11:28:35 UTC+1:

> "current" is needed. If the value is called "thsw" within the database, 
> the tag would be `$current.thsw`
>
> grua...@gmail.com schrieb am Freitag, 26. Februar 2021 um 11:19:19 UTC+1:
>
>> tried now to replace it just with the column-name, but this doesnt work - 
>> the column-name is just displayed then
>>
>> how can i find out the name from the value i want to use? in database 
>> it's called "thsw"
>> kk44...@gmail.com schrieb am Freitag, 26. Februar 2021 um 10:36:35 UTC+1:
>>
>>> In /etc/weewx/skins/Belchertown/index.html.tmpl, line 192. replace 
>>> `$current.appTemp` by the desired value. 
>>> In /etc/weewx/skins/Belchertown/js/belchertown.js.tmpl, line 1547, 
>>> replace the same, but be aware of the "_C" at the end.
>>>
>>> I hope, that are all occurences of appTemp.
>>>
>>> grua...@gmail.com schrieb am Freitag, 26. Februar 2021 um 10:13:35 
>>> UTC+1:
>>>
 hello,

 i want to display here the column "thsw" from the database, can i 
 change this in weewx.conf somehow?

 [image: feelslike.JPG]
 regards,
 chris

>>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6bd5929b-764b-48df-8a79-8935e625ea96n%40googlegroups.com.


Re: [weewx-user] Bootstrap skin update preview

2021-02-26 Thread Auchtermuchty Weather
I see the colour on first cell only problem is fixed, I like the new 
images. I'll give it a go.

BTW I had problems installing an earlier version as:

   1. import Image cause an error, and the way to resolve it (apt-get) in 
   the FAQ didn't work on a brand new Raspbian installation.  I suspect 
   systems that have been upgraded already had the necessary library.  This 
   URL seems to cover the necessary gound:  Why can't Python import Image 
   from PIL? - Stack Overflow 
   

   2. Again probably because I started with a new Raspbian image, I didn't 
   have the necessary font loaded.  I put my solution to this in 'issues'.

I've got a spare SD card, I think I might start over to install this as 
I've messed around somewhat.  I copied the database over from my live 
system to get realistic data rather than turn on the simulator.


-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4caf2fea-eb7b-42f7-a652-2e100c755053n%40googlegroups.com.


Re: [weewx-user] Re: Replaced Davis Envoy (tripping) and replaced with another - no connection

2021-02-26 Thread Tom Keffer
Monmul, we have not definitively heard whether or not you are able to do
the test listed under *Establishing connectivity
*
in
the Wiki.That is an essential first step.

Use either screen or minicom. You may have to preface the command with 'sudo'.
For example,


*sudo screen /dev/ttyUSB0 19200*

-tk

On Thu, Feb 25, 2021 at 7:34 PM monmul  wrote:

> Feb 26 16:31:31 WeatherPi systemd[1]: Starting LSB: weewx weather system...
> Feb 26 16:31:32 WeatherPi weewx[17966] INFO __main__: Initializing weewx
> version 4.4.0
> Feb 26 16:31:32 WeatherPi weewx[17966] INFO __main__: Using Python 2.7.13
> (default, Aug 22 2020, 10:03:02) #012[GCC 6.3.0 20170516]
> Feb 26 16:31:32 WeatherPi weewx[17966] INFO __main__: Platform
> Linux-4.19.66-v7+-armv7l-with-debian-9.13
> Feb 26 16:31:32 WeatherPi weewx[17966] INFO __main__: Locale is
> 'en_NZ.UTF-8'
> Feb 26 16:31:32 WeatherPi weewx[17966] INFO __main__: PID file is
> /var/run/weewx.pid
> Feb 26 16:31:32 WeatherPi weewx[17954]: Starting weewx weather system:
> weewx.
> Feb 26 16:31:32 WeatherPi systemd[1]: Started LSB: weewx weather system.
> Feb 26 16:31:32 WeatherPi weewx[17971] INFO __main__: Using configuration
> file /etc/weewx/weewx.conf
> Feb 26 16:31:32 WeatherPi weewx[17971] INFO __main__: Debug is 1
> Feb 26 16:31:32 WeatherPi weewx[17971] DEBUG __main__: Initializing engine
> Feb 26 16:31:32 WeatherPi weewx[17971] INFO weewx.engine: Loading station
> type Vantage (weewx.drivers.vantage)
> Feb 26 16:31:32 WeatherPi weewx[17971] DEBUG weewx.drivers.vantage: Driver
> version is 3.2.1
> Feb 26 16:31:32 WeatherPi weewx[17971] DEBUG weewx.drivers.vantage: Option
> loop_request=1
> Feb 26 16:31:32 WeatherPi weewx[17971] DEBUG weewx.drivers.vantage: Opened
> up serial port /dev/ttyUSB0; baud 19200; timeout 4.00
> Feb 26 16:31:36 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from
> fe80::724f:57ff:feb7:82a1
> Feb 26 16:31:36 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
> Feb 26 16:31:36 WeatherPi weewx[17971] DEBUG weewx.drivers.vantage: Retry
> #0 failed
> Feb 26 16:31:40 WeatherPi weewx[17971] DEBUG weewx.drivers.vantage: Retry
> #1 failed
> Feb 26 16:31:44 WeatherPi weewx[17971] DEBUG weewx.drivers.vantage: Retry
> #2 failed
> Feb 26 16:31:45 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from
> fe80::724f:57ff:feb7:82a1
> Feb 26 16:31:45 WeatherPi dhcpcd[372]: wlan0: soliciting a DHCPv6 lease
> Feb 26 16:31:48 WeatherPi weewx[17971] DEBUG weewx.drivers.vantage: Retry
> #3 failed
> Feb 26 16:31:48 WeatherPi weewx[17971] ERROR weewx.drivers.vantage: Unable
> to wake up console
> Feb 26 16:31:48 WeatherPi weewx[17971] ERROR weewx.engine: Import of
> driver failed: Unable to wake up Vantage console ( 'weewx.WakeupError'>)
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
> Traceback (most recent call last):
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
> File "/usr/share/weewx/weewx/engine.py", line 119, in setupStation
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
>   self.console = loader_function(config_dict, self)
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
> File "/usr/share/weewx/weewx/drivers/vantage.py", line 39, in loader
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
>   return VantageService(engine, config_dict)
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
> File "/usr/share/weewx/weewx/drivers/vantage.py", line 1898, in __init__
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
>   Vantage.__init__(self, **config_dict[DRIVER_NAME])
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
> File "/usr/share/weewx/weewx/drivers/vantage.py", line 515, in __init__
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
>   self._setup()
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
> File "/usr/share/weewx/weewx/drivers/vantage.py", line 1317, in _setup
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
>   self.port.wakeup_console(max_tries=self.max_tries)
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
> File "/usr/share/weewx/weewx/drivers/vantage.py", line 118, in
> wakeup_console
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
>   raise weewx.WakeupError("Unable to wake up Vantage console")
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL weewx.engine: 
> WakeupError: Unable to wake up Vantage console
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL __main__: Unable to load
> driver: Unable to wake up Vantage console
> Feb 26 16:31:48 WeatherPi weewx[17971] CRITICAL __main__: 
> Exiting...
> Feb 26 16:31:50 WeatherPi dhcpcd[372]: wlan0: Router Advertisement from
> fe80::724f:57ff:feb7:82a1
> Feb 26 16:31:50

[weewx-user] WE4000SE WiFi Intercept without network connection

2021-02-26 Thread Max
 

Hello,

I'm trying to use a Froggit WH4000SE in combination with a raspberry pi 3+ 
and weewx to intercept data over WiFi. The raspberry pi is configured as 
access-point, running weewx 4.2.0 and the interceptor driver to accept 
ecowit-protocoll messages on 192.168.30.1:8000. The Froggit station 
(192.168.30.19) is configured to send data to this address and port using 
WS View.

Now to the problem itself: When the raspberry pi is connected over Ethernet 
(and traffic is sent trough), the weather station and weewx work as 
intended. The corresponding POST messages are sent and data is processed. 
However when the raspberry pi is not connected over Ethernet, weewx is only 
receiving empty queues. 

After some traffic analysis, I suppose that there is some kind of handshake 
or perquisite to be done before the station provides corresponding data 
after a restart. It becomes apparent that a TCP request to 
47.102.253.116:80 (rtpdate.ecowitt.com) is done repeatedly and also 
different calls to ntp servers from baidu, google and amazon. Is there some 
driver for weewx that can emulate such a handshake locally or is there 
another way to get the station to send weather data?

Best regards,

Max








-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/2adbc7d0-220a-4b9b-a2a8-a4ea528f2648n%40googlegroups.com.


[weewx-user] Re: WE4000SE WiFi Intercept without network connection

2021-02-26 Thread vince
On Friday, February 26, 2021 at 6:30:46 AM UTC-8 Max wrote:

> After some traffic analysis, I suppose that there is some kind of 
> handshake or perquisite to be done before the station provides 
> corresponding data after a restart. It becomes apparent that a TCP request 
> to 47.102.253.116:80 (rtpdate.ecowitt.com) is done repeatedly and also 
> different calls to ntp servers from baidu, google and amazon. Is there some 
> driver for weewx that can emulate such a handshake locally or is there 
> another way to get the station to send weather data?
>
> There's not going to be anything weewx can do for this one.

Sounds like you're running into the watchdog timers in the Ecowitt hardware 
needing to phone home to China.

There's a long discussion on wxforum.net 
at https://www.wxforum.net/index.php?topic=40437.0 (read reply 11 
specifically).
 
The firmware uses a HTTP transaction to detect if they have Internet 
connectivity and then some NTP transactions to set the clock on the 
hardware so they can roll over accumulated rain at local midnight.   
 Neither can be disabled by the user.

Ecowitt has declined multiple requests to turn this off or alternately make 
it user-configurable and optional, but at least they've responded with what 
the firmware expects to see, so folks have cooked up a way to fake it out, 
although it's not trivial to do:

* set up a fake web server that responds to the web part as the firmware 
expects
* set up a fake time server so it can then get time of day on your LAN only
* fake out DNS with dnsmasq or the like so their expected hostnames resolve 
to your fake services

Not easy to do but some folks in the thread on wxforum.net have gotten 
there.

I might add that it seems like the gear might also check for firmware 
updates as well, but it's uncertain to me how that works or if that has 
another watchdog timer that needs to do something else in there.

(and yeah - this kind of stuff is really disturbing)

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0d6ec3ae-457d-4929-bc85-2f10227d9012n%40googlegroups.com.


[weewx-user] Webpage not updating

2021-02-26 Thread Yenten Trosschaert
I am a college student in my senior year, I am using the raspberry pi in a 
schoolproject. Our webpage will no longer make an update. We don't know 
what the problem is. We are using Weewx 4.2.0 and we are working with 
arduinoPWS. The last webpage update was 19/01/2021 5:10:00 PM.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e83aa7ed-4944-43b2-934d-5d06402fdf58n%40googlegroups.com.


weewx.log.docx
Description: MS-Word 2007 document


var log.docx
Description: MS-Word 2007 document


Re: [weewx-user] Webpage not updating

2021-02-26 Thread Tom Keffer
I don't know anything about Arduno-pws, but one thing that stands out are
the large jumps in time in your log. So, one possibility is that there is a
time mismatch between the real (wall clock) time, your computer, and/or the
arduino.

Or, did you heavily edit the log? If so, post the real log from a cold
restart of weewx, through the first reporting interval.

-tk

On Fri, Feb 26, 2021 at 11:42 AM Yenten Trosschaert <
yententrosscha...@gmail.com> wrote:

> I am a college student in my senior year, I am using the raspberry pi in a
> schoolproject. Our webpage will no longer make an update. We don't know
> what the problem is. We are using Weewx 4.2.0 and we are working with
> arduinoPWS. The last webpage update was 19/01/2021 5:10:00 PM.
>
> --
> 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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/e83aa7ed-4944-43b2-934d-5d06402fdf58n%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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEC3ePbfczskfT-L2sx-PSROrYWMzbYdC7mbQwtx2s3zXg%40mail.gmail.com.