orfest replied to the topic 'Ekos remote notifications' in the forum. 3 years ago

Made a simple script posting notifications to a telegram chat with a bot:
curl -s "api.telegram.org/bot${API_KEY}/sendMessa...d=${CHAT_ID}&text=$1"
And made a second bot for bad news, such as capture failures.
Configured this as a "Run command" notification, by doing lots of clicking and typing in the "Configure Notifications" menu :)

The only issue is that "Run command" doesn't accept parameters. "Capture failure" notification is self-evident, but I I'd like to provide a bit of context to notifications like "INDI Server Message".

Maybe I should parse indi and ekos logs...

Read More...