Yes, you need to change weewx.conf to
specify the binding in [DataBindings] [[wx_binding]] database = xxxxxxxxx
where xxxxxxxxxx is an entry in [Databases] below
and you specify the database in [Databases]
On Tuesday, 9 April 2019 20:06:12 UTC+3, Pietro Benotto wrote:
>
> Thanks to everyone,
> I think something like this is what I searched.
>
>
>
> ------------------------------------------------------------------------------------------------------------------------------cit.
>
> RXCHECK=$(mysql --batch --column-names=0 -uweewx -pweewx
> --database=weewx --execute="select rxCheckPercent from archive WHERE
> dateTime=(select MAX(dateTime) from archive); ");
> RXCHECK=`echo $RXCHECK | awk '{printf("%.1f", $1)}'`
> echo $RXCHECK
>
>
>
> ----------------------------------------------------------------------------------------------------------------------------------
>
> You converted the standard .sdb weewx DB into a mysql one, didn't you?
> After the conversion of the DB how it's possible to change weewx parameters
> in order to add new data into the correct table? I think it would try to
> build the weewx.sdb again, if no changes in the conf file are made.
>
> PB
>
--
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].
For more options, visit https://groups.google.com/d/optout.