This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Trend accumulate option
#21
You need to fetch values without timestamps:
Code:
day = trends.fetch('Andamento_Pioggia_Valore_Unico', datarange, 900)
Reply
#22
(20.09.2024, 11:55)admin Wrote: You need to fetch values without timestamps:
Code:
day = trends.fetch('Andamento_Pioggia_Valore_Unico', datarange, 900)

I do it, but it's nothing change. The trend is attached     :
Best regards
Reply
#23
Check Error log for any logs from your script.
Reply
#24
The error it:

Library trends:0: attempt to index field 'start' (a number value)
stack traceback:
Library trends: in function ''
Library trends: in function 'fetch'
User script:18: in main chunk
Reply
#25
You might have an outdated firmware.
Reply
#26
I updated the fw and now it works, thanks
Reply


Forum Jump: