SDR is receiving....look by attachment,
Em qui., 19 de dez. de 2019 às 18:51, Thomas Keffer <[email protected]>
escreveu:
> I suspect the reason why you are not seeing wind speed is that the SDR is
> not receiving wind speed.
>
> Stop WeeWX, then run it directly from the command line
> <http://www.weewx.com/docs/usersguide.htm#Running_directly>. As it runs,
> it will print out the LOOP packets. Look for the type "windSpeed". Is it
> there? Do the values make sense?
>
> If not, then the SDR is not receiving it.
>
> -tk
>
>
> On Thu, Dec 19, 2019 at 1:03 PM Julio Morais <[email protected]> wrote:
>
>> Hi Thomas,
>>
>> RTL_433 is reading wind_speed in km / h and temp in ºF. In StdReport ...
>> Groups I converted all drives, including Wind to km_per_hour. Is this not
>> the reason why I don't read wind_speed in Apache (/A)
>> Sorry about this question!
>>
>> Em qui., 19 de dez. de 2019 às 14:09, Julio Morais <[email protected]>
>> escreveu:
>>
>>> Hi Thomas,
>>>
>>> That simple?!
>>> This was the same operation I did in days past that crashed Apache.....
>>> but now it's working fine, the readings as configured and the updated date
>>> and time!
>>> Now I need to study why the wind does not appear ?! Barometer is
>>> installed on RPI but I last configuration was not good....I´ll try again .
>>> [image: image.png]
>>>
>>>
>>> Thanks so much!
>>>
>>> Em qua., 18 de dez. de 2019 às 20:32, Thomas Keffer <[email protected]>
>>> escreveu:
>>>
>>>> If you want metric units, just follow the instructions in the section *How
>>>> to change units
>>>> <http://www.weewx.com/docs/customizing.htm#how_to_change_units>* in
>>>> the Customizing Guide.
>>>>
>>>> -tk
>>>>
>>>> On Wed, Dec 18, 2019 at 4:25 PM Julio Morais <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Thomas,
>>>>> After a battle to reinstall everything again, some more conflicts, I
>>>>> finally got it! I did nothing about the units that remain in ° F. I
>>>>> await instructions!
>>>>> Attached are some files that demonstrate the operation of SDR and
>>>>> RTL_433; also skin.conf (Seasons). Apache had problems but is now
>>>>> updating well and real.
>>>>> Regarding the drives, I suppose I would have to configure both
>>>>> Weewx.conf and skin.conf, is that it?
>>>>>
>>>>> Thank you!
>>>>>
>>>>> Em qua., 18 de dez. de 2019 às 09:04, Julio Morais <
>>>>> [email protected]> escreveu:
>>>>>
>>>>>> Hi Thomas,
>>>>>>
>>>>>> Wait a few hours because I am reinstalling everything again (Debian,
>>>>>> WEEWX, SDR .... etc) to get back to a cleaner install. I'll be back
>>>>>> soon with the requested information.
>>>>>> Thank you!
>>>>>>
>>>>>> Em qua., 18 de dez. de 2019 às 08:07, Thomas Keffer <
>>>>>> [email protected]> escreveu:
>>>>>>
>>>>>>> NO! The option target_unit is for the units *in the database*.
>>>>>>> Don't mess with that. It has nothing to do with how the units are
>>>>>>> displayed. If you change it now, you'll wreck your database.
>>>>>>>
>>>>>>> Let's see your [StdReport] section.
>>>>>>>
>>>>>>> -tk
>>>>>>>
>>>>>>> On Tue, Dec 17, 2019 at 10:28 PM Xant <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Julio
>>>>>>>>
>>>>>>>> For clarification, let's start with the basics. Have you properly
>>>>>>>> checked "target_unit = US # Options are 'US', 'METRICWX', or
>>>>>>>> 'METRIC' "
>>>>>>>> in weewx.conf?
>>>>>>>>
>>>>>>>> X
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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/96d4e1d7-7873-4d02-98f7-9f97f109bcc8%40googlegroups.com
>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/96d4e1d7-7873-4d02-98f7-9f97f109bcc8%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 on the web visit
>>>>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEC63Yep5QTC3Ans%3DGgWMp7pSZNWVYeKW%2BGX%3D16EKvNhEA%40mail.gmail.com
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEC63Yep5QTC3Ans%3DGgWMp7pSZNWVYeKW%2BGX%3D16EKvNhEA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Julio Morais *
>>>>>> *Ipatinga, MG*
>>>>>> *BRASIL*
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> *Julio Morais *
>>>>> *Ipatinga, MG*
>>>>> *BRASIL*
>>>>>
>>>>>
>>>>> --
>>>>> 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/CANW6cHWA8eQuO_%3DDeLz0Ttv7V3syz0d35NiwqtVhk5ui3szd0A%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/CANW6cHWA8eQuO_%3DDeLz0Ttv7V3syz0d35NiwqtVhk5ui3szd0A%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 on the web visit
>>>> https://groups.google.com/d/msgid/weewx-user/CAPq0zEADHZ44naORj1MDCAJ%2B1roCZ0eNT41EwGTvN7y%3D2ifrvA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEADHZ44naORj1MDCAJ%2B1roCZ0eNT41EwGTvN7y%3D2ifrvA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> --
>>> *Julio Morais *
>>> *Ipatinga, MG*
>>> *BRASIL*
>>>
>>>
>>>
>>
>> --
>> *Julio Morais *
>> *Ipatinga, MG*
>> *BRASIL*
>>
>>
>> --
>> 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/CANW6cHXmDbEP8-9%2BXB269QgiC-nVUp_TAjz%2B4hDHdk%2BiuMerwQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/weewx-user/CANW6cHXmDbEP8-9%2BXB269QgiC-nVUp_TAjz%2B4hDHdk%2BiuMerwQ%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 on the web visit
> https://groups.google.com/d/msgid/weewx-user/CAPq0zEBgaEjB5rg92gGJtmxT-6MDeo9DCaN%2Bn6%2BsKSEGzOMwPw%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zEBgaEjB5rg92gGJtmxT-6MDeo9DCaN%2Bn6%2BsKSEGzOMwPw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
*Julio Morais *
*Ipatinga, MG*
*BRASIL*
--
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/CANW6cHXf4_r%3DFHJ8yenwyucRaL%3DiHyM4fdC20tfC_4cdLYnyUg%40mail.gmail.com.
pi@raspberrypi:~ $ sudo /etc/init.d/weewx stop
[ ok ] Stopping weewx (via systemctl): weewx.service.
pi@raspberrypi:~ $ sudo PYTHONPATH=/usr/share/weewx python
/usr/share/weewx/user/sdr.py - -cmd="rtl_433 -M utc -F json -G"
out:[u'{"time" : "2019-12-19 19:44:01", "model" : "Acurite 5n1 sensor",
"message_type" : 49, "sensor_id" : 1122, "channel" : "A", "sequence_num" :
0, "battery" : "OK", "wind_spee d_kph" : 5.967, "wind_dir_deg" : 0.000,
"rain_inch" : 16.200}\n', u'{"time" : "2019-12-19 19:44:01", "model" :
"Acurite 5n1 sensor", "message_type" : 49, "sensor_id" : 1122, "cha nnel" :
"A", "sequence_num" : 1, "battery" : "OK", "wind_speed_kph" : 5.967,
"wind_dir_de g" : 0.000, "rain_inch" : 16.200}\n', u'{"time" : "2019-12-19
19:44:01", "model" : "Acuri te 5n1 sensor", "message_type" : 49, "sensor_id"
: 1122, "channel" : "A", "sequence_num" : 2, "battery" : "OK",
"wind_speed_kph" : 5.967, "wind_dir_deg" : 0.000, "rain_inch" : 16 .200}\n']
parsed: {'channel.0462.Acurite5n1Packet': u'A',
'rain_total.0462.Acurite5n1Packet': 16.2, 'status.0462.Acurite5n1Packet':
None, 'wind_dir.0462.Acurite5n1Packet': 0.0, 'battery.04
62.Acurite5n1Packet': 0, 'dateTime': 1576784641,
'wind_speed.0462.Acurite5n1Packet': 3.70 7731119589397, 'usUnits': 1}
parsed: {'channel.0462.Acurite5n1Packet': u'A',
'rain_total.0462.Acurite5n1Packet': 16.2, 'status.0462.Acurite5n1Packet':
None, 'wind_dir.0462.Acurite5n1Packet': 0.0, 'battery.04
62.Acurite5n1Packet': 0, 'dateTime': 1576784641,
'wind_speed.0462.Acurite5n1Packet': 3.70 7731119589397, 'usUnits': 1}
parsed: {'channel.0462.Acurite5n1Packet': u'A',
'rain_total.0462.Acurite5n1Packet': 16.2, 'status.0462.Acurite5n1Packet':
None, 'wind_dir.0462.Acurite5n1Packet': 0.0, 'battery.04
62.Acurite5n1Packet': 0, 'dateTime': 1576784641,
'wind_speed.0462.Acurite5n1Packet': 3.70 7731119589397, 'usUnits': 1}
out:[u'{"time" : "2019-12-19 19:44:20", "model" : "Acurite 5n1 sensor",
"message_type" : 56, "sensor_id" : 1122, "channel" : "A", "sequence_num" :
0, "battery" : "OK", "wind_spee d_kph" : 4.311, "temperature_F" : 91.200,
"humidity" : 48}\n', u'{"time" : "2019-12-19 19 :44:20", "model" : "Acurite
5n1 sensor", "message_type" : 56, "sensor_id" : 1122, "channe l" : "A",
"sequence_num" : 1, "battery" : "OK", "wind_speed_kph" : 4.311, "temperature_F"
: 91.200, "humidity" : 48}\n', u'{"time" : "2019-12-19 19:44:20", "model" :
"Acurite 5n1 sensor", "message_type" : 56, "sensor_id" : 1122, "channel" :
"A", "sequence_num" : 2, " battery" : "OK", "wind_speed_kph" : 4.311,
"temperature_F" : 91.200, "humidity" : 48}\n']
parsed: {'channel.0462.Acurite5n1Packet': u'A',
'humidity.0462.Acurite5n1Packet': 48.0, ' status.0462.Acurite5n1Packet':
None, 'battery.0462.Acurite5n1Packet': 0, 'temperature.046
2.Acurite5n1Packet': 91.2, 'dateTime': 1576784660,
'wind_speed.0462.Acurite5n1Packet': 2. 678737867697317, 'usUnits': 1}
parsed: {'channel.0462.Acurite5n1Packet': u'A',
'humidity.0462.Acurite5n1Packet': 48.0, ' status.0462.Acurite5n1Packet':
None, 'battery.0462.Acurite5n1Packet': 0, 'temperature.046
2.Acurite5n1Packet': 91.2, 'dateTime': 1576784660,
'wind_speed.0462.Acurite5n1Packet': 2. 678737867697317, 'usUnits': 1}
parsed: {'channel.0462.Acurite5n1Packet': u'A',
'humidity.0462.Acurite5n1Packet': 48.0, ' status.0462.Acurite5n1Packet':
None, 'battery.0462.Acurite5n1Packet': 0, 'temperature.046
2.Acurite5n1Packet': 91.2, 'dateTime': 1576784660,
'wind_speed.0462.Acurite5n1Packet': 2. 678737867697317, 'usUnits': 1}
pi@raspberrypi:~ $ rtl_433
rtl_433 version 19.08-113-g2b6d5fd branch master at 201912162234 inputs file
rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
Consider using "-M newmodel" to transition to new model keys. This will
become the default someday.
A table of changes and discussion is at
https://github.com/merbanan/rtl_433/pull/986.
Registered 112 out of 141 device decoding protocols [ 1-4 8 11-12 15-17 19-21
23 25-26 29-36 38-60 63 67-71 73-100 102-104 108-116 119 121 124-128 131-141 ]
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
time : 2019-12-19 16:46:29
model : Acurite 5n1 sensor message_type: 49
sensor_id : 1122 channel : A sequence_num: 0
battery : OK wind_speed: 4.3 km/h wind_dir_deg: 337.5
Rainfall Accumulation: 16.20 in
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
time : 2019-12-19 16:46:29
model : Acurite 5n1 sensor message_type: 49
sensor_id : 1122 channel : A sequence_num: 1
battery : OK wind_speed: 4.3 km/h wind_dir_deg: 337.5
Rainfall Accumulation: 16.20 in
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
time : 2019-12-19 16:46:29
model : Acurite 5n1 sensor message_type: 49
sensor_id : 1122 channel : A sequence_num: 2
battery : OK wind_speed: 4.3 km/h wind_dir_deg: 337.5
Rainfall Accumulation: 16.20 in
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
time : 2019-12-19 16:46:48
model : Acurite 5n1 sensor message_type: 56
sensor_id : 1122 channel : A sequence_num: 0
battery : OK wind_speed: 2.7 km/h temperature: 91.0 F
humidity : 48
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
time : 2019-12-19 16:46:48
model : Acurite 5n1 sensor message_type: 56
sensor_id : 1122 channel : A sequence_num: 1
battery : OK wind_speed: 2.7 km/h temperature: 91.0 F
humidity : 48
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
time : 2019-12-19 16:46:48
model : Acurite 5n1 sensor message_type: 56
sensor_id : 1122 channel : A sequence_num: 2
battery : OK wind_speed: 2.7 km/h temperature: 91.0 F
humidity : 48
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
time : 2019-12-19 16:47:06
model : Acurite 5n1 sensor message_type: 49
sensor_id : 1122 channel : A sequence_num: 0
battery : OK wind_speed: 3.5 km/h wind_dir_deg: 292.5
Rainfall Accumulation: 16.20 in
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
time : 2019-12-19 16:47:06
model : Acurite 5n1 sensor message_type: 49
sensor_id : 1122 channel : A sequence_num: 1
battery : OK wind_speed: 3.5 km/h wind_dir_deg: 292.5
Rainfall Accumulation: 16.20 in
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _
time : 2019-12-19 16:47:06
model : Acurite 5n1 sensor message_type: 49
sensor_id : 1122 channel : A sequence_num: 2
battery : OK wind_speed: 3.5 km/h wind_dir_deg: 292.5