Hmm.  
On the variabiles:

I am using the default binding (archive).  I don't need the frequency of 
loop, though, for debugging sake I should mention that when I have tried 
out binding=loop, weewx fails to start. I have not looked into why that 
might be as it's not part of my goal.

This is what weewx reports from the Vantage raw stream:

REC:    2017-12-28 12:50:00 PST (1514494200) altimeter: 29.8871528188, 
appTemp: 32.1224062668, barometer: 29.901, cloudbase: 101.0, 
consBatteryVoltage: 4.62, dateTime: 1514494200, dayET: 0.0, dayRain: 0.75, 
dewpoint: 35.2, ET: 0.0, extraAlarm1: 0.0, extraAlarm2: 0.0, extraAlarm3: 
0.0, extraAlarm4: 0.0, extraAlarm5: 0.0, extraAlarm6: 0.0, extraAlarm7: 
0.0, extraAlarm8: 0.0, forecastIcon: 7.0, forecastRule: 93, heatindex: 
35.2, highOutTemp: 35.2, highRadiation: 58.0, highUV: 0.0, humidex: 35.2, 
inDewpoint: 40.2825325477, inHumidity: 38.0, insideAlarm: 0.0, inTemp: 
66.7, interval: 5, leafWet4: 0.0, lowOutTemp: 35.1, maxSolarRad: 
200.328662136, monthET: 0.22, monthRain: 3.13, outHumidity: 100.0, 
outsideAlarm1: 0.0, outsideAlarm2: 0.0, outTemp: 35.2, outTempDay: 35.2, 
outTempNight: None, pressure: 29.7870205707, radiation: 48.0, rain: 0.0, 
rainAlarm: 0.0, rainRate: 0.0, rxCheckPercent: 97.375, soilLeafAlarm1: 0.0, 
soilLeafAlarm2: 0.0, soilLeafAlarm3: 0.0, soilLeafAlarm4: 0.0, stormRain: 
0.94, stormStart: 1514188800.0, sunrise: 1514477640.0, sunset: 
1514507280.0, trendIcon: -60.0, txBatteryStatus: 0, usUnits: 1, UV: 0.0, 
windchill: 35.2, windDir: None, windGust: 0.0, windGustDir: None, windrun: 
0.000566893424036, windSpeed: 0.0, windSpeed10: 0.0, yearET: 32.26, 
yearRain: 28.79


LOOP:   2017-12-28 12:50:27 PST (1514494227) altimeter: 29.8871528188, 
appTemp: 32.1224062668, barometer: 29.901, cloudbase: 101.0, 
consBatteryVoltage: 4.62, dateTime: 1514494227, dayET: 0.0, dayRain: 0.75, 
dewpoint: 35.2, extraAlarm1: 0, extraAlarm2: 0, extraAlarm3: 0, 
extraAlarm4: 0, extraAlarm5: 0, extraAlarm6: 0, extraAlarm7: 0, 
extraAlarm8: 0, forecastIcon: 7, forecastRule: 93, heatindex: 35.2, 
humidex: 35.2, inDewpoint: 40.2825325477, inHumidity: 38.0, insideAlarm: 0, 
inTemp: 66.7, leafWet4: 0.0, maxSolarRad: 200.155823598, monthET: 0.22, 
monthRain: 3.13, outHumidity: 100.0, outsideAlarm1: 0, outsideAlarm2: 0, 
outTemp: 35.2, outTempDay: 35.2, outTempNight: None, pressure: 
29.7870205707, radiation: 62.0, rain: 0.0, rainAlarm: 0, rainRate: 0.0, 
soilLeafAlarm1: 0, soilLeafAlarm2: 0, soilLeafAlarm3: 0, soilLeafAlarm4: 0, 
stormRain: 0.94, stormStart: 1514188800, sunrise: 1514477640, sunset: 
1514507280, trendIcon: -60, txBatteryStatus: 0, usUnits: 1, UV: 0.0, 
windchill: 35.2, windDir: None, windGust: 0.0, windGustDir: None, 
windSpeed: 0.0, windSpeed10: 0.0, yearET: 32.26, yearRain: 28.79


I used dayrain without success.


On the newline issue.  No luck with either of the escape characters, which 
I had tried before, or the unicode.


I have also tried a few techniques for getting new lines into code listed 
here:

https://www.smallsurething.com/multi-line-strings-in-python/


Unfortunately, no success.


Chris




On Thursday, December 28, 2017 at 1:37:19 PM UTC-8, mwall wrote:
>
>
>
> On Thursday, December 28, 2017 at 4:24:05 PM UTC-5, Chris Alemany wrote:
>>
>> Also, any ideas on how to pass a new line within the format option so that
>> Output
>> on
>> Twitter
>> can look
>> more
>> like this?
>>
>
> use a newline?  maybe:
>
> format = "first line\\nsecond line\\nthird line"
>
> or if that does not work, try to find the unicode character for newline 
> and stick that into your string
>
> 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.

Reply via email to