MMM-Netatmo icon indicating copy to clipboard operation
MMM-Netatmo copied to clipboard

add other value

Open mwuethri74 opened this issue 8 years ago • 2 comments

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

mwuethri74 avatar May 15 '16 19:05 mwuethri74

@mwuethri74, if this is still relevant, could you post your rain module data? The data is only rendered if the value is listed in the data_type array. But most likely sum_rain_1 is not listed in there.

CFenner avatar Oct 10 '16 21:10 CFenner

@CFenner Thank you for your answer. Yes it would still be relevant. Unfortunately I am still not able to access the data (as written in "correct display of wind data". I do not find it in the debugger... Is there an other way to access the data?

Thank you and best regards

Michael

mwuethri74 avatar Oct 14 '16 19:10 mwuethri74