diff --git a/temperatureMappings.js b/temperatureMappings.js index 33535b8..64e7ce5 100644 --- a/temperatureMappings.js +++ b/temperatureMappings.js @@ -39,7 +39,7 @@ module.exports = { path: 'tanks.baitWell.default.temperature', pathWithIndex: 'tanks.baitWell..temperature' }, - 'Refrigerator Temperature': { + 'Refridgeration Temperature': { path: 'environment.inside.refrigerator.temperature' }, 'Heating System Temperature': { diff --git a/test/130310-2.json b/test/130310-2.json index a9753fb..8b985e9 100644 --- a/test/130310-2.json +++ b/test/130310-2.json @@ -439,5 +439,37 @@ "testExpectConvertedValues": { "environment.water.temperature": 15.2 } + }, + "130312-frige": { + "timestamp": "2015-01-15-16:15:19.628Z", + "prio": "5", + "src": "36", + "dst": "255", + "pgn": "130312", + "description": "Temperature", + "fields": { + "Temperature Instance": "0", + "Temperature Source": "Refridgeration Temperature", + "Actual Temperature": "15.2" + }, + "testExpectConvertedValues": { + "environment.inside.refrigerator.temperature": 15.2 + } + }, + "130312-frige-new": { + "timestamp": "2015-01-15-16:15:19.628Z", + "prio": "5", + "src": "36", + "dst": "255", + "pgn": "130312", + "description": "Temperature", + "fields": { + "Instance": "0", + "Source": "Refridgeration Temperature", + "Actual Temperature": "15.2" + }, + "testExpectConvertedValues": { + "environment.inside.refrigerator.temperature": 15.2 + } } }