When you have trouble with connecting your BLE devices, reset your HCI socket by the following command.
# STOP Node-RED first!!
sudo hciconfig hci0 reset
And restart Node-RED.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/6fb55f00-7940-4661-b4dd-d88a7b82f6ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Can you control the device with PuchThrough's app as well?The node should work if the app is able to read/write to your device.Or post your flow so that I can review it.
On Sat, Sep 23, 2017 at 9:59 PM, bal simpson <thi...@gmail.com> wrote:
Thank you for this. I have been trying to send commands to my cheap Chinese bluetooth RGB LED Bulbs, but it is not working. When I do it on the terminal with the gatttool, I am able to connect and send the data.
On Saturday, August 26, 2017 at 12:07:22 PM UTC+5:30, daisuke baba wrote:Hi there,I released a new Node-RED node package for BLE this month. Finishing minor upgrades and bug fixes as of the first release, I introduce the package here.This offers you to provide simple access to your BLE devices on Node-RED.I tested the package with BLEnano by RedBear on Raspberry Pi (Raspbian Stretch).# The Blenano mbed project I used for testing is available atYou can also access multiple BLE devices via GATT protocol with this node package. Read/Write/WriteWithoutResponse and Notify operations are supported.The node description (README.md) includes an example flow demonstrating the node functionalities.Hope you guys enjoy this node package.db
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
[{"id":"34420257.0ff1ee","type":"inject","z":"b3e3180b.302368","name":"","topic":"","payload":"{\"ffbd\":\"0x4433cc44\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":200,"y":1240,"wires":[["8e5ecb2d.43c7b8"]]},{"id":"34214410.0cf98c","type":"inject","z":"b3e3180b.302368","name":"","topic":"","payload":"{\"ffb2\":\"0x44cc3344\"}","payloadType":"json","repeat":"","crontab":"","once":false,"x":200,"y":1280,"wires":[["22b80b06.e19a54"]]},{"id":"1f08902a.15c49","type":"inject","z":"b3e3180b.302368","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":160,"y":1200,"wires":[["2b273649.e4a79a"]]},{"id":"2b273649.e4a79a","type":"Generic BLE in","z":"b3e3180b.302368","name":"tvLamp","genericBle":"8b55fb44.32acd8","useString":false,"notification":true,"x":380,"y":1200,"wires":[["aaf7815d.6e134"]]},{"id":"aaf7815d.6e134","type":"debug","z":"b3e3180b.302368","name":"","active":true,"console":"false","complete":"true","x":530,"y":1200,"wires":[]},{"id":"8e5ecb2d.43c7b8","type":"Generic BLE out","z":"b3e3180b.302368","name":"","genericBle":"ff57ffc2.fa3af","x":510,"y":1240,"wires":[]},{"id":"22b80b06.e19a54","type":"Generic BLE out","z":"b3e3180b.302368","name":"","genericBle":"ff57ffc2.fa3af","x":510,"y":1280,"wires":[]},{"id":"8b55fb44.32acd8","type":"Generic BLE","z":"","localName":"Lamp_150104","address":"5c:f8:21:f6:41:6e","uuid":"5cf821f6416e","listeningPeriod":"","characteristics":[]},{"id":"ff57ffc2.fa3af","type":"Generic BLE","z":"","localName":"Lamp_150104","address":"5c:f8:21:f6:55:f3","uuid":"5cf821f655f3","listeningPeriod":"","characteristics":[{"uuid":"2a00","name":"Device Name","type":"org.bluetooth.characteristic.gap.device_name","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a01","name":"Appearance","type":"org.bluetooth.characteristic.gap.appearance","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a02","name":"Peripheral Privacy Flag","type":"org.bluetooth.characteristic.gap.peripheral_privacy_flag","notifiable":false,"readable":true,"writable":true,"writeWithoutResponse":false},{"uuid":"2a03","name":"Reconnection Address","type":"org.bluetooth.characteristic.gap.reconnection_address","notifiable":false,"readable":false,"writable":true,"writeWithoutResponse":false},{"uuid":"2a04","name":"Peripheral Preferred Connection Parameters","type":"org.bluetooth.characteristic.gap.peripheral_preferred_connection_parameters","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a05","name":"Service Changed","type":"org.bluetooth.characteristic.gatt.service_changed","notifiable":false,"readable":false,"writable":false,"writeWithoutResponse":false},{"uuid":"2a23","name":"System ID","type":"org.bluetooth.characteristic.system_id","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a24","name":"Model Number String","type":"org.bluetooth.characteristic.model_number_string","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a25","name":"Serial Number String","type":"org.bluetooth.characteristic.serial_number_string","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a26","name":"Firmware Revision String","type":"org.bluetooth.characteristic.firmware_revision_string","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a27","name":"Hardware Revision String","type":"org.bluetooth.characteristic.hardware_revision_string","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a28","name":"Software Revision String","type":"org.bluetooth.characteristic.software_revision_string","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a29","name":"Manufacturer Name String","type":"org.bluetooth.characteristic.manufacturer_name_string","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a2a","name":"IEEE 11073-20601 Regulatory Certification Data List","type":"org.bluetooth.characteristic.ieee_11073-20601_regulatory_certification_data_list","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"2a50","name":"PnP ID","type":"org.bluetooth.characteristic.pnp_id","notifiable":false,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"ffb1","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffb2","name":"<Unnamed>","type":"(Custom Type)","notifiable":true,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffb3","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffb4","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffb5","name":"<Unnamed>","type":"(Custom Type)","notifiable":true,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"ffb6","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffb7","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffb8","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":false,"writable":true,"writeWithoutResponse":true},{"uuid":"ffb9","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffba","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffbb","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffbc","name":"<Unnamed>","type":"(Custom Type)","notifiable":true,"readable":true,"writable":false,"writeWithoutResponse":false},{"uuid":"ffbd","name":"<Unnamed>","type":"(Custom Type)","notifiable":true,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffbe","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":false,"writable":true,"writeWithoutResponse":true},{"uuid":"ffbf","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":true,"writable":true,"writeWithoutResponse":true},{"uuid":"ffc0","name":"<Unnamed>","type":"(Custom Type)","notifiable":false,"readable":false,"writable":true,"writeWithoutResponse":true}]}]
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/91593bd5-d3de-4c6a-86f7-10480a9b2525%40googlegroups.com.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/1b4ecd3a-d87e-4210-80fe-579c59216946%40googlegroups.com.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/1412265d-f8c4-4fef-babb-ab5151f3480c%40googlegroups.com.
--
http://nodered.org
Join us on Slack to continue the conversation: http://nodered.org/slack
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.
To post to this group, send email to node...@googlegroups.com.
Visit this group at https://groups.google.com/group/node-red.
To view this discussion on the web, visit https://groups.google.com/d/msgid/node-red/7657ebd1-b4de-40a8-a85d-2936889c647e%40googlegroups.com.