alikh31 / node-red-contrib-eq3-bluetooth

node-red binding to bluetooth eq3 radiator valves without Max! Cube
MIT License
10 stars 5 forks source link

TypeError: Cannot read property 'connectedAndSetUp' of undefined #2

Open Callmoon opened 7 years ago

Callmoon commented 7 years ago

Hello all,

I'm trying to use this library to control eq3 bluetooth thermos from my node-red server on my raspberry pi. As Device parameter I've insert the phericalUUID from a BLEScan node which give the following response:

{ "peripheralUuid": "001a23064e51", "localName": "CC-RT-BLE" }

If I connect a inject Node with the input parameters as payload (or just a timestamp) I receive always the following error message from my debug node:

TypeError: Cannot read property 'connectedAndSetUp' of undefined

So my question: Is it right to use the peripheral Uuid or is it necessary to pair the eq3s before? Or did I some mistakes when I've tried to install it onto a raspberry pi? (other BLE nodes work too)

Thank you all

alikh31 commented 7 years ago

Hey @Callmoon

Thanks for your feedback. I tried to add more logging in case your device address can not be found. this might be due to not having your bluetooth on your raspberry pi enable or to have the discovery available.

Please update to the latest version and give it another go. messages in debug window will be more helpful I think.

janvda commented 5 years ago

@Callmoon , I guess this issue can be closed ?