hobbyquaker / node-red-contrib-movehub

Node-RED Nodes to control LEGO Boost's Move Hub 🤖 🐱 🎸 🚚
https://flows.nodered.org/node/node-red-contrib-movehub
MIT License
2 stars 2 forks source link

How to connect using OSX #1

Open juggledad opened 5 years ago

juggledad commented 5 years ago

Just thought I'd explain what I did to get this working with NR in OSX 10.13.6 - there might be an easier was, but this is what I did.

First I had to install Xcode from Apple Next I had to install the 'Additional Tools for Xcode 10.1' In the Tools/Hardware folder is 'Bluetooth Explorer' which I ran Next under the 'Devices' tab, select 'Low Energy Devices' In the window that opens, click the 'Start Scanning' button and press the green button on the MoveHub At this point you should see 'LEGO Move Hub' show up select it and press the 'Connect' button

Now in NR add one of the MoveHub nodes and next to the Hub, press the pencil icon disconnect the battery from the Move Huband re attach it and press the Discover button in NR This should show you a MAC address. If you get a node address (look in the sidebar for the format) you need to try again.

Once you have the MAC address of the hub, you should shutdown NR, close the Bluetooth Explorer and wait till the hub shuts off (disconnect the battery). Restart NR and plug in the battery and you should connect and be able to use it in NR.

torinnguyen commented 4 years ago

I follow your steps and I managed to Connect to it in Bluetooth Explorer.

But nothing happened when I click Discover button in NodeRED.

I feel a little weird about "disconnect the battery from the Move Hub re attach it" After I do that, the hub is basically in the 'off' state.

juggledad commented 4 years ago

Sorry this took so long to reply. Yeah, I can't connect any more eithor. there seems to be a problem with one of the nodes it depends on which changed in newer versions of node.js

If I find a solution, I'll add it in here.