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
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??
The path I see to the config file is /home/USER/.indi
astroberry@astroberry:~ $ ls -altr .indi
-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
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)
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.