Tried the example on the raspberry pi and got this output:
ubuntu@boontoo:~/motion-thermostat$ node test
Noble: stateChange -> poweredOn
Found device: 45:73:5f:0c:0d:10
Found device: 64:2b:d2:47:bd:00
Found device: cc:f4:11:98:5b:01
Found device: 05:c9:79:4c:61:39
Found device: 12:7d:20:2d:64:3b
Found device: 0e:a1:1e:0e:0e:c2
Found device: 75:d9:c4:33:59:a8
Found device: 58:c6:8d:82:1f:a2
Found device: 06:42:db:89:b9:90
Found device: 2f:6a:ef:b1:6d:d2
Found device: 74:2f:a8:98:9c:57
Found device: 78:02:b7:23:6b:c2
Found device: 49:92:1d:5b:82:d6
Found device: 4b:ef:f5:a0:e9:2a
Found device: 6b:73:24:90:68:e4
Found device: ea:c5:8b:e0:a4:fb
Found device: 68:ce:65:cb:86:28
Found device: 0e:a1:1e:0e:0e:c2
Found device: 0c:80:5f:d6:bd:0c
Found device: 0c:80:5f:d6:bd:0c
Found device: 05:c9:79:4c:61:39
Found device: 90:dd:5d:e8:59:50
Found device: 54:e4:fc:4c:f1:9b
Found device: 0e:a1:1e:0e:0e:c2
Found device: 45:73:5f:0c:0d:10
Found device: 64:2b:d2:47:bd:00
Found device: 3d:7f:60:53:b0:7d
Found device: 55:2b:6a:2d:44:29
Found device: 5f:a3:6c:c7:29:84
Found device: 12:7d:20:2d:64:3b
Found device: 75:d9:c4:33:59:a8
Found device: 58:c6:8d:82:1f:a2
Found device: 06:42:db:89:b9:90
Found device: 2f:6a:ef:b1:6d:d2
Found device: 74:2f:a8:98:9c:57
Found device: 0e:a1:1e:0e:0e:c2
Found device: 62:5e:f6:87:87:d9
Found device: 45:9a:95:02:55:00
Found device: 05:c9:79:4c:61:39
Found device: 90:dd:5d:e8:59:50
Found device: 54:e4:fc:4c:f1:9b
Found device: 48:10:c1:2a:74:cc
Found device: 48:10:c1:2a:74:cc
Found device: f4:fe:fb:c4:58:4e
Found device: 4e:b6:b3:37:6d:f9
Found device: 4e:b6:b3:37:6d:f9
Found device: 40:2d:01:84:21:eb
Found device: 08:a1:94:e2:dd:f7
Found device: 0e:a1:1e:0e:0e:c2
Found device: 0c:80:5f:d6:bd:0c
Found device: 69:be:d5:4e:3a:dc
Found device: 6c:ef:9f:dd:1d:ae
Found device: 64:2b:d2:47:bd:00
Found device: f4:fe:fb:c4:58:4e
Found device: 55:2b:6a:2d:44:29
Found device: 67:8c:04:e3:bf:13
Found device: 67:8c:04:e3:bf:13
Found device: 90:dd:5d:e8:59:50
Found device: 7c:18:2f:c5:ce:04
Found device: 12:7d:20:2d:64:3b
Found device: 5f:a3:6c:c7:29:84
Found device: 58:c6:8d:82:1f:a2
Found device: 5f:a3:6c:c7:29:84
Found device: 45:9a:95:02:55:00
Found device: 61:d5:e4:67:76:80
Found device: 61:d5:e4:67:76:80
Found device: 68:ce:65:cb:86:28
Found device: 08:a1:94:e2:dd:f7
Found device: 90:dd:5d:e8:59:50
Found device: f2:09:f2:78:7d:9a
BT> Connecting
Found device: f2:09:f2:78:7d:9a
BT> Connecting
BT> Connected
BT> Connected
Disconnected
Disconnected
Disconnected
Disconnected
^Cubuntu@boontoo:~/motion-thermostat$
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Tried the example on the raspberry pi and got this output: