I think you are correct that the problem is the extra database aqi.sdb that
you are using.

The way the self-provisioning feature of Seasons works is that it checks
the database to see if there is any data. By default, it is checking
weewx.sdb. Unfortunately, there is no way to tell it to use a different
database.

I've created issue #803 <https://github.com/weewx/weewx/issues/803> to
track.

In the meantime, you can force it to display the plot. I have not tested
this, but go into the Seasons index template file index.tmpl (found at
/etc/weewx/skins/Seasons/index.tmpl or
/home/weewx/skins/Seasons/index.tmpl, depending on your install method) and
replace this

    #for obs in $getobs($plot_name)
      #if $recent.check_for_data($obs)
        #set $show_plot = 1
      #end if
    #end for

with this

    #for obs in $getobs($plot_name)
      #if $recent.check_for_data($obs) or $plot_group == "aqi"
        #set $show_plot = 1
      #end if
    #end for

Let me know how that works out.

-tk


On Sat, Oct 29, 2022 at 6:08 AM Mks Mk <[email protected]> wrote:

> yes that is correct, the file name is  "dayaqi.png"
>
> On Saturday, October 29, 2022 at 3:49:48 PM UTC+3 [email protected] wrote:
>
>> The file names should be "dayaqi.png", "weekaqi.png", "monthaqi.png", and
>> "yearaqi.png". That is, not a simple "aqi.png".
>>
>> Is that the case?
>>
>> On Sat, Oct 29, 2022 at 4:15 AM Mks Mk <[email protected]> wrote:
>>
>>> we are using the Seasons skin and the "aqi" is there in the
>>> "plot_groups" with the rest of other parameters under the
>>> "[DisplayOptions]".
>>> the file "aqi.png" was made and it gets updated every 5 minutes but
>>> never showed up on the webpage. (((looking inside "index.html" file
>>> ....there is no link to "aqi.png")))
>>>
>>>
>>>
>>>
>>> On Saturday, October 29, 2022 at 1:45:09 PM UTC+3 [email protected]
>>> wrote:
>>>
>>>> You did not say which skin you are using.
>>>>
>>>> Assuming it is "Seasons", you need to add "aqi" to option "plot_groups".
>>>>
>>>> Look in skin.conf, in the [DisplayOptions] section, for option
>>>> "plot_groups". It is a long list of plot_groups, such as barometer,
>>>> tempdew, tempfeel, etc. Add "aqi" to the end.
>>>>
>>>>
>>>>
>>>> On Sat, Oct 29, 2022 at 1:42 AM Mks Mk <[email protected]> wrote:
>>>>
>>>>> we have installed (weewx-aqi), it calculates an air quality index.
>>>>> the install and configuration were done and weewx just run fine with
>>>>> one issue we could not figured out the reason why.
>>>>>
>>>>> in weewx Seasons (*skin.conf*) file the below lines were added:
>>>>>
>>>>>
>>>>>
>>>>> *    [[[dayaqi]]]        data_binding = aqi_binding
>>>>> [[[[aqi_pm2_5]]]]*
>>>>>
>>>>>
>>>>> we can see the PNG file (*aqi.png*) was created in (
>>>>> */var/www/html/weewx*) but it does not show on the weewx webpage, we
>>>>> have found out the link to this file is not added to the (*index.html*)
>>>>> during the webpage generate process.
>>>>>
>>>>> we need your help on this issue.
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "weewx-user" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/weewx-user/e0ae834b-7f90-4a74-8b1b-7908ca2a4046n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/weewx-user/e0ae834b-7f90-4a74-8b1b-7908ca2a4046n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/604b860b-b76b-4413-a347-f37b7083d240n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/weewx-user/604b860b-b76b-4413-a347-f37b7083d240n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/31e861b8-28a5-4168-9fd4-9682ac6758fcn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/31e861b8-28a5-4168-9fd4-9682ac6758fcn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAW53%3DQLnFaXaT0TR%3DtU%3DYxVzSmoAo7ucvx%2BuHV%2BZZ%2BQQ%40mail.gmail.com.

Reply via email to