Manometer Wert aus Datenbank

1 year 2 months 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.

1 year 2 months 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.094 seconds
Powered by Kunena Forum

Visitors

Today: 1
Yesterday: 12
This Week: 345
Last Week: 309
This Month: 242
Last Month: 1,699
0162298
United States 31.9% USA
Germany 17.8% Germany
Russia 4.6% Russia
France 3.5% France
Indonesia 2.6% Indonesia
Italy 2.6% Italy
India 2.3% India
Poland 2.2% Poland

Total:

204

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.