martin replied to the topic 'kde notification in ubuntu mate rasperry possible?' in the forum. 4 months ago

I try to install kde, don't work. I try to run kstars with sudo, still can't make notification to output to a file.

Read More...

martin replied to the topic 'kde notification in ubuntu mate rasperry possible?' in the forum. 4 months ago

I manage to create a log file by making a simple bash script that append to a file when triggered by the notification configurator action, but when using the normal ''Log to a file'' no file is created

Read More...

martin thanked Radek Kaczorek in topic Astroberry Server 4 months ago
martin replied to the topic 'Astroberry Server' in the forum. 4 months ago

Hi, have you come with a solution for the security certicate that make it impossible to login from web browser? I am using google chrome on my pc and I can log in even is I install the self signed certificate.
Thank you

Read More...

martin created a new topic ' kde notification in ubuntu mate rasperry possible?' in the forum. 4 months ago

Hi,
here is my problem: I made all my setup on a raspi 3 and ubuntu mate. The thing is when I try to use the kstars notification configuration to output a log file. But when I check to output the notification to a file, that don't see to happen, no file is created.
My question is: Is this because I need a kde environnement to make this work and I have a mate?
Or mayb I am doign something wrong?
Or mayb that is not faisible?
What would you do?
KDE on raspeberry pi 3 is faisible now? I don't think.
Mayb I have all wrong.
Basically, I would like to output every notification to a file to be able to loop trough that file with a script and take some action.
Thank you

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

Here is what I think happened. When I was trying to acess the filter wheel directly with serial terminal, I experienced problem with ressouce or device busy error. Reading on the internet I came across a solution about removing the modemmanger:

sudo apt-get purge modemmanager
Mayb that is what was preventing the driver to communicate with the filter wheel, tricking me thinking that it was a wrong driver.
Now I can connect my filter wheel correctly.
Thats is the only thing I can think about I have made that change.
Sorry about that, if that can help others its cool.
so Nautilus Filter wheel = Quantum filter wheel

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

UPDATE: The quantum driver seem to work with it. For some reasons I am trying to find I played with something that made it work. I am trying to reproduce ot, but you don't have to put effort on writting another driver
I am investigating what I've done that make it work

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

Ok I can get it listed with lsusb, it is creating port /dev/ttyACM0 , wich is the same as the quantum driver, but nothing more, the Quantum driver is mayb not issuing the same command I dont know how to find and edit the driver. It mayb simple as editing the existing Quantum driver and change serial command issued to the one of my filter wheel.
I think it really need its own driver to work.

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

ok, Just wait before working on it, It seem that I have a problem with my filter wheel under linux, the lsusb command don't detect my filter wheel, and It don't create a /dev/ttyUSB0 , nothing. Mayb the Quantum driver will work if I can find a way to communicate with serial terminal first. Just wait before putting effort in it It mayb be another problem than I tough.

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

Ok, this is the serial command I found while sniffing and the response.
my.pcloud.com/publink/show?code=kZG2n87Z...BoHvE1O2wRDNLk849le7

I was typing command in serial terminal. My sniffer was showing me a lot of other thing that I dont understand, like Modbus RTU and other really complicated things that I don't understand that look like whats in the files I previously sent you in another comment.
Do you need more than the serial command and theyr action?
The serial beaud rate seem to be programmable, I can set 9600 and it work and I can set 19200 it work too, I think the software set it to 19200.
The. windows driver seem totally bugged, I always have to plug unplug the usb after a close to be able to reconnect, I hope in Linux that will fix that

Tell me whats yoo need I'll do my best.
Thank you
Martin

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

Ok will do my best.
Thank you

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

Ok, for the Quantum filter wheel driver, It don't work. Both are usb to serial tough.
Because it is usb-serial, I use a serial protocol sniffer, I hope I gathered enought information for you to get something out of it.
I launched the windows program .exe, then every time I clicked something I export the gathered data for that action into a log file, then redo the log with another action.
The logs I made are downlodable here : my.pcloud.com/publink/show?code=kZVr287Z...yWmXyeE6pRO6UYHpzary
Let me know if that work or not or if you want something else.
Thank you
Martin

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

Just contacted Orion by email to ask, let see. If not Ill do with wireshark.
Thank you

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

By reading this page :https://www.linuxvoice.com/drive-it-yourself-usb-car-6/

