Skip to content

add other value #20

@mwuethri74

Description

@mwuethri74

Hello

Today I tried to add an other measurement value (eg sum_rain_1). This data comes in as the other data. So I thought that it should be easy to add it.
I then added sum_rain_1 to:
config.js: dataOrder:["Noise","Pressure","CO2","Humidity","Temperature","Rain","sum_wind_1","Wind"]
de.ison: "SUM_RAIN_1": "Niederschlag 1h",
netatmo.js (formatter):
case 'sum_rain_1':
return value.toFixed(0) + ' mm';
netatmo.js (clazz):
case 'sum_rain_1':
return 'wi-raindrops';

But it did not work... The sum of rain did not show up on the magic mirror... ;-(

What else do I have to add, that additional values are displayed?

Thank you and best regards

Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions