Welcome, Guest
Username: Password: Remember me
25 Jul 2018
Glad to announce of release of INDI Library v1.7.4 on 2018-07-25. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...

TOPIC: Connecting indi via Bluetooth to a compuer

Connecting indi via Bluetooth to a compuer 1 year 4 months ago #17268

  • petarm
  • petarm's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 77
  • Thank you received: 13
Hi tseckler thanks for your response regarding auto binding a shoestring bt adapter.

I tried your solution on my rpi3. But when I then start kstars and do the connection with ekos I get the same error as I was initially getting (see my post #16099).

The only difference this time is the red led on the shoestring adapter now stays on (its not flashing) which means it is still connected.

I'll keep tinkering to see if I can cracking it.

Regards

Please Log in or Create an account to join the conversation.

Takahashi FC-100DF, Skywatcher HEQ5 Pro, Baader modified Canon 550D, Orion 50mm guide scope with ZWO ASI 120MC, homebuilt BT Moonlite focuser, Asus Tinkerboard running Armbian Ubuntu 16.04LTS with kstars ( github.com/Patrick-81/NAFABox )

Connecting indi via Bluetooth to a compuer 1 year 4 months ago #17269

You may want to make sure /usr/bin/rfcomm0.sh is executable.
sudo chmod +x /usr/bin/rfcomm0.sh.

Please Log in or Create an account to join the conversation.

Connecting indi via Bluetooth to a computer 1 year 4 months ago #17272

  • petarm
  • petarm's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 77
  • Thank you received: 13
Hi tseckler, I just checked to make sure the service for enabled, it was. Still the same issue. The port auto binds but when i try connecting to it in ekos, the port is unresponsive. I checked on my server to make sure the bt was connected and the bt manager shows a perfect connection??? Very weird.

Could it have anything to do with my auto indi server startup? Could it be an issue with the order in which things start up? To start up my indiserver automatically i did this:

Set up Rpi3 to Automatically Start indiserver

Connect all equipment to the rpi3 (heq5, guider, ccd, focuser etc etc) and power up rpi3. You will notice that the BT adapter’s red LED flashes which means it is NOT connected to the rpi3 yet.

To start indiserver automatically, open a terminal and type:

sudo pluma /lib/systemd/system/indi.service

and add the following to the file:

[Unit]
Description=Start INDI server at startup.
[Service]
User=username
Group=usergroup
Type=simple
Restart=always
ExecStart=/usr/bin/indiserver indi_eqmod_telescope indi_asci_ccd indi_gphoto_ccd indi_joystick
[Install]
WantedBy=graphical.target
WantedBy=multi-user.target

and save the file and then activate is via

sudo systemctl enable indi.service

Please Log in or Create an account to join the conversation.

Takahashi FC-100DF, Skywatcher HEQ5 Pro, Baader modified Canon 550D, Orion 50mm guide scope with ZWO ASI 120MC, homebuilt BT Moonlite focuser, Asus Tinkerboard running Armbian Ubuntu 16.04LTS with kstars ( github.com/Patrick-81/NAFABox )

Connecting indi via Bluetooth to a compuer 1 year 3 months ago #17880

  • Ihoujin
  • Ihoujin's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 353
  • Karma: 1
  • Thank you received: 46

Thanks, but this is basically a nightmare for new users who have no background in LInux, there is no easy way for this?

Pair and connect BT Adapter
To the file /etc/rc.local add this line of code.
Don't miss the trailing & in this code and sub XX's for adapter MAC address.
rfcomm bind hci0 XX:XX:XX:XX:XX:XX 1 &

Please Log in or Create an account to join the conversation.

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

Connecting indi via Bluetooth to a compuer 10 months 2 weeks ago #21516

Sorry to revive this thread. I tried all the steps mentioned above and but i am unable to get the mount connected on ekos . Could some one suggest what I am doing wrong here.

Trying to connect BT2EQ6 on astroberry@RPI3

Attached screenshot of the error log
Attachments:

Please Log in or Create an account to join the conversation.

Connecting indi via Bluetooth to a compuer 10 months 1 week ago #21527

  • Ihoujin
  • Ihoujin's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 353
  • Karma: 1
  • Thank you received: 46
I'm not sure. It should be available on rfcomm0

Please Log in or Create an account to join the conversation.

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.

Connecting indi via Bluetooth to a compuer 9 months 1 day ago #22558

Hi, I have tried all the different approaches as described in this thread, but got the same error message as described by tkottary.

I am also using the Rpi3, with the Shoestring BT adapter for the EQ6.

Would be great if someone with similar set up could describe once again how to set up!

Thanks in advance, Helge

Please Log in or Create an account to join the conversation.

Connecting indi via Bluetooth to a compuer 9 months 1 day ago #22559

  • Ihoujin
  • Ihoujin's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 353
  • Karma: 1
  • Thank you received: 46
The last time I tried my Bluetooth adapter was after I remade it. I encountered that error and left it at that for the time being, assuming I made a mistake. But perhaps there is a bug?

Please Log in or Create an account to join the conversation.

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last Edit: by Ihoujin.

Connecting indi via Bluetooth to a compuer 9 months 1 day ago #22560

Hi Ilhoujin,

Thanks for responding! Are you also using the Shoestring BT Adapter? If I may ask, in one of your previous posts you were suggesting to add a 1 and the & behind the MAC address, -what is the purpose of the „1“?

Anyway, sounds like your solution was working, but not anymore - so it might really be a sort of „bug“.

Best, Helge

Please Log in or Create an account to join the conversation.

Connecting indi via Bluetooth to a compuer 9 months 1 day ago #22561

  • Ihoujin
  • Ihoujin's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 353
  • Karma: 1
  • Thank you received: 46
Well I can't be sure if my problem was hardware or software because I rebuilt the device, and encountered frustrations.
I don't recall the full syntax reasoning for the 1. But the trailing & is required to allow the Pi to continue to complete the boot, because commands in rc.local are run at boot time and will hang on them while waiting.
The following user(s) said Thank You: tkottary

Please Log in or Create an account to join the conversation.

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Last Edit: by Ihoujin.

Connecting indi via Bluetooth to a compuer 9 months 1 day ago #22567

In my case problem was Blueman . It was auto connecting the device on boot. So I made sure on reboot it wasn't auto connecting. Blueman was used only once to pair the device .

Now I run this below script after Login

sudo rfcomm bind hci0 <your mac address> 1
sleep 5
sudo chown <username> /dev/rfcomm0

also to note when i put the above script to invoke from my rc.local device wasnt wasn't connecting to mount ;that is something i need to investigate further. Hope this helps.
The following user(s) said Thank You: knro, TheRealEleven

Please Log in or Create an account to join the conversation.

Last Edit: by tkottary.

Connecting indi via Bluetooth to a compuer 9 months 12 hours ago #22583

  • Ihoujin
  • Ihoujin's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 353
  • Karma: 1
  • Thank you received: 46
My guess as to why it didn't work in rc.local is the absence of the trailing & character

Please Log in or Create an account to join the conversation.

INDI/KStars on Raspberry Pi 3B+
Lubuntu 16.04
Skywatcher HEQ5 Pro Mount
Canon 600D Camera
Orion SSAG @280mm Guide Scope
PHD2
Adafruit Motor Hat shield
Adafruit GPS Module
Generic Bluetooth Joystick.
Startech 7 port powered USB Hub.
Time to create page: 0.182 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica