Weatherbug XML API script and templates
Moderators: Developers, Moderators
Re: Weatherbug XML API script and templates
Well, I'm afraid I'm not a Cacti expert on that level, but it makes sense to have the bad (imperial) values in the past, since they were collected with the wrong script. Cacti always collects values in the present, what it shows in the past was already collected with those values, so there's not way to change those
Re: Weatherbug XML API script and templates
ah agree, well i add new "device"
And old will hold for records.
Thank you, now is ok!
And old will hold for records.
Thank you, now is ok!
Re: Weatherbug XML API script and templates
Something easier would be great But I can't see your images...
Re: Weatherbug XML API script and templates
unforgiven_soldier's code works great, except I can't figure out how to display the text (or icon) from current condition.unforgiven_soldier wrote:Gents, I have mod'd the wbugxml.php to the following (works like a charm)
Any help would be great.
This doesn't work:
Code: Select all
$out_string .= "currentcondition:" . $stat->{'current-condition'} . " ";
Who is online
Users browsing this forum: No registered users and 1 guest