hello
i m using EKOS (stellarmate version) and i wonder how to raise alert when some event occur during the night as guiding lost or camera sequence aborted or humidy level raise.
i will like to be able to send an alert to a google home , or home automation system (like philips hue light) to wake me .
yesterday , weatherforcast say it will be a clear night and when i wake up this morning it was raining , hopefully i remove my scope at 1am
as i dont have a automated dome , i wonder if someone can help me how to do it.
if somewhere in ekos we can react to an event to send a web request , i m sure i can get alert on my phone with IFTTT or something like this
While that's possible, it's not built in into Ekos. There is one way to execute a command once weather warning is up. But this also depends on INDI driver ability to detect rain, so I'm not sure if you already have this in place.
no , i ve got nothing like a cloudwatcher or something like this yet.
i m looking on information about how to catch Indi warning or error . i can parse the logs and sent web resquest but i cant find there the default logs are except f i specify FILE in logs option
You can use [rul=https://indilib.org/develop/developer-manual/104-scripting.html]INDI Scripting[/url] to watch for specific properties then take the appropriate action. I believe it would be possible to add something like this to Ekos but that will take quite a bit of work. Any volunteers?
An example using Python of scripting external to Ekos using its properties. www.indilib.org/forum/ekos/5065-full-aut...n-the-scheduler.html
Oriented to protecting observatory before the observatory panel was created but I found it helpful introduction to Python and properties.
I came across a star counting example in Python on the internet and played around with it using a spare ASI120-S.
I use cron to schedule the taking of an image every 15 minutes and count the number of stars. In my case I tie it into Ekos using the WeatherSafetyProxy as a soft error if star count falls below some value. Weather has been too poor to know what the value might be. I run it on a separate odroid along with the other weather monitoring so they can run 24x7. If you are using a Raspberry Pi at the mount using the Pi's HD camera instead might be better.
Thinking you want to be woke up before the rain starts. If you can find your way around Python perhaps it is possible to go from stand alone Python code to an alarm of some kind. Anyway you are welcome to the code as it stands if interested.
i m experiement the Netatmo opendata map with my Home automation software (jeedom, french team !) . i ve selected a few open netatmo station with rain detector around my house . Will check if it work . i should able to get a alert of rain , but for cloud coverage
an all sky camera counting the number of star is a great idea to check the coverage