I bought this nice shutter device: www.ebay.de/itm/171356816049 with this remote: www.ebay.de/itm/251526742832
They use the shutter3 protocol:
09:35:27.547 [pimatic-homeduino] debug: awning2: { id: 1686337784, command: 'in' }
09:35:27.557 [pimatic-homeduino] debug: shutter3: { id: 421584446, channel: 1, command: 'up' }
09:35:28.429 [pimatic-homeduino] debug: data: "RF receive 4780 1504 712 348 12480 0 0 0 0123233232233232233232323232232332232323233232322323232323323232233232232332322324"
09:35:28.441 [pimatic-homeduino] debug: received: [ 348, 712, 1504, 4780, 12480 ] 3210100101100101100101010101101001101010100101011010101010010101100101101001011014
09:35:28.459 [pimatic-homeduino] debug: awning2: { id: 1686337784, command: 'out' }
09:35:28.468 [pimatic-homeduino] debug: shutter3: { id: 421584446, channel: 1, command: 'down' }
How can I use it as HomeduinoRFShutter device?
I’ve tried the following:
"devices": [
{
"id": "beamer-leinwand",
"name": "Beamer Leinwand",
"class": "HomeduinoRFShutter",
"protocols": [
{
"name": "shutter3",
"options": {
"channel": 1,
"id": 421584446
}
}
]
},
but I got the error
09:42:41.817 [pimatic-homeduino] debug: Sending Protocol: shutter3 channel: 1 id: 421584446 all: false state: false Pin: 4 Repeats: 7
Unhandled rejection TypeError: Cannot read property 'length' of undefined
at Object.module.exports.map (/home/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/lib/helper.js:24:20)
at Object.protocolInfo.encodeMessage (/home/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/lib/protocols/shutter3.js:65:24)
at Object.module.exports.encodeMessage (/home/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/node_modules/rfcontroljs/lib/controller.js:199:24)
at Board.rfControlSendMessage (/home/pimatic-app/node_modules/pimatic-homeduino/node_modules/homeduino/lib/board.js:255:24)
at /home/pimatic-app/node_modules/pimatic-homeduino/homeduino.coffee:320:27
at tryCatcher (/home/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/util.js:26:23)
at Promise._settlePromiseFromHandler (/home/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:507:31)
at Promise._settlePromiseAt (/home/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:581:18)
at Promise._settlePromiseAtPostResolution (/home/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/promise.js:245:10)
at Async._drainQueue (/home/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:128:12)
at Async._drainQueues (/home/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:133:10)
at Async.drainQueues (/home/pimatic-app/node_modules/pimatic/node_modules/bluebird/js/main/async.js:15:14)
at process._tickDomainCallback (node.js:459:13)
Any Ideas?