Virtual sensor set up?
Moderator: Mattk
Virtual sensor set up?
Attachment shows sensor page with no data on th20. The conversion text fields are "sensdiffmaster 1 300" and "sensdiffslave 1 300". I created the sensor and the meteohub system recomputed data (taking a long time), but shows no results. What did I goof up?
Thanks for your help.
[edit to add]Wrong forum. Should be in Application, not Meteohub Hardware.
Last edited by birdfeedr on Sun May 20, 2012 9:41 pm, edited 1 time in total.
- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: Virtual sensor set up?
Not 100% sure, but try sensdiffslave 1 none
More info
Meteohub log shows
logger (20.05.2012 00:00:17): computation of virtual sensor "th20" with values "6" failed: Wrong number of parameters: "temp[1/10C]* hum[%]* dew[1/10C]" (* = mandatory, others can be replaced by "-")
sensor data shows typical entry
20120520193726 th12 139 255 0000
20120520193738 th13 217 255 0000
The 300 seconds probably is the same as the 300 seconds default value in Weather Station / Hold Time for Live Data. I've changed the conversion per your recommendation, and will see what results.
Thanks.
I think the error message is because th20 should be returning something like "datestamp th20 6 255 0000".
logger (20.05.2012 00:00:17): computation of virtual sensor "th20" with values "6" failed: Wrong number of parameters: "temp[1/10C]* hum[%]* dew[1/10C]" (* = mandatory, others can be replaced by "-")
sensor data shows typical entry
20120520193726 th12 139 255 0000
20120520193738 th13 217 255 0000
The 300 seconds probably is the same as the 300 seconds default value in Weather Station / Hold Time for Live Data. I've changed the conversion per your recommendation, and will see what results.
Thanks.
I think the error message is because th20 should be returning something like "datestamp th20 6 255 0000".
Re: Virtual sensor set up?
Solved. Changed sensor type to t1 which is temperature only. Single parameter was returned from difference calculation. The th20 sensor type was expecting more data.