t;>
>>>> Gruß Tobias
>>>>> Am 29.03.2020 um 17:43 schrieb r...@nord-com.net
>>>>> <mailto:r...@nord-com.net>:
>>>>>
>>>>> Hmm, bei mir funkioniert es…
>>>>>
>>>>> pi@avz:~:(1)&
h die absetzen? In mysql direkt? phpmyAdmin habe ich nicht
>>> installiert. Habe ich probiert, aber bekomme einen Fehler wenn ich
>>> folgendes eingebe, also per copy
>>>
>>>
>>> SELECT id FROM `volkszaehler`.`entities`
>>> WHERE UUID = 'b12df
mysql -uvz -pyourpassword
>>>> Welcome to the MariaDB monitor. Commands end with ; or \g.
>>>> Your MariaDB connection id is 76
>>>> Server version: 10.3.13-MariaDB-1 Raspbian testing-staging
>>>>
>>>> Copyright (c) 2000, 2018, Oracle,
lp. Type '\c' to clear the current input
>>>> statement.
>>>>
>>>> MariaDB [(none)]> SELECT id FROM `volkszaehler`.`entities`
>>>> -> WHERE UUID = 'b12dfd80-111c-11ea-8e1a-c9616b442377' INTO @CHANNEL;
>>>> Query OK, 1 row affected (0.0
,2) AS Zählerstand
>>> -> FROM `volkszaehler`.`data`
>>> -> WHERE `channel_id` = @CHANNEL ;
>>> +---+-+--+
>>> | Kanal | Name| Zählerstand |
>>> +---+-+--+
>>> |1
gt;>> -> WHERE UUID = 'b12dfd80-111c-11ea-8e1a-c9616b442377' INTO
>>> @CHANNEL;
>>> Query OK, 1 row affected (0.002 sec)
>>>
>>> MariaDB [(none)]> SELECT channel_id AS Kanal,(SELECT VALUE FROM
>>> `volkszaehler`.`properties`
>>> ->
stand |
>> +---+-+--+
>> |10 | Zähler Gas | 7346.64 |
>> +---+-+--+
>> 1 row in set (1.501 sec)
>>
>> MariaDB [(none)]>
>>
>> *From:* volkszaehler-users [
>> mailto:volkszaehler
[mailto:volkszaehler-users-boun...@demo.volkszaehler.org] On Behalf Of Frank
Richter
Sent: Sunday, March 29, 2020 7:28 PM
To: volkszaehler.org - users
Subject: Re: [vz-users] Gesamtverbrauch Gaszähler mit Nachkommastellen
Das Frontend macht für den Gesamtzählerstand folgenden Request:
http://IP/middleware.php
ler-users [mailto:
> volkszaehler-users-boun...@demo.volkszaehler.org] *On Behalf Of *Frank
> Richter
> *Sent:* Sunday, March 29, 2020 6:15 PM
> *To:* volkszaehler.org - users
> *Subject:* Re: [vz-users] Gesamtverbrauch Gaszähler mit Nachkommastellen
>
>
>
> Sorry, stimmt natürl
-+
>> 1 row in set (1.501 sec)
>>
>> MariaDB [(none)]>
>>
>> From: volkszaehler-users
>> [mailto:volkszaehler-users-boun...@demo.volkszaehler.org
>> <mailto:volkszaehler-users-boun...@demo.volkszaehler.org>] On Behalf Of
>> Tobias Lehr
>> Sen
- users
Subject: Re: [vz-users] Gesamtverbrauch Gaszähler mit Nachkommastellen
Sorry, stimmt natürlich nicht. Trotzdem würde ich das die Middleware erledigen
lassen, die nutzt dafür aggregierte Daten und kann das deutlich schneller.
Grüße
Frank
Frank Richter schrieb am So., 29. März 2020
sec)
>
> MariaDB [(none)]>
>
> From: volkszaehler-users
> [mailto:volkszaehler-users-boun...@demo.volkszaehler.org] On Behalf Of Tobias
> Lehr
> Sent: Sunday, March 29, 2020 5:34 PM
> To: volkszaehler.org - users
> Subject: Re: [vz-users] Gesamtverbrauch Ga
>> +---+-----+------+
>> 1 row in set (1.501 sec)
>>
>> MariaDB [(none)]>
>>
>> *From:* volkszaehler-users [
>> mailto:volkszaehler-users-boun...@demo.volkszaehler.org
>> ] *On Behalf Of *Tobias
>> Lehr
>> *Sen
t;
> *From:* volkszaehler-users [
> mailto:volkszaehler-users-boun...@demo.volkszaehler.org
> ] *On Behalf Of *Tobias
> Lehr
> *Sent:* Sunday, March 29, 2020 5:34 PM
> *To:* volkszaehler.org - users
> *Subject:* Re: [vz-users] Gesamtverbrauch Gaszähler mit Nachkommastellen
>
> Vielen
l Message-
>> From: volkszaehler-users [mailto:volkszaehler-users-
>> boun...@demo.volkszaehler.org] On Behalf Of Tobias Lehr
>> Sent: Sunday, March 29, 2020 3:25 PM
>> To: volkszaehler-users
>> Subject: [vz-users] Gesamtverbrauch Gaszähler mit Nachkommastellen
>>
&
-+
1 row in set (1.501 sec)
MariaDB [(none)]>
From: volkszaehler-users
[mailto:volkszaehler-users-boun...@demo.volkszaehler.org] On Behalf Of Tobias
Lehr
Sent: Sunday, March 29, 2020 5:34 PM
To: volkszaehler.org - users
Subject: Re: [vz-users] Gesamtverbrauch Gaszähler mit Nachkommas
ERE `channel_id` = @CHANNEL ;
>
> Gruss,
> Alex
>
> -----Original Message-
> From: volkszaehler-users [mailto:volkszaehler-users-
> boun...@demo.volkszaehler.org] On Behalf Of Tobias Lehr
> Sent: Sunday, March 29, 2020 3:25 PM
> To: volkszaehler-users
> Subject:
`.`data`
WHERE `channel_id` = @CHANNEL ;
Gruss,
Alex
> -Original Message-
> From: volkszaehler-users [mailto:volkszaehler-users-
> boun...@demo.volkszaehler.org] On Behalf Of Tobias Lehr
> Sent: Sunday, March 29, 2020 3:25 PM
> To: volkszaehler-users
> Subject: [vz-user
Hallo Tobias,
in der options.js gibt es "precision". Das legt aber nicht direkt die Zahl
der Dezimalstellen fest, sondern im Verhältnis zur Größenordnung der
anzuzeigenden Zahl, d.h. bei precision: 2 haben einstellige Werte 2
Dezimalstellen, zweistellige Werte 1 Dezimalstelle usw.
Grüße
Frank
Hallo,
ich logge meinen Gasverbrauch per S0 in den Volkszaehler. Die Werte für min.,
max., aktuell und Verbrauch werden mit Nachkommastellen angezeigt. Der
Gesamtverbrauch wird aber nur mit ganzer Zahl angezeigt. Mein Gaszähler hat
aber 3 Nachkommastellen und mein Gasversorger möchte den
20 matches
Mail list logo