-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.js
42 lines (29 loc) · 815 Bytes
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
"use strict"
function init() {
Homey.log("nl.merlijnvermeer.nRF905 running....");
}
//// bind flow action
//Homey.manager('flow').on('action.message_receive', function( callback, args ){
// callback( null, )
//});
//
//function message_receive(rec_address) {
// var HomeyRadio = require('homey-arduinodriver');
// var radio = new HomeyRadio({address: 0x50});
// radio.on('payload', function(message) {
// console.log(message);
// });
//}
//
//function specific_message_receive(message rec_address) {
// var HomeyRadio = require('homey-arduinodriver');
// var radio = new HomeyRadio({address: 0x50});
//
//}
//
//function message_send(message_address) {
// var HomeyRadio = require('homey-arduinodriver');
// var radio = new HomeyRadio({address: 0x50});
//
//}
module.exports.init = init;