AllskyTeam / allsky-modules

User modules for allsky
MIT License
17 stars 17 forks source link

Location of json-files #100

Closed WirthmU closed 1 month ago

WirthmU commented 4 months ago

Currently I am using - besides the standard ones - two modules: light and AllSKY Export. The corresponding json files are located here:

/home/pi/allsky/config/overlay/extra/allskylight.json

/home/pi/allsky/html/allskydata.json

Since I would want to export those json-files to a server it would be nice to have them all in one directory - in my case in ${ALLSKY_WEBUI}, i.e. /home/pi/allsky/html/.

Is there a way to set this pathway om the light module?

Alex-developer commented 4 months ago

Unfortunately not.

The overlay module expects to find any extra data files in /home/pi/allsky/config/overlay/extra

if you were to put the exported data in the same directory the overlay module would try and use the data and it will cause problems.