MultiGraph is not showing correct data

Hi,

I'm having issues with a multigraph being used to show temperatures on my own server. When i load the dashboard for the first time it sometimes spikes on a single feed to -2000 degrees. i then have to reload the page until it goes to normal. 

I have deleted the feeds and the inputs and changed the logging type from PHPTimeStamp to the other two and nothing seems to work. what i have noticed is that the temperatures hover around 0 degrees could this be putting off the multi graph at all? attached is an image of the graphs i get.

Any help would be appreciated 

Regards

Mellowed

Paul Reed's picture

Re: MultiGraph is not showing correct data

The very low value is usually recorded as an indicator of an error in reading the value from the DS18B20 sensor, and can occur when first booting the emonth/emontx. 
The low value is preset in the temperature library and is set as such to clearly identify an error.

Firstly, the feed type should be a phpfiwa to record the values efficiently, and if you find any data errors like this, they can easily be removed by using the remove spike script.

Secondly, I would start afresh with your multigraph. Add your feeds into the multigraph, and the very last thing before saving it, select the default view from the indicators in the multigraph (for example select W for week) and then save it.
When you then add it to a dashboard, it should open to the weekly view automatically.

 

Paul

Mellowed's picture

Re: MultiGraph is not showing correct data

Thanks Paul, 

Is it possible to put blocks on the feeds to ignore the spikes? 

Regards

Mellowed

Paul Reed's picture

Re: MultiGraph is not showing correct data

Only by adding a conditional statement in the emontx/emonth sketch, and establishing upper and lower acceptable limits. 

Provided you don't have any bad joints or a faulty DS18B20 sensor, this shouldn't really be a problem, and if you use the script to remove the spike, it may not occur again.

Paul 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.