[weewx-user] Re: Steel Series Gauges and RealTime update - 2.5 second interval - how?

2017-06-19 Thread Steve2Q
Gary..I think I answered my own question. I didn't search deep enough 
yesterday, but I found the info on some separate posts dealing with making a 
Wunderground type windspeed/direction gauge. 
I will start tomorrow. 
Steve 

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Logs on OSX El Cap/10.11.x

2017-06-19 Thread Ned
For me, they're in:

/Library/Logs/weewx.log

and 

/var/log/system.log




On Friday, June 16, 2017 at 6:17:14 PM UTC-6, Dan'l B wrote:
>
> I set up a test install on OSX, which I have done before but this time 
> Console will not display any WeeWx log messages even when Debug is set to 
> 1. Has anyone worked out how to view the log messages from WeeWx in OSX El 
> Cap (or more recent)?
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Adding data from homemade wireless sensors to weewx

2017-06-19 Thread Craig Thom
Thanks.  My question is really about getting the data into weewx, but I'll 
worry about that later.

After another message about the sensors themselves, I've decided to go with 
low power 915MHz radio using the mysensors org protocol.  I should be able 
to get many months from 3xAA batteries.  The parts are coming from China, 
so I've got a month or two to think about getting them into weewx.  It will 
probably be after the eclipse, since I'll be spending increasing time 
testing the hardware and software to photograph it.

So sensors through mysensors hub to MQTT broker, and then somehow into 
weewx.  In August.

On Wednesday, June 14, 2017 at 11:28:27 AM UTC-4, Paul Bartholdi wrote:
>
> Hello,
>
> It could be good to have a look at "http://www.yoctopuce.com";. The 
> company is based in Geneva, Switzerland, but send products worldwide, with 
> typical Swiss high quality. They have extremely low power hubs usb --> 
> Ethernet, gsm or WiFi, which can put all the boards asleep and wake up only 
> on command from central PC. Boards include barometer, temperature(s), 
> humidity, light and many other possibilities not so much related to weather 
> station. Software exists for most high level languages (C, C++, Java, 
> Python, shell (bash) etc.).
> MQTT looks very interesting, but I had no time yet to play with it.  To 
> interface other programs with weewx data, I simply interrogate the database 
> (mysql).
> Hope this helps. Paul
>
> On Tuesday, June 13, 2017 at 3:53:48 PM UTC+2, Craig Thom wrote:
>>
>> tl;dr What's the best way of getting home brew wireless sensor data into 
>> weewx?
>>
>> I plan to build a soil moisture (and temperature) sensor for my garden 
>> bed.  I'll likely build another for leaf wetness and UV index, because the 
>> sensors are cheap and it will be fun.
>>
>> The question is how best to get this data to weewx.  I am already using 
>> the SDR driver for my Acurite 5-in-1 and additional sensors.
>>
>> I could use a 433MHz transmitter.  I think, though, I'd have to decide on 
>> how to make a packet, then modify rtl_433 to recognize that packet, then 
>> modify SDR.py to use that new rtl_433 packet.  This seems pretty 
>> complicated.
>>
>> Or, since these sensors will be within range of wifi, I could use an 
>> ESP2866.  This is attractive because the microcontroller for reading the 
>> sensor and processing the data is in the same package.  I really like this 
>> idea.
>>
>> But how do I get the data to weewx?
>>
>> Because the sensor will be running on batteries (and maybe solar cells 
>> for the UV/leaf wetness one), I do not want to turn on the wifi radio 
>> except when absolutely necessary, so weewx will not be able to initiate 
>> contact.
>>
>> My first thought was to use ftp, so the sensor connects to an FTP server 
>> on my network, probably on the RPi running weewx, and dumps a file.  Then I 
>> could write a service within weewx to check for that file, read it, and add 
>> the data to the LOOP packet.
>>
>> But I was reading through old discussions here, and I found one using 
>> MQTT as a source for weewx.  There was no resolution reached, other than 
>> some references to weeRT that I didn't really understand (and weeRT is a 
>> lot harder to Google than weewx).  
>>
>> MQTT is attractive because it's a standard, and other things could 
>> subscribe to the sensor data (like a home automation program, or something 
>> that will turn on the water to the garden bed).
>>
>> I'd rather not start from scratch with the regular sensors; I'd like to 
>> keep using the sdr driver.
>>
>> Is there some really obvious solution that I'm missing?  Is there code 
>> someone for producing Acurite-like radio packets so my sensors could just 
>> pretend to be a tower sensor or something?
>>
>> (I was concerned about getting accurate numbers from a soil moisture 
>> sensor, because all my reading says it depends on soil type, and it needs 
>> to be calibrated, etc., but Davis doesn't do any of that calibration, and 
>> if just using relative moisture is good enough for them, it's good enough 
>> for me.)
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Steel Series Gauges and RealTime update - 2.5 second interval - how?