I think wireshark will do the job.
Give me some time to assimilate all theses new stuff and I try to sniff the protocol.
See you soon

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

Hi,
I am willing to learn to do that. What method will work , analysing the usb traffic phisycally by plugging a logic analyzer on the usb data wire spliced, of by a software mean like with wireshark? Sorry , I am willing to do it I just don't know where to start my research.
Thank you
Martin

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

I will check this and give feedback
Thank you

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

hi , thank you.
Yes I try every driver availlable on the list, none work.

Read More...

martin replied to the topic 'Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

II will do whatever ypu want to help. What me to sniff the transmission with a logic sniffer? Plug an oscilloscope and chec signal? What can I do?

Read More...

martin created a new topic ' Orion nautilus 7x1.25 filter wheel no indi drivers' in the forum. 5 months ago

Hi,
I were hooking up all my gears for the first time in linux to find out that there is no support in indi for my filter wheel. Its the orion nautilus 7x1.25 filter wheel. If there a driver for indi that exist for it? I don't find anything on the web. My dream to use linux for my observatory is taking a abrubt end. Well , I could change my filter, but thats not a way of thinking.
Any suggestion ?
Thank you very much.
www.telescope.com/Orion-Nautilus-Motoriz...-7-x-125/p/99273.uts

Read More...

martin replied to the topic 'launch ekos scheduler in command D-bus error' in the forum. 5 months ago

Hi. Thank you. I am not sure to fully understand what I am doing, but I found my error in my previous code.
I finaly manage to get something working. Here is the code I made:

#!/usr/bin/env python
# -*- coding: utf-8 -*-

# You must initialize the gobject/dbus support for threading
# before doing anything.
import argparse
import gobject
import os
import time
parser = argparse.ArgumentParser (description='auto start Ekos sequence')
parser.add_argument('-s','--scheduler',type=str, help='scheduler file name located in /home/pi/filename, enter full path')
parser.add_argument('-p','--profile', default="Simulators", help='enter equippement profile name')
args = parser.parse_args()

gobject.threads_init()

from dbus import glib
glib.init_threads()

# Create a session bus.
import dbus
bus = dbus.SessionBus()

INDI = bus.get_object("org.kde.kstars", # Connection name
                               "/KStars/INDI" # Object's path
                              )
# Get INDI interface
iface = dbus.Interface(INDI, 'org.kde.kstars.INDI')

# Stop INDI devices (because that was giving me bug after in ekos)
iface.stop("7624")
 
# Create an object that will proxy for a particular remote object.
start_ekos = bus.get_object("org.kde.kstars", # Connection name
                               "/kstars/MainWindow_1/actions/ekos" # Object's path
                              )



# Get Ekos interface
iface = dbus.Interface(start_ekos, 'org.qtproject.Qt.QAction')



# Start Ekos devices
iface.trigger()

print ("Starting Ekos...")

#now start ekos progile
# Create an object that will proxy for a particular remote object.
Ekos = bus.get_object("org.kde.kstars", # Connection name
                               "/KStars/Ekos" # Object's path
                              )


# Get ekos interface
iface = dbus.Interface(Ekos, 'org.kde.kstars.Ekos')

#myDevices = [ "indi_simulator_telescope", "indi_simulator_ccd" ]

# Start INDI devices

iface.stop()
iface.disconnectDevices()
iface.setProfile(args.profile)
iface.start()
iface.connectDevices()
print "Waiting for INDI devices..."


run_scheduler = bus.get_object("org.kde.kstars", # Connection name
                                  "/KStars/Ekos/Scheduler" # Object's path
                              )



# StartEkos Scheduler interface
iface = dbus.Interface(run_scheduler, "org.kde.kstars.Ekos.Scheduler")



# Start Ekos devices
iface.loadScheduler(args.scheduler)
iface.start()

print "Starting Scheduler..."

This code take 2 optional arguments, --scheduler path/to/schedulerFile.esl
And --profile profile_name_as_string

So running python startEkos.py -s observing/target/sequence.esl -p equippement_profile_name

Automatically launch ekos and connect equippement and load sequence and start the auto focus platesolving auto guiding capturing session.

I could then change target in command line loading another scheduler file in command line.
Or auto start the whole process by just pluggin in the raspberry pi at boot.

This have been tested with simulators, not with real equippement yet.

Read More...

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!