Author Topic: Need help to Tags for temperature sensor 2 and 3  (Read 360 times)

0 Members and 1 Guest are viewing this topic.

Offline stonefox

  • Senior Member
  • **
  • Posts: 52
Need help to Tags for temperature sensor 2 and 3
« on: March 17, 2017, 09:00:34 PM »
I have 3 outdoor temperature sensor connected to my weather station. Each with its own function.

If I want to show
temperature  : right now  -  min  -  max for temperatur sensor #2 og #3
humidity : right now  -  min  -  max for temperatur sensor #2 og #3


How should these tags look like?

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Here are tags for sensor #1 from the fil: ajax-dashboard.php

Temp right now : <?php echo strip_units($temperature) . $uomTemp; ?>
Max temp. for  today  at xx pm: <?php echo strip_units($maxtemp) . $uomTemp; ?><?php echo fixup_time($maxtempt); ?>
Min temp.  for today  at xx am: <?php echo strip_units($mintemp) . $uomTemp; ?><?php echo fixup_time($mintempt); ?>

humidity right now :  <span class="ajax" id="ajaxhumidity"> <?php echo $humidity; ?></span>%
Max humidity for  today at xx pm : ??????
Min humidity  for today  at xx am : ??????
« Last Edit: March 18, 2017, 07:07:13 AM by stonefox »