NEWS
SensorTag Ti CC2650STK
-
Da es hier Off-Topic wurde http://forum.iobroker.net/viewtopic.php … =40#p23784
Zum SensorTag CC2650STK von Ti habe ich das Skript https://github.com/sandeepmistry/node-s … er/test.js für iobroker angepasst (log() statt console.log()).
Damit erhält man folgende Ausgabe:
2016-04-15 07:29:56 info script.js.SensorTag-2: disconnected! 2016-04-15 07:29:56 info script.js.SensorTag-2: disconnected! 2016-04-15 07:29:56 info script.js.SensorTag-2: disconnected! 2016-04-15 07:29:56 info script.js.SensorTag-2: disconnect 2016-04-15 07:29:56 info script.js.SensorTag-2: reed relay: false 2016-04-15 07:29:56 info script.js.SensorTag-2: right: true 2016-04-15 07:29:56 info script.js.SensorTag-2: left: false 2016-04-15 07:29:50 info script.js.SensorTag-2: readSimpleRead - waiting for button press ... 2016-04-15 07:29:50 info script.js.SensorTag-2: disableLuxometer 2016-04-15 07:29:50 info script.js.SensorTag-2: lux = 3.7 2016-04-15 07:29:50 info script.js.SensorTag-2: readLuxometer 2016-04-15 07:29:48 info script.js.SensorTag-2: enableLuxometer 2016-04-15 07:29:47 info script.js.SensorTag-2: writeIoConfig 2016-04-15 07:29:47 info script.js.SensorTag-2: config = 0 2016-04-15 07:29:47 info script.js.SensorTag-2: readIoConfig 2016-04-15 07:29:47 info script.js.SensorTag-2: writeIoData 2016-04-15 07:29:47 info script.js.SensorTag-2: data = 127 2016-04-15 07:29:47 info script.js.SensorTag-2: readIoData 2016-04-15 07:29:47 info script.js.SensorTag-2: disableGyroscope 2016-04-15 07:29:47 info script.js.SensorTag-2: z = 0.4°/s 2016-04-15 07:29:47 info script.js.SensorTag-2: y = -37.3°/s 2016-04-15 07:29:47 info script.js.SensorTag-2: x = -0.4°/s 2016-04-15 07:29:47 info script.js.SensorTag-2: readGyroscope 2016-04-15 07:29:45 info script.js.SensorTag-2: enableGyroscope 2016-04-15 07:29:45 info script.js.SensorTag-2: disableBarometricPressure 2016-04-15 07:29:45 info script.js.SensorTag-2: pressure = 998.3 mBar 2016-04-15 07:29:44 info script.js.SensorTag-2: readBarometricPressure 2016-04-15 07:29:42 info script.js.SensorTag-2: enableBarometricPressure 2016-04-15 07:29:42 info script.js.SensorTag-2: disableMagnetometer 2016-04-15 07:29:42 info script.js.SensorTag-2: z = 68.4μT 2016-04-15 07:29:42 info script.js.SensorTag-2: y = 89.2μT 2016-04-15 07:29:42 info script.js.SensorTag-2: x = 150.4μT 2016-04-15 07:29:42 info script.js.SensorTag-2: readMagnetometer 2016-04-15 07:29:40 info script.js.SensorTag-2: enableMagnetometer 2016-04-15 07:29:40 info script.js.SensorTag-2: disableHumidity 2016-04-15 07:29:40 info script.js.SensorTag-2: humidity = 54.9 % 2016-04-15 07:29:40 info script.js.SensorTag-2: temperature = 24.7°C 2016-04-15 07:29:40 info script.js.SensorTag-2: readHumidity 2016-04-15 07:29:38 info script.js.SensorTag-2: enableHumidity 2016-04-15 07:29:38 info script.js.SensorTag-2: disableAccelerometer 2016-04-15 07:29:38 info script.js.SensorTag-2: z = 0.8 G 2016-04-15 07:29:38 info script.js.SensorTag-2: y = -0.5 G 2016-04-15 07:29:38 info script.js.SensorTag-2: x = -0.0 G 2016-04-15 07:29:38 info script.js.SensorTag-2: readAccelerometer 2016-04-15 07:29:35 info script.js.SensorTag-2: enableAccelerometer 2016-04-15 07:29:35 info script.js.SensorTag-2: disableIrTemperature 2016-04-15 07:29:35 info script.js.SensorTag-2: ambient temperature = 24.6°C 2016-04-15 07:29:35 info script.js.SensorTag-2: object temperature = 21.4°C 2016-04-15 07:29:35 info script.js.SensorTag-2: readIrTemperature 2016-04-15 07:29:33 info script.js.SensorTag-2: enableIrTemperature 2016-04-15 07:29:33 info script.js.SensorTag-2: manufacturer name = Texas Instruments 2016-04-15 07:29:33 info script.js.SensorTag-2: readManufacturerName 2016-04-15 07:29:33 info script.js.SensorTag-2: software revision = PCB 1.2/1.3 2016-04-15 07:29:33 info script.js.SensorTag-2: readSoftwareRevision 2016-04-15 07:29:33 info script.js.SensorTag-2: hardware revision = PCB 1.2/1.3 2016-04-15 07:29:33 info script.js.SensorTag-2: readHardwareRevision 2016-04-15 07:29:33 info script.js.SensorTag-2: firmware revision = 1.20 (Jul 20 2015) 2016-04-15 07:29:33 info script.js.SensorTag-2: readFirmwareRevision 2016-04-15 07:29:33 info script.js.SensorTag-2: serial number = N.A. 2016-04-15 07:29:32 info script.js.SensorTag-2: readSerialNumber 2016-04-15 07:29:32 info script.js.SensorTag-2: system id = b0:b4:48:00:00:bd:a8:04 2016-04-15 07:29:32 info script.js.SensorTag-2: readSystemId 2016-04-15 07:29:32 info script.js.SensorTag-2: device name = SensorTag 2.0 2016-04-15 07:29:32 info script.js.SensorTag-2: readDeviceName 2016-04-15 07:29:28 info script.js.SensorTag-2: connectAndSetUp 2016-04-15 07:29:28 info script.js.SensorTag-2: discovered: {"id":"b0b448bda804","type":"cc2650"} 2016-04-15 07:29:19 info script.js.SensorTag-2: registered 0 subscriptions and 0 schedules 2016-04-15 07:29:19 info Start javascript script.js.SensorTag-2
Ich glaube darauf kann man aufsetzen
Laut Verpackung kann man den SensorTag auch als iBeacon verwenden. Dazu habe ich noch nichts gefunden. Das wäre dann noch ein weiterer Anwendungsfall mit dem Geofency-Adapter.
Das BLE Scanner Skript findet den SensorTag auch.
-
Sieht gut aus!
Ich weiß, du bist gerade mit dem Wiffi beschäftigt :lol:
Wird daraus irgendwann ein Adapter? Vielleicht? Eventuell? Dann warte ich nämlich noch :oops: