UNPKG
node-red-contrib-shelly
Version:
latest (11.11.2)
11.11.2
11.10.2
11.10.1
11.10.0
11.9.4
11.8.0
11.7.7
11.7.6
11.7.5
11.7.4
11.7.2
11.7.1
11.6.9
11.6.8
11.6.7
11.6.6
11.6.5
11.6.4
11.6.3
11.6.2
11.6.1
11.6.0
11.5.10
11.5.9
11.5.8
11.5.7
11.5.6
11.5.5
11.5.4
11.5.3
11.5.2
11.5.1
11.4.2
11.4.1
11.4.0
11.3.0
11.2.0
11.1.1
11.1.0
11.0.1
10.29.0
10.28.2
10.28.1
10.27.3
10.27.2
10.27.1
10.27.0
10.26.2
10.26.0
10.25.2
10.25.1
10.25.0
10.24.1
10.24.0
10.23.0
10.22.0
10.21.0
10.20.0
10.19.0
10.18.0
10.16.1
10.16.0
10.15.0
10.14.3
10.14.2
10.14.1
10.14.0
10.13.8
10.13.7
10.13.6
10.13.5
10.13.4
10.13.3
10.13.2
10.13.1
10.13.0
10.12.1
10.12.0
10.11.0
10.10.0
10.9.1
10.9.0
10.8.0
10.7.0
10.6.0
10.5.0
10.4.0
10.3.0
10.2.0
10.1.0
10.0.0
9.17.0
9.16.0
9.15.0
9.14.0
9.13.0
9.12.0
9.11.0
9.10.0
9.9.1
9.9.0
9.8.0
9.6.0
9.4.0
9.3.1
9.3.0
9.2.0
9.1.0
9.0.0
8.2.0
8.1.0
8.0.0
7.3.0
7.2.0
7.1.0
7.0.0
6.0.0
5.0.0
4.8.0
4.7.1
4.6.0
4.5.0
4.4.0
4.3.1
4.3.0
4.2.0
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.0
3.4.0
3.3.0
3.2.0
3.1.0
2.2.0
2.1.1
2.0.0
1.16.0
1.15.0
1.14.0
1.13.0
1.12.0
1.11.0
1.10.1
1.9.5
1.9.4
1.9.2
1.9.1
1.9.0
1.8.1
1.8.0
1.7.1
1.7.0
1.6.1
1.6.0
1.5.3
1.5.0
1.4.0
1.3.4
1.3.3
1.3.1
1.3.0
1.1.0
1.0.0
0.1.0
Shelly nodes.
github.com/windkh/node-red-contrib-shelly
windkh/node-red-contrib-shelly
node-red-contrib-shelly
/
shelly
/
nodes
/
gen1
/
parsers
/
sensor.js
14 lines
(10 loc)
•
297 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict'
;
const
utils =
require
(
'../../../lib/utils.js'
);
async
function
inputParserSensor1Async
(
msg
) {
let
route;
if
(utils.
isMsgPayloadValid
(msg)) {
// right now sensors do not accept input commands.
}
return
route; }
module
.
exports
= { inputParserSensor1Async };