Forum

Measure, Analyze, Control ... ask, answer, suggest.

0
Not a bug

Virtual values are generating numbers even from missing values - ruins the graph scaling

Minipilot 8 months ago in Dashboard and Widgets updated by Support Manager 8 months ago 1

I am using D280 sensor to measure Dew point in the room.

For this, I made a virtual value to show in a graph:

(243.04 * (Math.log(d.T2/100) + ( (17.625*d.T1) / (243.04+d.T1) ))) / (17.625 - (Math.log(d.T2/100) +( (17.625*d.T1) / (243.04+d.T1) )))

However, my device sometimes loses signal for a minute or two. Which shows as nothing on a graph of temperature, because that is a direct measurement. That is ok.

What is not OK is, that the virtual values work even with missing numbers - and display zero in graph, which both ruins the scaling and is incorrect.


How can I fix this? Something to do with IsNaN() in the virtual value definition? But how to assign NaN as output? (presuming that using NaN will not display itself in the graph.


Image with details here:

https://i.imgur.com/zeMn3Vi.png


Thanks

0
Answered

adding a device, where do i find pin?

KEVIN CAREY 9 months ago in Dashboard and Widgets updated by Support Manager 9 months ago 3

where do i find pin? adding device to dashboard for first time,

0
Completed

Uploading background image

Ger 10 months ago in Dashboard and Widgets updated by Support Manager 9 months ago 3

Hi trying to upload a background image but it wont load? is it only specific sites that can be used?


Answer
Support Manager 9 months ago

Hosting platform can be any, the main thing is to get a direct link to the image.

The site https://imgbb.com is suitable for this.


Final direct link:
https://i.ibb.co/QKnK0Nm/viber-2022-11-21-16-18-30-478.jpg

0
Answered

Splitting energy in two periods (D101)

Dr Ban 10 months ago in Dashboard and Widgets updated by Support Manager 10 months ago 1

I need to separate total energy in two periods (night and day) and display them onto dashboard and prepare data for monthly collection. I started by creating tariffs in Virtual Values and using one of the option Tariff (ratio) by time. Since I don't need expense data, but just the energy consumed during that periods, I've created two periods: night and day and on each I have put a factor of 1 or 0 depending on which period is active (for example, for night period I've put the factor 1 during night and factor 0 during day). This is working, and data is collected, but it seems that the data is collecting cumulative values per hour, so now I have on my dashboard that the total energy for this month is 3.890 kWh, and energy during daily period is 22.5 kWh, which is exactly what you get when you sum all energies per hour. 

Am I doing something wrong?

0
In discussion

select time stamp piece from a graph

MYTILOS PC 10 months ago in Dashboard and Widgets updated by Support Manager 10 months ago 1

Hi!

It would be very usefull If we could select a specific time stamp from a grapf to extract values.

Although I can click on a graph and drag it left-right, after leving the mouse button just moves the graph.

I want if possible to hilight that area of interest and take the values in there.

Thanks.