Astroberry Focuser with Adafruit Motor HAT

  • Posts: 24
  • Thank you received: 1
I compiled and installed the Adafruit Motor HAT driver. So far so good. I run the Raspberry Pi as remote INDI server. I run the KStars/Ekos client on Windows 10 on my desktop. But the "Motor HAT Focuser" is not showing in the list of focusers in the KStars Profile Editor, so I can not add it to my profile.
I checked that the .xml file is in the /usr/share/indi folder and it is.

Any suggestions?
Windows 10 64-bit with remote access to Embedded Raspberry PI 3 with Ubuntu Mate 16.04.3 LTS and KStars 2.9.8, Skywatcher HEQ5 PRO, Robtics 80mm F7 doublet apochromaat refractor + CentralDS CDS-600DII
6 years 10 months ago #20753

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

  • Posts: 1309
  • Thank you received: 226
berendj:
Place the executable in /usr/bin, not in /usr/local/bin
6 years 10 months ago #20754

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

  • Posts: 24
  • Thank you received: 1
Thanks for that suggestion Ihoujin.
I moved the file, but it still does not show in the profile editor. (see attachment)
When i open the Web Manager in my browser, the Motor HAT Focuser does show in the drivers select box in the focuser group and is select-able.

I installed KStars/Ekos also on the Raspberry PI itself, but the result is the same.

Lost this battle, but hope to win the war.
Windows 10 64-bit with remote access to Embedded Raspberry PI 3 with Ubuntu Mate 16.04.3 LTS and KStars 2.9.8, Skywatcher HEQ5 PRO, Robtics 80mm F7 doublet apochromaat refractor + CentralDS CDS-600DII
6 years 10 months ago #20757
Attachments:

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

  • Posts: 983
  • Thank you received: 375
It works over webmanager because the xml file does exist on the machine the webmanager is running on.
But it doesn't exist on the macine you are running KStars/Ekos on. Probably you need to copy it to your windows machine. Just find the place where all the other driver's xml files are, and copy it there.
The following user(s) said Thank You: BJ Ruiterkamp
6 years 10 months ago #20758

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

  • Posts: 1309
  • Thank you received: 226

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

Astroberry Focuser with Adafruit Motor HAT - Page 6 - INDI Forum - Results from #60
  • Posts: 34
  • Thank you received: 2

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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


×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

  • Posts: 34
  • Thank you received: 2

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

  • Posts: 34
  • Thank you received: 2
Apologies for double post. My first post didn't appear and I wasn't sure why. I noticed after the second post that my posts were being moderated before being posted.
6 years 4 months ago #25465

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

  • Posts: 983
  • Thank you received: 375
The issue has been hotfixed in the last commit. Please redownload the code and recompile.
The following user(s) said Thank You: Steve
6 years 4 months ago #25475

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

  • Posts: 34
  • Thank you received: 2

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

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

  • Posts: 983
  • Thank you received: 375
This driver uses submodules, which are downloaded to /home/steve/astroberry-amh/build/libs/AdafruitStepperMotorHAT_CPP
Just delete the /home/steve/astroberry-amh/build/libs directory and rerun make install
The following user(s) said Thank You: Steve
6 years 4 months ago #25523

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

  • Posts: 34
  • Thank you received: 2
Victory! Thanks again. Not smart enough, yet, to understand why it worked but it did :)
6 years 4 months ago #25528

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

Time to create page: 2.350 seconds