Skip to content

Commit

Permalink
Add Support for Shelly Plus RGBW PM and BLE Gateway 3rd Party Sensor …
Browse files Browse the repository at this point in the history
…Support (#1039)

[Hardware Request]: BLE gateway 3rd party sensor support #1030 
added to types to typesList for Ble messages
moisture: { type: 'number', unit: '%' },
soil: { type: 'number', unit: 'µS/cm' },
  • Loading branch information
Paradoxa authored Sep 17, 2024
1 parent 25c7d6b commit 4b8fffb
Show file tree
Hide file tree
Showing 4 changed files with 762 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lib/datapoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const shelly1mini = require('./devices/gen2/shelly1mini').shelly1mini;
const shelly1pmmini = require('./devices/gen2/shelly1pmmini').shelly1pmmini;
const shellyplusuni = require('./devices/gen2/shellyplusuni').shellyplusuni;
const shellywalldisplay = require('./devices/gen2/shellywalldisplay').shellywalldisplay;
const shellyplusrgbwpm = require('./devices/gen2/shellyplusrgbwpm').shellyplusrgbwpm;

// Gen 3
const shelly1minig3 = require('./devices/gen3/shelly1minig3').shelly1minig3;
Expand Down Expand Up @@ -133,6 +134,7 @@ const devices = {
shelly1pmmini,
shellyplusuni,
ShellyWallDisplay: shellywalldisplay,
shellyplusrgbwpm,
// Gen 3
shelly1minig3,
shelly1pmminig3,
Expand Down Expand Up @@ -202,6 +204,7 @@ const deviceTypes = {
shelly1pmmini: ['shelly1pmmini'],
shellyplusuni: ['shellyplusuni'],
ShellyWallDisplay: ['ShellyWallDisplay'],
shellyplusrgbwpm: ['shellyplusrgbwpm'],
// Gen 3
shelly1minig3: ['shelly1minig3'],
shelly1pmminig3: ['shelly1pmminig3'],
Expand Down Expand Up @@ -270,6 +273,7 @@ const deviceGen = {
shelly1pmmini: 2,
shellyplusuni: 2,
ShellyWallDisplay: 2,
shellyplusrgbwpm: 2,
// Gen 3
shelly1minig3: 3,
shelly1pmminig3: 3,
Expand Down Expand Up @@ -339,6 +343,7 @@ const deviceKnowledgeBase = {
shelly1pmmini: 'https://kb.shelly.cloud/knowledge-base/shelly-plus-1pm-mini',
shellyplusuni: 'https://kb.shelly.cloud/knowledge-base/shelly-plus-uni',
ShellyWallDisplay: 'https://kb.shelly.cloud/knowledge-base/shelly-wall-display',
shellyplusrgbwpm: 'https://kb.shelly.cloud/knowledge-base/shelly-plus-rgbw-pm',
// Gen 3
shelly1minig3: 'https://kb.shelly.cloud/knowledge-base/shelly-1-mini-gen3',
shelly1pmminig3: 'https://kb.shelly.cloud/knowledge-base/shelly-1pm-mini-gen3',
Expand Down
Loading

0 comments on commit 4b8fffb

Please sign in to comment.