more G-Labs products

Author Topic: Temperature evaluation with HomeGenie  (Read 2108 times)

June 30, 2015, 02:42:39 PM
Read 2108 times

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
Hello There,

I had already set my question. As my second theme was super support, this question was probably under a bit.
I want to evaluate graphically with a DHT-22, the room temperature as a function of time and temperature. It should be possible, for example the temperature profile display for the last night. I have a small picture created. For that I have redrawn the existing analysis tool. Or so I imagine the evaluation. Has anyone already had experiences with this issue, or even a tool?
Many Thanks?

Thoralf

July 01, 2015, 11:44:40 AM
Reply #1

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
If you click on options, then change the second / middle pull down, does it give you temperature?  This causes data to be captured into the widgets and into the analyze charts:

Program.RaiseEvent(module,"Sensor.Temperature",temp,"temperature in basement")

July 03, 2015, 09:11:43 AM
Reply #2

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
Hello kevin1,

Thanks for your answer. Unfortunately, I can not do anything with your information.
I can not find an entry for the DHT-22 under "Options".
The selection is empty.
But I know that a selection before been possible. My DHT-22 is activated
and shows as a sensor to everything.
Do I have the program "Energy Monitor" something change. Honestly, I am so overwhelmed.
Can you tell me not to change a program and send? I take as already mentioned the DHT-22nd That would be really great.
Many Thanks.

Thoralf

July 06, 2015, 12:45:08 PM
Reply #3

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
Helloe,

I tested today. Under the old software does the measurement work without problems.
Since I have the version 1.0 beta 493 partly filled I can "Options", select "Temperature" no longer choose. Does anyone have the same experience?
Many Thanks!

Thoralf

July 13, 2015, 02:03:51 PM
Reply #4

kevin1

  • *****
  • Information
  • Hero Member
  • Posts: 330
I have found that sometimes the statistics database is deleted (because it gets too large or some other reason???)  If your code is calling RaiseEvent something like this:

        Program.RaiseEvent(module1, "Sensor.Temperature", temp, "temp");


This should make the temp show on widget (does it?), and this should make it go into the statistics database as well.  I think it is this file: homegenie_stats.db in your HG install directory.

July 13, 2015, 03:26:52 PM
Reply #5

dani

  • *****
  • Information
  • Global Moderator
  • Posts: 535
Maybe the database tables are not updated. You have to replace the file as i wrote in that post :
http://www.homegenie.it/forum/index.php?topic=976.msg5968#msg5968

Cheers
Dani

July 13, 2015, 05:12:31 PM
Reply #6

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
Hi Kevin 1 and Dani;

the following findings:

With the old software does the analysis of the temperature. If the update is running (v1.0 beta 493) is no longer analysis.
Today I performed the update at 12.00 clock. Since that time, no evaluation is carried out more. The file "homegenie_stats_db" is not changed. The timestamp remains at 12.00 clock.
If I now a database reset up out "Maintenance", disappears under "Options" in the analysis of the selection "temperature".

If you have a solution, please describe exactly what to do. Unfortunately I have no programming knowledge.

I need to perform an update, because the program "Raintank level" (Dani)
does not work.

Many thanks for your support !!!

Thoralf

July 13, 2015, 06:43:34 PM
Reply #7

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
Hello There,
short information.
I have overwritten the file of Dani in my system and it works immediately.
Will watch the matter and if necessary comment. But it looks very good.
Thanks again to all participants !!!

Thoralf