Thanks
I won't pretend that I understood ........but it may help others.
It did give me a clue as to how to move forward a bit .....I think
I tried this .......and it worked ......an orange line at 4v .......1 step forward
and telemetry display updates.
[[[dayvolt]]]
yscale = 3.6, 4.2, 0.1
[[[[consBatteryVoltage]]]]
label = Transmitter battery
color = 0xb48242 # blue
# color = 0x4242b4 # red
# place limit line on graph
[[[[voltMin]]]]
data_type = consBatteryVoltage - consBatteryVoltage + 4
label = ' '
color = orange
width = 1
but I want the limit at 3.7v ........so using the above
[[[dayvolt]]]
yscale = 3.6, 4.2, 0.1
[[[[consBatteryVoltage]]]]
label = Transmitter battery
color = 0xb48242 # blue
# color = 0x4242b4 # red
# place limit line on graph
[[[[voltMin]]]]
data_type = consBatteryVoltage - consBatteryVoltage + 3.7
label = ' '
color = orange
width = 1
fail ....errors in the log .......places the orange line, but telemetry page is now frozen
Mar 9 08:56:06 weatherstn weewx[14006] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Mar 9 08:56:06 weatherstn weewx[14006] DEBUG user.MQTTSubscribe: (Driver) data-> final loop packet is tele/weather-stn-sensor/STATE 2022-03-09 08:56:04 AEST (1646780164): 'batteryStatus1': '0.0', 'consBatteryVoltage': '4.086810112', 'dateTime': '1646780164.264368', 'extraTemp1': '33.0', 'signal1': '1515', 'signal2': '-34.0', 'supplyVoltage': '12.13632011', 'txBatteryStatus': '0.0', 'usUnits': '17'
Mar 9 08:56:06 weatherstn weewx[14006] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Mar 9 08:56:06 weatherstn weewx[14006] DEBUG weewx.manager: Daily summary version is 4.0
Mar 9 08:56:06 weatherstn weewx[14006] ERROR weewx.cheetahgenerator: Evaluation of template /etc/weewx/skins/Seasons/telemetry.html.tmpl failed.
Mar 9 08:56:06 weatherstn weewx[14006] ERROR weewx.cheetahgenerator: **** Ignoring template /etc/weewx/skins/Seasons/telemetry.html.tmpl
Mar 9 08:56:06 weatherstn weewx[14006] ERROR weewx.cheetahgenerator: **** Reason: cannot find 'has_data' while searching for 'year.consBatteryVoltage - consBatteryVoltage + 3.7.has_data'
Mar 9 08:56:06 weatherstn weewx[14006] ERROR weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' at top of template
Mar 9 08:56:06 weatherstn weewx[14006] INFO weewx.cheetahgenerator: Generated 7 files for report SeasonsReport in 0.29 seconds
Mar 9 08:56:06 weatherstn weewx[14006] DEBUG weewx.manager: Daily summary version is 4.0
Mar 9 08:56:06 weatherstn weewx[14006] INFO weewx.imagegenerator: Generated 19 images for report SeasonsReport in 0.23 seconds
Mar 9 08:56:06 weatherstn weewx[14006] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Mar 9 08:56:06 weatherstn weewx[14006] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Mar 9 08:56:06 weatherstn weewx[14006] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Mar 9 08:56:06 weatherstn weewx[14006] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Mar 9 08:56:06 weatherstn weewx[14006] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
Mar 9 08:56:06 weatherstn weewx[14006] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
I take it that it doesn't like 3.7 ..........I don't understand why.........
the windspeed example is so easy and simple and works using a number with a decimal point and no equation
should I place the number in quotes ? ...........is there a workaround ? ............or this will never fly ?
thanks again