Quantcast
Channel: Recent Topics - INDI Forum
Viewing all 15023 articles
Browse latest View live

Nextar hand controller reverse engineering - by: broadcastyourseb

$
0
0
I'd like to share with you my work around my Celestron Advanced GT mount and its Nexstar hand controller.
This is on old one with firmware version 4.21.

I simply heard communication between my laptop and the Nexstar by playing the man in the middle. I used all buttons on the controller, NexRemote software and PEC software and here is the final result, a spreadsheet.

I'm not a programmer, and I will take ages to modifiy the actual driver but it will be great to add new features to Celestron driver.

Of course, I will be glad to help for it.

Running a distributed INDI-based astro-imaging setup - by: ChrisHoward

$
0
0
This sounds grander than it is, but it’s not incorrect. And INDI makes it easy, with distributed processing built into the protocol, so that once you have your devices plugged into some number of machines (e.g., Raspberry Pi's) and you establish a chain of priority--who's calling who, there's no difference in the way any app (like Ekos) interacts with the INDI-based system, whether it's a single computer or a group of computers.

My main reason for dividing instances of the INDI server across two Raspberry Pi's is to separate my iOptron CEM25P mount from the rest of the hardware (CCD, filter wheel, focuser, guide camera). I want to run the telescope-based components over wifi, with a dedicated battery pack, so there are no cables running from the mount to...anything. Everything is attached to the scope, including the rechargeable battery. And everything is controlled from my Macbook Pro over wifi. The problem to solve, which started me down the chained INDI server path, was to exclude the Go2Nova 8408 hand-controller from the mix. The iOptron mount passes all slewing and guiding commands (and everything else) through the controller over serial. I don't know if this is unique to iOptron mounts, but I don't have to do this with my Orion Atlas EQ-G; the serial cable from the computer plugs directly into the mount, without having the SynScan controller in the middle. Here’s the general idea with the CEM25P: in order to control the mount from any command software using INDI or ASCOM you connect the Go2Nova controller to the mount as usual, and then run a serial cable (RS232 -> RJ9) cable from the controller to your computer, in this case, a Raspberry Pi3B+ mounted on the telescope. This is fine if you don’t mind running cables to and from your scope, cameras, focuser, filter wheel--for power and data. This is how I’ve run things on this mount for the last year or so.

What changed? I’ve been looking at the StellarMate gadget for a while now, and Jasem’s presentation on the Astro Imaging Channel tipped me toward checking it out. He did a great overview of single-board computers in astro automation, with particular focus on Raspberry Pi's and the Atom-based Windows machines that have become popular. My goals with astrophotography have also changed over the last couple years; I've been moving more toward portability and automation, minimizing setup time, and using smaller refractors and lightweight but accurate EQ mounts. (Another general reason to go with StellarMate OS is it works great with the faster Rasp Pi 3B+. Just purchase the OS on stellarmate.com, download, flash an SD card, and you’re good to go).

Here's a diagram that shows one of my astro device setups. I spent the day getting this going, but haven't been able to get out under the stars with this yet. So far I've tested out the startup process several times, and successfully used all the connected equipment--slewing in KStars, taking a dozen exposures with the main CCD and guide camera, testing the focusing system. Everything worked well, but I think the final test will be guiding. I don't expect any problems, but that's the one connection that relies on one INDI server talking to another without any complications.



Any downsides to this setup? I don’t see any with the system distribution side of things. The only critique of chaining INDI servers I’ve read is about potential inefficiency and network latency, but I don’t see a problem here. Correct me if I’m wrong, but network speeds, even over a slow-ish wifi connection, are still going to be astronomically faster than the serial communication rates we use--9600 bits/sec to control a telescope mount, for instance. Even for guiding, where you need response times in seconds, latency shouldn't be a problem. With these inexpensive Raspberry Pi’s that can support 5.0 GHz wifi with speeds in the hundreds of millions of bits/sec, one second is still a long time.

I have only done some preliminary testing on the power side of this setup, with a boost converter (DC step-up) to maintain a fairly constant 12vdc output for the devices, and with a load the battery and converter can handle. I'm also looking at mounting a separate battery dedicated to dew control, and again it's about maintaining voltage and current.

Here’s an overview of the settings I'm using:

All three systems--primary pi, secondary pi, Macbook Pro--are running over the Stellarmate Wifi hotspot. The secondary Pi (astro-ieq) has a static IP of 10.250.250.105

Secondary Pi: astro-ieq
Connect through USB to Serial to the iOptron Go2Nova 8404 controller and CEM25P

Run this command:
indiserver -v indi_ieq_telescope

Primary Pi: stellarmate
Connect USB to: Atik CCD, ZWO guide camera, ZWO Filter Wheel, Moonlite-protocol focuser, and the remote connection you just started on the Secondary Pi: iOptron CEM25 on astro-ieq

Add a hostname to /etc/hosts that identifies the Secondary Pi
10.250.250.105 astro-ieq

Run this command:
indiserver -v indi_atik_ccd indi_moonlite_focus indi_asi_ccd indi_asi_wheel "iEQ"@astropi-telescope:7624

I don't think you need to sudo these commands, but I did in my tests. The "iEQ" designates the device ID for the iOptron CEM25 series of mounts. This parameter "iEQ"@astro-ieq:7624 tells the INDI server to connect to the "iEQ" device (iOptron mount) on astro-ieq (the secondary pi) through port 7624 (default INDI port). The tip from Jasem's tutorial on chaining multiple Raspberry Pi's together is to run indiserver -m 100 -vv indi_ieq_telescope first to get the verbose output and grab the device IDs. That's how I found the ID "iEQ", which works for several iOptron mounts, including the CEM25P and iEQ30.

Main computer
I have a Macbook Pro running Ubuntu Mate 16.04 in a Parallels VM. From here I setup a remote mode profile for the Stellarmate Primary Pi, which is running on 10.250.250.1. From the main computer's point of view--my point of view--there's nothing different about any of the operations in Ekos. That is the advantage of using the underlying INDI protocol, which supports distributed components at a deep level. After startup, you just do your imaging runs like you always do: polar alignment, create or manage your sequence queue, schedule new sequences. Everything just works!

Here are three shots of my working multi-node setup, showing the primary Pi (running StellarMate OS). The aluminum box on the top is a Raspberry Pi 3B+, with all four telescope-mounted components plugged in: Atik 414EX mono CCD, ZWO filter wheel, ZWO ASI120MM mini guide camera, and Moonlite-protocol focuser (not in view, other side of the scope. This is a new DIY focuser and controller I'm also testing out, which uses an Arduino Nano, 28BYJ-48 stepper motor, and ULN2003 motor driver board). The black box beneath the Raspberry Pi is a 6000mAh Li-ion battery with 12vdc out ( www.amazon.com/dp/B00ME3ZH7C ), along with a 5vdc USB power port. I run the Pi off the USB port, and the Atik camera off the 12v line, with a step up (boost) converter between to make sure we keep a steady 12v. You see that cable hanging down by the camera? That's the power line. I disconnected it before I took the pics because I'm measuring the boost converter for a 3d-printed case. For the system test I just velcro'd the PC board to the battery pack.



Close-up of the boost converter I used in my testing so far, the XL6009 DC-DC step-up power converter www.amazon.com/dp/B06XWSV89D . I put this inline between the battery and the camera's 12v connector. The problem I'm solving is the battery pack will drop voltage over time as the batteries discharge, and I'm willing to trade-off amperage in order to keep the voltage stable at 12v along that curve. Again, this is a test, so we'll see how this works out. My concern with real-world use is how much the camera draws for TEC (thermoelectric cooling) when I'm maintaining a sensor temperature at -20C? I still have to figure this out and see what I need to do for power to support this.



This next pic shows the secondary Pi, the black box velcro'd to the back of the iOptron CEM25P hand controller. The RJ-11 line from the conroller plugs into the mount, the RJ-9 (4-pin serial -> USB) cable plugs into the secondary Pi. For now I'm testing this off AC power, but for portability I will also run this side off of a battery pack.



Okay, that's where I am right now. I'll follow up with my continued testing and results!

Shoestring FCUSB on Mac - by: wvreeven

$
0
0
Last night I started trying out my newly acquired Shoestring FCUSB focus controller with a 6 V DC motor. I noticed the drivers were not available in Ekos on neither my MacBook nor my Ubuntu MATE Raspberry Pi. A quick search on the INDI website revealed that the drivers need to be downloaded separately and for Ubuntu this is quite straightforward. Simply go to

www.cloudmakers.eu/shoestringdrivers/

and download the ARMHF .deb file. Once installed the driver shows up and it works like a charm.

However, for Mac it is not that easy. According to that same website a complete specific INDI server version needs to be installed with a lot more bells and whistles than merely the Shoestring drivers. In itself this is not a problem however isn't there a stripped down file to download somewhere with only the Shoestring drivers?


Thanks, Wouter

Astrometry.net index files installation problem - by: the.cakemaker

$
0
0
Hi!

Sometimes, not always, i get this error message when i want to download index files for the plate-solvng tool.

I tried to download the files then manually, which sometimes worked, but i can not find the ones with the numbers starting with 41 like 4109, 4111 and so on. They are recommended for my setup.

Whats the problem?

cheers, Niki

Skipping File Problem on DSLR-Problem. - by: the.cakemaker

$
0
0
Hi again!

Yesterday this small problem kosts me 3 hours of lights...

I will explain the problem.

I was taking lights of NGC 6995. No probs till meridian flip. Made the flip. Made new platesolving. Object in center, all working great. BUT: again the solved picture was NOT the last one i shot, but the one before. So i THOUGHT i can start exposing again and did so. Since i expose with my mgen, i did not see the pictures in KStars and thats why i did not see thet i am not on target.
So my question is: Is there a solution for the problem, that the system is skipping pictures on DSLR?
How can i prevent the system to do so.
Most of the time i am aware of the prob, but yesterday i forgot to double-check it.

And right now i found out, that there are no logfiles saved. When i click on log directory, it says, that there are no logfiles?
How come? Logs are activated...


cheers
Niki

canon: can't set frame size - by: alacant

$
0
0
Hi everyone
I set the Canon frame size to 5208x3476 but as soon as I open the capture module, it sets it to 5184x3456. Even if I edit the esq file with 5208x3476, I still get the lover values...
1. What is the correct setting and how do I make it stick?
2. Can I take CR2 frames in camera (e.g. flats) and then convert them to the fits I get fro kstars?
Thanks

Ekos Live - first impressions and a few questions - by: Gilles

$
0
0
Hi
i've made a few test InRealLife two days ago on EkosLive, and would like to share

First of all, i'm very impressed of all the work done, it is huge !

I've subscribed to the basic version and polar assistant is available B)
It is sooooo usefull, please keep it in basic version !

Sometimes, when i capture a preview, no image is displayed :

I was also surprised that when connecting with my phone, outside my local network, it is still working !
It's a good thing, but isn't it a little bit risky ?

Basic version is said to be limited to 500Mb / month :
How do i know how much i've done ?

Thanks again for all the good work
Gilles.

Repetitive Exposure / Looping (with ASI cams) - by: HelgeMK

$
0
0
Hi, not sure what has been triggering, except for trying another laptop with a newer EKOS release. After issues encountered when capturing images, following polar alignment I returned to my ‚standard laptop’, which I used before successfully. However, issues remained, i.e. whenever attempting to capture an image, the exposure countdown is being started in endless cycles.

Log file attached. This seems to be the critical part:

ZWO CCD ASI071MC Pro : "[DEBUG] ASIGetExpStatus failed. Restarting exposure... "

Can anyone help or advise what to do?

Many thanks,

Helge

guider: annoying error message with PHD2 - by: alacant

$
0
0
Hi everyone
When starting to guide, there is a message which needs manual intervention complaining about the capture and guide cameras being the same. This doesn't make sense.
No camera needs to be set since it is set in the PHD2 profile. PHD2 connects to the correct camera when ekos asks it to begin guiding.

Please could we remove the need to include a guide camera if PHD2 is specifed and hence (I think) remove the error message?
TIA,
Steve

scheduler: guiding aborted but capture continues - by: alacant

$
0
0
Hi everyone
Would it be possible to check the guiding before starting the next capture?
Guiding failed but the capture continued:
[2018-08-21T23:32:10.583 CEST DEBG ][ org.kde.kstars.ekos.scheduler] - Checking job stage for "NGC 6857" startup 2 "21/08/18 22:23" state 3

Could we check -and if necessary restart- the guiding first BEFORE starting the next capture?
TIA and clear skies,
Steve
log: drive.google.com/open?id=1xdimBwqfOstUNW6EFPlIJMqynCmlIRdS

Kstars 2.9.8 can't be opened with OSX 10.13.6 - by: Temmerman

$
0
0
I get this message although I have allowed apps from anywhere to be downloaded.
Any ideas?

latest nightly build: meridian flip broken - by: alacant

$
0
0
Hi everyone
The flip has been flawless up to now. Tonight I got:
2018-08-23T00:21:28 Retrying meridian flip again...
2018-08-23T00:21:28 Telescope meridian flip timed out. Please make sure your mount supports meridian flip.
2018-08-23T00:19:58 Current hour angle 0.10 hours exceeds meridian flip limit of 0.07 hours. Auto meridian flip is initiated.

The flip went fine but align was never called.

Full log: drive.google.com/open?id=1UjzSWgUTDhI2JjGdIQbqoQKTIm2Hr6WN
Any ideas?
Cheers and TIA,
Steve

INDI and the Celestron CGX - by: Lead_weight

$
0
0
Has anyone got a CGX that is running with INDI? Considering purchasing one, but not sure what to expect. Currently have an AVX and use the ASPA routine to polar align since I can't see Polaris. It works very well for me or I would consider some alternative mounts. I'd prefer a CEM60 or possibly a SkyWatcher mount, but just don't want to drift align every night I set up.

File transfer speeds - by: Skytones

$
0
0
Hello - feel free to move this if this is the wrong location

I am new to stellarmate, INDI and Ekos. One thing I don't understand is why the for transfer speed over my wifi back to my client laptop is so slow. I am imaging with a ASI1600, so normal frames (unbinned) are 31Mb. Transferring these via Ekos to my client laptop takes more than a minute - seems close to two. However, if I ssh into the stellarmate and copy over the files to my client machine via scp it takes about 5 seconds. What is the reason for this discrepancy?

Time issue with Ekos/INDI and iOptron CEM-60 - by: crw4096

$
0
0
Hi,

I'm having a frustrating issue with the time setting. It seems that my mount and Ekos/INDI are fighting over what the right time is, and my mount always loses. These steps will reliably duplicate the issue:

1) Turn on mount, wait for GPS to lock. On hand controller, go to "Settings", "Set Time and Site". As I am in the US Eastern time zone with Daylight Savings time, I set the DST to "Y" and the UTC -300 minutes, because we're 5 hours behind UTC + 1 hour for DST, as instructed by the mount manual.
2) Start INDI on the Raspberry Pi; everything checks out
3) Start kstars, start Ekos, start INDI

