Page 1 of 1

Indoor Data graph problem

Posted: Sun Sep 17, 2017 8:14 pm
by petoz
Hi,
I have problem with plugin "Indoor Data" part "Interactive Graph". It seems that it is on Jachym demo page too.
I think it's from update when DB table "indoor" was changed to "alldataExtra". That time I moved "indoor" table historical data to "alldataExtra" and updates are going to "alldateExtra" too. In which table "indoor" data belongs "indoor" or "alldataExtra"? "Tables, history" and other parts of this plugin are working and seems that they are reading data from table "indoor".
Snímka obrazovky 2017-09-17 o 22.01.14.png
Snímka obrazovky 2017-09-17 o 22.01.14.png (96.04 KiB) Viewed 6130 times
Snímka obrazovky 2017-09-17 o 22.01.02.png
Snímka obrazovky 2017-09-17 o 22.01.02.png (66.25 KiB) Viewed 6130 times

Re: Indoor Data graph problem

Posted: Sun Sep 17, 2017 9:35 pm
by Jachym
Yes, this plugin needs to be completely rewritten, but I dont think I will have time before v16, remind me then :D

Re: Indoor Data graph problem

Posted: Sun Sep 17, 2017 11:32 pm
by BlueBear

Re: Indoor Data graph problem

Posted: Mon Sep 18, 2017 1:38 pm
by petoz
Problem solved. I had no data from 2017-07-25 in "indoor" table. From that time, all indoor data (Tin,Hin) are going only to alldataExtra table. I correct this by SQL command. I had indoor data from this date only in "alldataExtra" table. I have to remember how have I changed it in template php? It was when I used new API.

Re: Indoor Data graph problem

Posted: Mon Sep 18, 2017 1:44 pm
by Jachym
If people left the original separate indoor CRON working then indoor data is being saved twice and it works, I need to switch the plugin to the new table.