[weewx-development] Re: A strange way to "read a station"

2017-03-15 Thread Ian Boag
I did the FileParse thing - manual setup - data in /home/pi/obs.txt I know it gets read - lines like 'windDir'=250.0 - because when I had quotes around the number bit, there was an error message in /var/log/syslog - unable to parse etc But nothing appears in the html file On Thurs

Re: [weewx-development] weewx 3.7.0 release trauma question

2017-03-15 Thread Thomas Keffer
True. Generally, if a change is going to break something, we document it in the Upgrade Guide. Unfortunately, the xsearch move and rename was not. Another oversight, which has now been corrected . -tk On Wed, Mar 15

[weewx-development] Re: A strange way to "read a station"

2017-03-15 Thread Ian Boag
OK. Looks pretty simple. I might even be able to make it work :-) On Thursday, March 16, 2017 at 10:42:30 AM UTC+13, mwall wrote: > > > > On Wednesday, March 15, 2017 at 5:24:23 PM UTC-4, Ian Boag wrote: >> >> I think I have it . >> >> In simulator.py . getLoopPackets >> >> for obs_ty

Re: [weewx-development] Re: continuation of discussion on wxMesh MQTT

2017-03-15 Thread Frederic Stuyk
That's great! Thanks for the information! So I don't see much more to say, any opinions about the code? I'm a noob in python and may have missed some important stuff. So far I was considering to clear the "receive buffer" right after data = self.receive_buffer Then if a mqtt message arrives duri

[weewx-development] Re: continuation of discussion on wxMesh MQTT

2017-03-15 Thread mwall
On Sunday, March 12, 2017 at 6:49:17 AM UTC-4, Wysiwyg wrote: > > This has no meaning and I guess it would be better to filter. > also it may happens that some mqtt topics may be not for weewx but for > other personnal use. > > I would like to check if a key is existing in weewx schema before put

[weewx-development] Re: continuation of discussion on wxMesh MQTT

2017-03-15 Thread Wysiwyg
No help for the dictionary question?

[weewx-development] Re: A strange way to "read a station"

2017-03-15 Thread mwall
On Wednesday, March 15, 2017 at 5:24:23 PM UTC-4, Ian Boag wrote: > > I think I have it . > > In simulator.py . getLoopPackets > > for obs_type in self.observations: > _packet[obs_type]=self.observations ... blah .. blah > > Hijacking this looks like it should work . ? > just use

[weewx-development] Re: A strange way to "read a station"

2017-03-15 Thread Ian Boag
I think I have it . In simulator.py . getLoopPackets for obs_type in self.observations: _packet[obs_type]=self.observations ... blah .. blah Hijacking this looks like it should work . ? On Thursday, March 16, 2017 at 9:48:19 AM UTC+13, Ian Boag wrote: > > > > On Thursday, March 9

[weewx-development] Re: A strange way to "read a station"

2017-03-15 Thread Ian Boag
On Thursday, March 9, 2017 at 2:14:32 AM UTC+13, mwall wrote: > > On Tuesday, March 7, 2017 at 11:36:53 PM UTC-5, Ian Boag wrote: >> >> Not sure where to start - the obvious place is the fousb.py driver and >> have it go to a file with the downloaded query in it (instead of talking to >> the st

[weewx-development] Re: Hijacking the simulator driver

2017-03-15 Thread Ian Boag
Oops. I see I have replies from an earlier query. My bad. Sorry On Thursday, March 16, 2017 at 9:10:59 AM UTC+13, Ian Boag wrote: > > I have a Pi running weewx. I want to run it without a connected weather > station. The weather data will be scraped at regular intervals off some > other st

[weewx-development] Hijacking the simulator driver

2017-03-15 Thread Ian Boag
I have a Pi running weewx. I want to run it without a connected weather station. The weather data will be scraped at regular intervals off some other stations. I can do the scraping. Why? I have been running an FO + 4 cameras as airfield weather stations. Some of these fields have better (com

[weewx-development] weewx 3.7.0 release trauma question

2017-03-15 Thread Vince Skahan
I know 3.7.0 has a lot more stuff in it than a typical release, but it feels like it's been a bit more traumatic than usual too for the users. For the future, might it be possible to tweak the changelog a little ala: Changes the admins/users will notice Internals changes likely no

[weewx-development] Re: update weewx-database

2017-03-15 Thread Hartmut Schweidler
Hallo Gary, the result root@acer:/home/weewx/bin/user# ./weewxwd_config --clear-v2-data --wx-binding=wx_binding Using configuration file /home/weewx/weewx.conf Using database binding 'wx_binding', which is bound to database 'archive_mysql' Using database binding 'wd_binding', which is bound to

[weewx-development] Re: update weewx-database

2017-03-15 Thread gjr80
Forgot to attach the file. Here it is. Gary weewxwd_config Description: Binary data

[weewx-development] Re: update weewx-database

2017-03-15 Thread gjr80
Hallo Hartmut, I have been unable to reproduce your error, even using the files you posted. I have adedd a few debug lines into weewxwd_config, it will do a couple of queries after removing the extraTemp1 and extraTemp2 data and print out some info on the state of extraTemp1 and extraTemp2. Co