Author Topic: Raspi Meteobridge non-numeric value error  (Read 362 times)

0 Members and 1 Guest are viewing this topic.

Offline hymrog

  • Senior Member
  • **
  • Posts: 51
    • Gahanna Weather
Raspi Meteobridge non-numeric value error
« on: November 22, 2020, 03:59:01 PM »
Hi -

I am sure the resolution is something fairly simple but probably just missing it.  I am running the raspi meteobride version 5.0 and have encountered a non-numeric value error in both the conds.php and the MB-defs.php scripts for the Saratoga templates. Below is an example of one the errant lines in the condo.php script which is in the MB support function - conds_calcHumidex section of the script.

Code: [Select]
$t=(7.5)*$T/(237.7+$T);
  $et=pow(10,$t);
  $e=6.112*$et*($H/100);
  $humidex=$T+(5/9)*($e-10);

I am running php version 7.1.  I also should mention that I do not get this error when running meteobridge on my TL-MR3020 with a very old build, version 3.2.

Hoping someone out in the community can help as I am stumped. I have since switched back to my old meteobridge rig.

Thanks for looking

g

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9012
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Raspi Meteobridge non-numeric value error
« Reply #1 on: November 22, 2020, 04:17:47 PM »
Would you mind posting the messages about conds.php from your error_log here?  Also, is

I can address the issues with that data.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline hymrog

  • Senior Member
  • **
  • Posts: 51
    • Gahanna Weather
Re: Raspi Meteobridge non-numeric value error
« Reply #2 on: November 22, 2020, 08:08:48 PM »
Hi -

First of all, thanks for the quick response. I figured out the problem..complete buffoonery on my part.  I had thought I shut off the upload from my old meteobridge rig and when I went back and looked it was still sending data but no station was hooked up.

So, I went back and turned the services off and remembered to hit the Save button this time and all seems to be working as expected.

Sorry for the fire drill.

g