Page 1 of 1

Device recording

PostPosted: Fri Aug 05, 2016 5:02 pm
by Asconasny
Hi

I have an arduino with a couple of dht22 sensors and I'm trying to plot the output..
looks like the temp is resetting and start over at 00:00 but humidity shows correct

I can't figure out what i have done wrong in this graf

Anyone have had the same issue, and maybe have the answer how to fix it?

Regards
Asconasny

Image

Image

Image

Re: Device recording

PostPosted: Sat Aug 06, 2016 12:28 am
by kw123
Use utilities and print the real data. Is it data from arduino or a plot issue.

it looks as if the data is simply =0 before midnight, not just a "reset"


Sent from my iPhone using Tapatalk

Re: Device recording

PostPosted: Sat Aug 06, 2016 7:23 am
by Asconasny
Hi
Thanks for the reply.

I had a look in the database with sqlitebrowser, and the data is there.
Arduino is reporting and temp is being saved in the database.

So i would assume there is something else going on.

regards
Asconasny

Device recording

PostPosted: Sat Aug 06, 2016 9:09 am
by kw123
Could you look at the file ~/documents/indigoplotd/sql/
Then the devicenumber.state_s0. Or what ever the state u use



Sent from my iPhone using Tapatalk

Re: Device recording

PostPosted: Sat Aug 06, 2016 12:46 pm
by Asconasny
its logging.

There is input in the file... same as the database.

Screenshot is from a hour before it "reset"

strange..

Re: Device recording

PostPosted: Sat Aug 06, 2016 1:20 pm
by kw123
you could try:menu/"reload single device/state from sql". that should reload all data through the whole chain.

Re: Device recording

PostPosted: Sun Aug 07, 2016 7:49 am
by Asconasny
Jupp,, that seems to work. :)

I have been thinking for a while, i want to use postgresSQL. since as i understand it, is supposed to be better on big databases.
So i might as well start fresh.

Fresh database and fresh IndigoplotD.

I have installed postgres, (Used http://postgresapp.com) and removed Indigoplot completely, (disable plugin, and deleted in Disable plugin folder. Also deleted plugin preference) Deleted all plot devices.

Long time ago i created some simple plots. via the simple plot menu. , and IndigoplotD seems to still think they are there.

INDIGOplotD /Users/indigo/Documents/INDIGOplotD/gnu/Energi-minute-S1.gnu has no lines defined -- dont forget to click CONFIRM before you save the lines and plots, ignore this warning if just created
INDIGOplotD /Users/indigo/Documents/INDIGOplotD/gnu/ToerkeSkap-minute-S1.gnu has no lines defined -- dont forget to click CONFIRM before you save the lines and plots.

My question is: How do i delete simple plots/configuration?

regards
Asconasny

Re: Device recording

PostPosted: Sun Aug 07, 2016 9:18 am
by kw123
Are there any plot device still present? Do a sort of devices with column model/ type there should be some devices left.


Sent from my iPhone using Tapatalk

Re: Device recording

PostPosted: Sun Aug 07, 2016 11:53 am
by Asconasny
Kinda embarrassing..
Your correct.

Found them :)