×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

New All Sky camera management software: indi-allsky

  • Posts: 4
  • Thank you received: 0
Awesome software thanks! I have a feature request, can you add the ability to add a DHT22 temperature and humidity sensor? Maybe I'll do a pull request.

Pete
1 year 2 months ago #90840

Please Log in or Create an account to join the conversation.

  • Posts: 2257
  • Thank you received: 223
Aaron, could you please let me know how the web interface is designed please?
I'd like to integrate part the Weather Radio html page.
1 year 2 months ago #90852
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 275
  • Thank you received: 69

You can basically do this already. You can have your external script write to a text file with the info.

There is the "Extra HTML Info File" setting which will include the text in the info panel at the lower right hand side of the web page.

You can also use "Extra Image Text File" to include the text in the image.
1 year 2 months ago #90866

Please Log in or Create an account to join the conversation.

  • Posts: 275
  • Thank you received: 69

The indi-allsky interface is written in flask. I tend to lean pretty heavily on javascript and JSON to build dynamic functionality. I do not use the templating so much.

If you just want to pull in the latest image, you should be able to load https://hostname/indi-allsky/images/latest.jpg

You can see the views here: github.com/aaronwmorris/indi-allsky/blob...llsky/flask/views.py (routes are all the way at the bottom)
1 year 2 months ago #90869

Please Log in or Create an account to join the conversation.

  • Posts: 4
  • Thank you received: 0
Thanks! I didn't notice that feature, will be super easy to add.
1 year 2 months ago #90871

Please Log in or Create an account to join the conversation.

  • Posts: 2257
  • Thank you received: 223
>There is the "Extra HTML Info File" setting which will include the text in the info panel at the lower right hand side of the web page.

Would you have an example please of this config and the expected output?
thanks
Last edit: 1 year 2 months ago by Gonzothegreat.
1 year 2 months ago #90873

Please Log in or Create an account to join the conversation.

  • Posts: 2257
  • Thank you received: 223
I've done this, however I'm not seeing anything

heidenrod@heidenrod-obs:~$ grep -i extra /etc/indi-allsky/legacy_config.json
"WEB_EXTRA_TEXT": "/var/www/html/allsky/test.txt",
"comment_IMAGE_EXTRA_TEXT": "File containing extra text to add to image",
"IMAGE_EXTRA_TEXT": "",
"EXTRA_OPTIONS": ""
heidenrod@heidenrod-obs:~$ cat /var/www/html/allsky/test.txt
123
456
67890
abcd
heidenrod@heidenrod-obs:~$
1 year 2 months ago #90874

Please Log in or Create an account to join the conversation.

  • Posts: 275
  • Thank you received: 69

The configuration is now stored in the database. You can view it with "./config.py dump". I would recommend editing the config in the web interface, but you may also use "./config.py edit" on the CLI. Just make sure you reload the service.
The following user(s) said Thank You: Gonzothegreat
Last edit: 1 year 2 months ago by Aaron Morris.
1 year 2 months ago #90880

Please Log in or Create an account to join the conversation.

  • Posts: 2257
  • Thank you received: 223
Perfect, that worked.
1 year 2 months ago #90881
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2257
  • Thank you received: 223
interesting, after today's update the exposure is stuck at 15sec

1 year 2 months ago #90882
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2257
  • Thank you received: 223
I think it's the moon mode
1 year 2 months ago #90883
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2257
  • Thank you received: 223
I've turned off the moon mode, still stuck at 15sec exposure

Feb 25 23:01:37 heidenrod-obs [INFO] MainProcess indi.newMessage() #325: new Message 2023-02-25T22:01:37: [INFO] Taking a 15 seconds frame...
Feb 25 23:01:37 heidenrod-obs [INFO] MainProcess allsky.run() #1094: Total time since last exposure 15.5626 s
1 year 2 months ago #90884

Please Log in or Create an account to join the conversation.

Time to create page: 2.642 seconds