Skip to content

Commit

Permalink
Merge pull request #365 from mattreim/patch-3
Browse files Browse the repository at this point in the history
Add PWM Items [#361]
  • Loading branch information
Apollon77 authored May 25, 2024
2 parents 938c7ce + b28ace4 commit ac0fd4d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/datapoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,22 @@ module.exports = {
Output: {type: 'number', role: 'value', read: true, write: true},
Outsidetemp: {type: 'number', role: 'value.temperature', read: true, write: false, unit: '°C'},
PM10: {type: 'number', role: 'value', read: true, write: false, unit: 'ug/m3'},
PWM1: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM2: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM3: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM4: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM5: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM6: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM7: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM8: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM9: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM10: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM11: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM12: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM13: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM14: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM15: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
PWM16: {type: 'number', role: 'value', read: true, write: true, min: 0, max: 1023},
POWER10: {type: 'boolean', role: 'switch', read: true, write: true, storeMap: true},
POWER11: {type: 'boolean', role: 'switch', read: true, write: true, storeMap: true},
POWER12: {type: 'boolean', role: 'switch', read: true, write: true, storeMap: true},
Expand Down

0 comments on commit ac0fd4d

Please sign in to comment.