×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Cant connect to Astroberry relays

  • Posts: 74
  • Thank you received: 8
Ekos startup  initiates the connection to Astroberry relays, but fails to connect because it indicates one of the BCM pins is in use.  I try to reconfigure the BCM settings and it says it can't find the configuration file.  Any ideas???  Bruce
10 months 1 week ago #79695

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

  • Posts: 74
  • Thank you received: 8

Replied by Bruce Morrell on topic Astroberry relays

I found the problem with the indi astroberry relays.  The issue I was having is that I wanted to change the order in which the relays were listed by changing the BCM pins.  The problem is the driver is not creating a config file in the home/astroberry/indi directory!

Does anyone know where the config file is??
Thanks Bruce
10 months 1 week ago #79803

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

  • Posts: 113
  • Thank you received: 5

Replied by Malcolm Whinfield on topic Astroberry relays

I believe the relays are fixed in code. On GitHub see if there is a .h file that contains the setting for BCM pins.
Malcolm
Telskop Service TS80 480mm APO FL53 Glass
Canon 450D DSLR
ASI120MM Guide camera.
HEQ5 Pro
TIC Focuser NG
Raspberry Pi 4 8GB with Astroberry
10 months 1 week ago #79848

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

  • Posts: 238
  • Thank you received: 49

Replied by Gene N on topic Astroberry relays

The path I see to the config file is /home/USER/.indi
astroberry@astroberry:~ $ ls -altr .indi
total 52
-rw-r--r-- 1 astroberry astroberry 36864 Jan 20 14:39 profiles.db
drwxr-xr-x 23 astroberry astroberry 4096 Jan 20 17:23 ..
-rw-r--r-- 1 astroberry astroberry 2751 Jan 24 09:07 'Astroberry Relays_config.xml.default'
-rw-r--r-- 1 astroberry astroberry 2751 Jan 24 09:07 'Astroberry Relays_config.xml'
drwxr-xr-x 2 astroberry astroberry 4096 Jan 24 09:07 .

I launched a simple
indiserver /usr/bin/indi_astroberry_relays

Then called up an INDI console
Navigated to Options tab for Relays, at bottom of tab did a 'Save' configuration

The above generated the files as shown above in the '.indi' directory (note the '.', note the 'rw' for owner)

Gene
10 months 1 week ago #79853

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

  • Posts: 74
  • Thank you received: 8

Replied by Bruce Morrell on topic Astroberry relays

Gentlemen,
I still have not found the config file, however I have figured out how to solve. Indi astroberry relay has a default assignment for BCM to gpio pins, which I was unable to change. The culprit was that I could not save any changes because there was a conflict between relay board and wave share servo board. Specifically BCM 13 and 19. IT dawned on me to remove servo board and then try reconfiguring relay board. That worked by eliminating pins 13 and 19 and assigning them BCM ports that were not used by any other application. Save, then reinstall wave share servo board.

The permanent fix is to allow the user to assign BCM ports to a null value and to define the number of relays(3, 4, 8 or what ever). I ended up using a wave share relay board that does not have conflicts with their servo board. The only artifact left over is that the Relay Board still has 8 relays with bogus BCM port assignments. Let user define number relays, the default BCM should be 26, 20 and 21 only.
10 months 6 days ago #79902

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

  • Posts: 983
  • Thank you received: 375
Features registered as issues #28 and #29 at the project source github.com/rkaczorek/astroberry-diy/issues
--
Radek Kaczorek
Astroberry Server | Orion CT8 | Askar FRA 400 | NEQ6 (hypermod) | Atik 460EX | ASI 1600 | ASI 120MM | Atik EFW2
9 months 2 weeks ago #80477

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

Moderators: Radek Kaczorek
Time to create page: 0.511 seconds