At this point, I can verify that the mount hand controller still shows the correct time and correct offset from UTC.

4) In the INDI control panel, connect to the mount.

At this point, checking the hand controller shows that the offset from UTC is -240. The time still shows correct for local time, which is strange and bad, because now when I try to point to anything, it always points one hour further east than where it should. The only way to fix this is to disconnect INDI, change the UTC offset back to -300 and power cycle the mount.

This has been a problem for me where I had to trace down time configurations in many places - kstars (site location data), the Raspberry Pi, the mount, and I've gotten down to this. When I open the mount INDI config page and go to site management, it tells me the UTC time is an hour ahead of what it should be and the UTC offset is -4. It's impossible to set these directly it seems.

Anyway, I'm at my wit's end. I have attached a log file with my lat and long scrubbed. It's not very long. I've only started up, connected to the mount, waited a bit and then disconnected after seeing the UTC offset changed.

Other random config stuff:
I'm not using the INDI Web Manager. In the Ekos Profile Editor, I've selected "iOptron CEM60". The drivers on the Raspberry Pi are not the latest, but are not more than a month old. The telescope driver I'm using is: indi_ieq_telescope

Well that's all I can think of. Let me know if there's anything else I can provide. Thank you for any help.

Charles Wright

ASI1600MM Pro failing to save more than one image - by: PK

