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

Connection #13

Open MeisterQ opened 5 years ago

MeisterQ commented 5 years ago

Hello,

Im using a Raspberry Pi 2B with a USB BT Dongle.

Via SSH i can find, connect and pair with the EQ3-Bluetooth.

But if i put in the BT Address of the device into the Node, it only shows me "disconnected".

Even if i use low or high letters.

The valve is paired with my phone and i can control it via its App without problems.

After injecting something (in this case only "Boolean True".) it shows me

"the specified device at 00:1a:22:0e:ed:99 has not been found yet"

"list of all available addressess will be retrieved..."

But i never get any list...

Is this thing still supported?

Are there any other easy solutions to connect and control this valves via node-red ?

janvda commented 5 years ago

I am having the same problem at this moment.

janvda commented 5 years ago

I got it working by 1/ installing the proper packages: apt-get install bluetooth bluez libbluetooth-dev libudev-dev

2/ assure nodered has root privileges (see https://github.com/noble/noble#running-without-rootsudo ) by running following command:

RUN sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
janvda commented 5 years ago

I also got above error when my raspberry pi was too far away (e.g. on another floor in the house) from my eQ-3 device.

janvda commented 5 years ago

@MeisterQ is it OK to close this issue ?

MeisterQ commented 5 years ago

Yes.

Im using an ESP32 to communicate to my EQ3 valves now. I can send Messages via MQTT and the ESP is translating it into Bluetoothcommands for the valves.

Much better

maciekelga commented 3 years ago

Gentelman could You show me flow in Node Red? I`m trying to start NR with eq3 BLE.