Manometer Wert aus Datenbank

2 years 1 month ago #1175 by jochen
Replied by jochen on topic Manometer Wert aus Datenbank
hi,

ja das geht einfach hinzufügen:

 data="database" sql="SELECT temp FROM sensorvalues  WHERE id = (SELECT MAX(Iid) FROM sensorvalues)"
The following user(s) said Thank You: Joachim Konrad

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

2 years 1 month ago #1174 by Joachim Konrad
Manometer Wert aus Datenbank was created by Joachim Konrad
Hallo,

ich habe eine MariaDB Tabelle, in der ich alle 5 Minuten eine Temperatur messe.

Nun möchte ich auf meiner Homepage mithilfe vom Manometer die aktuelle Temperatur anzeigen.

{rgraph type="Gauge" min="0" max="50" value="23.3" chart_name="chart"  scaleDecimals="1" }cvs{/rgraph}

Ist es möglich diesen value aus einer MySQL Abfrage zu füttern?


SELECT temp FROM sensorvalues  WHERE id = (SELECT MAX(Iid) FROM sensorvalues)

So in der Art?

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

Time to create page: 0.097 seconds
Powered by Kunena Forum

Visitors

Today: 3
Yesterday: 45
This Week: 560
Last Week: 849
This Month: 2,575
Last Month: 2,574
0183689
United States 28.1% USA
Germany 22.7% Germany
Russia 4.2% Russia
France 3.2% France
Italy 2.7% Italy
Indonesia 2.5% Indonesia
Poland 2.1% Poland

Total:

205

countries

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.