$
0
0
On the NanoPC T4 I have been unable to get my ASI1600MM Pro to save more than one file in a sequence. After the failure, it then no longer allows me to even capture single images until I turn off the camera and restart INDI. Log attached.

PS: I have had zero problems on the RaspPi / Stellarmate with this camera

File Attachment:

File Name: log_17-53-01.txt
File Size: 194 KB

NDI Web Manager – INDI Server Ubuntu 18.04.1 - by: VTVL

$
0
0
On Ubuntu MATE 16.04 all was working. (Notebook PC)
Instructions on github.com/knro/indiwebmanager were followed.
Any dependency packages were installed when prompted.

indi-web -v command worked -- INDI Web Manager started the server.
After reboot it did not start.


:~$ sudo systemctl status indiwebmanager.service
[sudo] password
● indiwebmanager.service - INDI Web Manager
Loaded: loaded (/etc/systemd/system/indiwebmanager.service; enabled; vendor p
Active: inactive (dead)
(INDI Web Manager localhost :8624 did not start)

[1]+ Stopped sudo systemctl status indiwebmanager.service

:~$ indi-web -v
2018-08-25 11:48:25,962 - DEBUG: command line arguments: {'logfile': None, 'verbose': True, 'fifo': '/tmp/indiFIFO', 'server': 'standalone', 'host': '0.0.0.0', 'conf': '/home/john/.indi', 'indi_port': 7624, 'port': 8624, 'xmldir': '/usr/share/indi/'}
2018-08-25 11:48:25,978 - INFO: pkill -9 indiserver
2018-08-25 11:48:25,987 - WARNING: terminating indiserver failed code 1
2018-08-25 11:48:25,993 - INFO: using Bottle as standalone server
2018-08-25 11:48:42,241 - INFO: Deleting fifo /tmp/indiFIFO
2018-08-25 11:48:42,252 - INFO: indiserver -p 7624 -m 100 -v -f /tmp/indiFIFO > /tmp/indiserver.log 2>&1 &
2018-08-25 11:48:42,256 - INFO: echo "start indi_simulator_ccd -c \"/home/john/.indi/CCD Simulator_config.xml\" -n \"CCD Simulator\"" > /tmp/indiFIFO
2018-08-25 11:48:42,258 - INFO: echo "start indi_simulator_focus -c \"/home/john/.indi/Focuser Simulator_config.xml\" -n \"Focuser Simulator\"" > /tmp/indiFIFO
2018-08-25 11:48:42,261 - INFO: echo "start indi_lx200gps -c \"/home/john/.indi/LX90_config.xml\" -n \"LX90\"" > /tmp/indiFIFO
2018-08-25 11:48:46,108 - INFO: pkill -9 indiserver
2018-08-25 11:48:46,122 - INFO: indiserver terminated successfully
^Z
[2]+ Stopped indi-web -v
:~$

After another reboot, the same situation.

:~$ sudo systemctl status indiwebmanager.service
[sudo] password for john:
● indiwebmanager.service - INDI Web Manager
Loaded: loaded (/etc/systemd/system/indiwebmanager.service; enabled; vendor p
Active: inactive (dead)

[1]+ Stopped sudo systemctl status indiwebmanager.service
_:~$ indi-web -v
2018-08-25 12:29:07,801 - DEBUG: command line arguments: {'logfile': None, 'verbose': True, 'fifo': '/tmp/indiFIFO', 'server': 'standalone', 'host': '0.0.0.0', 'conf': '/home/john/.indi', 'indi_port': 7624, 'port': 8624, 'xmldir': '/usr/share/indi/'}
2018-08-25 12:29:07,817 - INFO: pkill -9 indiserver
2018-08-25 12:29:07,826 - WARNING: terminating indiserver failed code 1
2018-08-25 12:29:07,832 - INFO: using Bottle as standalone server
2018-08-25 12:29:20,634 - INFO: Deleting fifo /tmp/indiFIFO
2018-08-25 12:29:20,643 - INFO: indiserver -p 7624 -m 100 -v -f /tmp/indiFIFO > /tmp/indiserver.log 2>&1 &
2018-08-25 12:29:20,646 - INFO: echo "start indi_simulator_ccd -c \"/home/john/.indi/CCD Simulator_config.xml\" -n \"CCD Simulator\"" > /tmp/indiFIFO
2018-08-25 12:29:20,649 - INFO: echo "start indi_simulator_focus -c \"/home/john/.indi/Focuser Simulator_config.xml\" -n \"Focuser Simulator\"" > /tmp/indiFIFO
2018-08-25 12:29:20,652 - INFO: echo "start indi_lx200gps -c \"/home/john/.indi/LX90_config.xml\" -n \"LX90\"" > /tmp/indiFIFO
2018-08-25 12:29:26,381 - INFO: pkill -9 indiserver
2018-08-25 12:29:26,393 - INFO: indiserver terminated successfully


INDI Web Manager started and stopped the server several times.


The same behaviour occurs on another PC with Ubuntu MATE 18.04.1.

(Note: the OS upgrade was made in order to install some other program that wanted the newest gnome.)

Any ideas?

Developing KStars/Ekos, questions about the dev environment - by: Robusto

$
0
0
I was thinking of taking a look at the source and generally getting a dev environment set up so that I can compile, run and debug KStars and Ekos. Googling and following instructions got me to run cmake and successfully compile KStars. Icons seem to be missing though - perhaps I'm missing some package?

Anyway, in order to do something meaningful I'd like to set up an IDE to get comfortable. Documentation mentioned Qt Creator and KDevelop as potential IDEs. I've got Qt Creator installed but there doesn't seem to be any kind of project files in the whole repository. So I'm kind of wondering, what is the preferred way of developing and debugging KStars? I'm familiar with different IDEs and used to the "project file" concept and I'm kind of lost when there's no IDE involved. So how are you developing the project? What is the recommended environment and IDE/tools to do it with? Obviously Qt Creator is the (or at least a) tool of choice given there are Qt UI files around. Anyway, I'm not very familiar with Qt and C++ development in Linux anyway but I'd love to give it a shot... but I feel a bit lost here and would love a little help and a few pointers.

- Robusto

Tinker Board - Armbian : indi-asi dependency error - by: fmalterre

$
0
0
Hi,
Trying to install indi-asi on a Tinker Board running Armbian. I get dependency error for asi-common

The following packages have unmet dependencies:
indi-asi : Depends: asi-common but it is not installable

Did not manage to find this lib for Debian, any idea ?

Regards
Franck

fits viewer : improvments to do science with EKOS - by: djibb

$
0
0
Hi guys,

I'm doing spectroscopy with Ekos for a month now.

I need some improvments to do thing well and control better my exposition time
First : in fits viewer (in single frame or in ekos), when I use fits viewer, histogram tool... I found a Bug ;)
I found that "MAX" displayed in stat is not 'pixel' max value but 'scale' max value. (scale that can be changed in histogram view)
So, this is not STATS... NB : it's the same for MIN value : it's the minimum of visualisation, not minimum Value.
(I get a eye on code... And it seems code call "DATAMAX/DATAMIN" fits keywords...

Specification of FITS standard says :
KEYWORD: DATAMAX
REFERENCE: FITS Standard
STATUS: reserved
HDU: image
VALUE: real
COMMENT: maximum data value
DEFINITION: The value field shall always contain a floating point
number, regardless of the value of BITPIX. This number shall give the
maximum valid physical value represented by the array, exclusive of any
special values.

SO... I don't think we can use it to store visualisation things as it represents the dynamic of picture.
-> let's create a SPECIAL KSTARS keyword, no ? (Something like : VISUMAX et VISUMIN...)

So, by consequence, statistics about MIN and MAX... are... fake (sorry for my poor english here...). It needs a calculation somewhere (at load ?)

In my use, I need to know which part of spectrum is overexposed. Statistics helps... but it could exist noisy/dark pixels that give a false sensation of overexposition... So I need something like:
-> A button that makes blink all pixels equals or higher ( ?) than the cam's deep or a human entry should be a solution (the better for me, as in DSLR) (first seconds of this video
)

-> Or a selection, then a right click to give stats (real one ;) ) of this crop can be usable too.

Thanks guy.

JB
Viewing all 15023 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>