AAG Cloud watcher #985
Replies: 10 comments 6 replies
-
I apologize for not getting to this sooner. Currently, I do not have a way to log data from another INDI device like this, but it is interesting to me. I have seen the hooks in INDI for SQM-type devices, but since I do not have one, I do not really have a good feel for how they work. It would be possible to export the values to a file so they could be displayed in the image labels/overlay. I would just need to see the output of indi_getprop with the device connected to see what values are available. |
Beta Was this translation helpful? Give feedback.
-
Let me see if I can figure out how to do that - I literally have no idea on a pi :) I was actually not 100% sure that indilib was actually affiliated with Indi at all. If I built all indi, i should have the driver for the cloudwatch I would think. I'll fire it up and look. If you have any tips on getting the output i would like to have them. I'm using a FTDI usb ot serial converter to connect to the AAg so should be supported in linux. Mike |
Beta Was this translation helpful? Give feedback.
-
I have Kstar installed on my mac where i have done some python development, mostly with Onstep to control the telescope. I used tried the script here https://www.indilib.org/developers/dev-howtos/148-dbus-scripting-with-kstars-python.html But of course it needed a huge amount of changes and then failed anyway b/c the init thread method is apparently deprecated. In kstars i can fire up a local instance of the AAG and also a server, I'm not sure how to scrip at it though. Mike |
Beta Was this translation helpful? Give feedback.
-
I did find this though. Not sure if it would be helpful ! |
Beta Was this translation helpful? Give feedback.
-
Here is the getprops
|
Beta Was this translation helpful? Give feedback.
-
When it works the output of the service is as follows
|
Beta Was this translation helpful? Give feedback.
-
And the referenced file looks like (in case it is written out on startup)
|
Beta Was this translation helpful? Give feedback.
-
I could also connect stars to the remote server, and go verify the readings changing and all that. I’ll see if the windows client can connect to the India’s server in the morning |
Beta Was this translation helpful? Give feedback.
-
@aaronwmorris not sure if you had a chance to look at this or not, or need more info? |
Beta Was this translation helpful? Give feedback.
-
I know I'm late to this discussion, but I've got an AAG Cloudwatcher too, and I took an entirely different approach - I just put a job in cron to go fetch the data every 1 minute from the Cloudwatcher API, create a file with the info formatted nicely, and then include that file in via the "Extra Image Text File" in Image config. My crontab entry looks like:
If you're not familiar, you can get the line into cron with the command I've attached the script which does the fetching and formatting (changed to *.txt): cwstats.txt |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have an AAG cloudwatcher that apparently has Indi support - I have not tried it with indi-allsky, but based on the driver they have it seems like it would work without much issue.
https://indilib.org/devices/weather-stations/aag-cloud-watcher.html
Is there a way to work the values it collects into the all sky cam interface? I was also thinking, since it is relatively accurate, it might be an interesting way to train ML for cloud detection as well - since I could capture photos, and a log of the AAG output, those would both be good inputs into a machine learning model for using the cam to detect clouds.
Thanks!
Mike
Beta Was this translation helpful? Give feedback.
All reactions