Hello again:
A little question:
How can i show battery status on html?
what variable must i use?
root@raspberrypi:/usr/share/
weewx # sudo PYTHONPATH=/usr/share/weewx python
/usr/share/weewx/user/sdr.py --cmd="rtl_433 -q -U -G"
out: ['2017-01-18 13:01:39 \t:\tOS :\tTHGR122N\n', '\tHouse Code:\t 211\n',
'\tChannel:\t 1\n', '\tBattery:\t LOW\n', '\tTemperature:\t 7.30 C\n',
'\tHumidity:\t 28 %\n']
parsed: {'temperature.1:211.OSTHGR122NPacket': 7.3,
'humidity.1:211.OSTHGR122NPacket': 28.0, 'battery.1:211.OSTHGR122NPacket':
1, 'usUnits': 16, 'dateTime': 1484744499}
out: ['2017-01-18 13:01:39 \t:\tOS :\tTHGR122N\n', '\tHouse Code:\t 211\n',
'\tChannel:\t 1\n', '\tBattery:\t LOW\n', '\tTemperature:\t 7.30 C\n',
'\tHumidity:\t 28 %\n']
parsed: {'temperature.1:211.OSTHGR122NPacket': 7.3,
'humidity.1:211.OSTHGR122NPacket': 28.0, 'battery.1:211.OSTHGR122NPacket':
1, 'usUnits': 16, 'dateTime': 1484744499}
tnx a lot.
El miércoles, 18 de enero de 2017, 16:31:03 (UTC+1), mwall escribió:
>
> On Wednesday, January 18, 2017 at 9:58:14 AM UTC-5, Ruben Navarro Huedo
> wrote:
>>
>> My rtl_433 is located in /usr/local/bin
>>
>> I have modified weewx.conf and i think something is better now, but it
>> is not updating files in /var/www/html/weewx
>>
>> What is wrong now?
>>
>
> perhaps you just need to wait awhile? html files are generated by
> StdReport, which runs every archive interval.
>
> btw, you are missing temperature (see the 'sdr: MainThread: packet='
> message). the packet reports temperature_C not temperature.
>
> (this is another inconsistency in the rtl_433 decoders. it makes it
> difficult to do consistent unit conversions and sensor mappings.)
>
> m
>
--
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].
For more options, visit https://groups.google.com/d/optout.