neoground / neowx-material

Revamp WeeWX with Neowx-Material, a modern Material Design skin offering a sleek, responsive UI, captivating graphs & advanced features.
https://neoground.com/projects/neowx-material
MIT License
53 stars 28 forks source link

SoilMoist / SoilTemp charts #39

Closed groetg closed 2 years ago

groetg commented 2 years ago

I am using WatherLink Live driver in weewx. I have added SoilMoisture and SoilTemp sensors.

The Soilmoist data i see in the left column, but I also want the data in a chart at the right column, but there is no chart coming up. What am I doing wrong?

Station: Oosterweg Nrd, NL

neo1

neo2

neo3

groetg commented 2 years ago

It is solved

obstbauer commented 2 years ago

Hi, I have the same problem. How do you solved it? Thanks!

groetg commented 2 years ago

In index.html.tmpl: // Other sensors

if $day.soilTemp1.has_data

$getChartJsCode("soilTemp1", "soilTemp1chart", "area", "soilTemp1", "avg")

end if

if $day.soilMoist1.has_data

$getChartJsCode("soilMoist1", "soilMoist1chart", "area", "soilMoist1", "avg")

end if