2017-06-19 Thread gjr80
Steve,

I have been looking for references to HTTP POST, but have not yet found 
> anything. I am currently using FTP to upload to my website. Is it as simple 
> as just changing the FTP section in weewx.conf to say FTP POST? (probably 
> not! :))


HTTP POST is a method of communications over HTTP between a client and a 
server, in this case between your weeWX machine and the web server that 
hosts your site. It is similar to how weeWX sends data/rapid fire data to 
WU (well WU actually uses HTTP GET but the concept is the same). 
Practically, it entails storing a PHP script on your web server and each 
time the realtime gauge-data service generates the data for the 
gauge-data.txt file, the service contacts the script on your web server via 
a HTTP POST request and transfers the gauge-data.txt data to your web 
server and all being well the script then saves the data to gauge-data.txt 
on your web server.

I use HTTP POST to transfer gauge-data.txt on my LAN, I have not set it up 
with a hosted server though it should not be difficult. Provided your web 
server supports PHP (I think most hosted services do/can) the (broad) steps 
involved are (1) upload the PHP script to your web server (2) change a few 
settings in the [RealtimeGaugeData] section of weewx.conf (3) adjust the 
SteelSeries config (gauges.js)on your web server to pickup the new 
gauge-data.txt file. There may be some permission issues to deal with on 
your web server but they should not be too onerous.

Gary..I think I answered my own question. I didn't search deep enough 
> yesterday, but I found the info on some separate posts dealing with making 
> a Wunderground type windspeed/direction gauge. 


Hmm, interesting concept, post your data to WU so you can pull it down to 
display on your web page. If you want to try to get the HTTP POST up and 
running let me know and I will knock up some instructions, as I said above 
other than the standard install documentation the documentation is still a 
work in progress.

Gary

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Steel Series Gauges and RealTime update - 2.5 second interval - how?

2017-06-19 Thread Steve2Q
Gary..." If you want to try to get the HTTP POST up and running let me know 
and I will knock up some instructions.."

That would be appreciated. While I understand some of the concepts and can 
do minor modifications, I am in no way proficient in programming, but I am 
great at following instructions. 

The post I referred to did not mention posting data to Wunderground, but I 
think he figured out how the WU rapidfire windspeed/direction indicator 
worked and then put the same on his website.

Steve


-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Logs on OSX El Cap/10.11.x

2017-06-19 Thread Dan Hinckley
Thanks! /var/log/system.log does work and I have nothing at all in 
/Library/Logs/

> On 19 Jun, 2017, at 08:20, Ned  > wrote:
> 
> For me, they're in:
> 
> /Library/Logs/weewx.log
> 
> and 
> 
> /var/log/system.log
> 
> 
> 
> 
> On Friday, June 16, 2017 at 6:17:14 PM UTC-6, Dan'l B wrote:
> I set up a test install on OSX, which I have done before but this time 
> Console will not display any WeeWx log messages even when Debug is set to 1. 
> Has anyone worked out how to view the log messages from WeeWx in OSX El Cap 
> (or more recent)?
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "weewx-user" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/weewx-user/OyVpljjb3vY/unsubscribe 
> .
> To unsubscribe from this group and all its topics, send an email to 
> weewx-user+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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.
For more options, visit https://groups.google.com/d/optout.