Search found 9 matches

by gjelsvik
Sun May 16, 2010 7:06 pm
Forum: Questions & Discussions Forum
Topic: Database design
Replies: 31
Views: 52829

Re: Database design

Have made som interface for my databases now, with graphs. I kinda feel that I still have the need for a historical version of the devicestatus database. I have the 'datalog' table wich have power records by hour. This gives me powerconsumption, wich is ok with 60min interval. I have the 'devicestat...
by gjelsvik
Sat May 15, 2010 10:56 pm
Forum: Questions & Discussions Forum
Topic: Autologon Multi User Windows XP
Replies: 12
Views: 12642

Re: Autologon Multi User Windows XP

What about a Autohotkey script that starts when user1 is logged in.

Autohotkey let you script events like mouse/keyboard input.

Shouldnt need many lines to send the key combinations for bringin up startmenu. click "switch user", click username and type pw, hit enter.
by gjelsvik
Sat May 15, 2010 9:22 pm
Forum: Questions & Discussions Forum
Topic: Database design
Replies: 31
Views: 52829

Re: Database design

I liked that idea.. So i did like you..created new table and updated my script so that it updates the device_status table everytime the datalog table is updated.
by gjelsvik
Sat May 15, 2010 9:52 am
Forum: Questions & Discussions Forum
Topic: Database design
Replies: 31
Views: 52829

Re: Database design

I have it up and running now. Homeseer uploads the rfxmeter value on every devicechange. Producing one row each hour. with start and end values. One question for you again. On the site, ( http://www.hekkers.net/domotica/DeviceStatus.aspx ) I see the value for each sensor can be anything from a tempe...
by gjelsvik
Fri May 14, 2010 8:15 am
Forum: Questions & Discussions Forum
Topic: Database design
Replies: 31
Views: 52829

Re: Database design

Now I slowly start to understand your way of thinking, guys. Its only about to make som logic into the function that write the entry into the table. Because you will like to search up last entry from that specific device first to see if it allready exist. Thanks Robert and Pieter, this have "cl...
by gjelsvik
Thu May 13, 2010 10:26 pm
Forum: Questions & Discussions Forum
Topic: Database design
Replies: 31
Views: 52829

Re: Database design

Hmm could you explain more detailed how you have start and end values, and how you use this for. e,x temperature? I mean, if i log temp one time each hour, what would you use both fields with the same value? I cant figure what u would use as start and end, since the timestamp represent a point in ti...
by gjelsvik
Thu May 13, 2010 7:33 pm
Forum: Questions & Discussions Forum
Topic: Database design
Replies: 31
Views: 52829

Re: Database design

Thanks for your reply! I want to split it up, because the one containung current usage will be trunked (only contain last 30days os so) What did you mean with startvalue and end value? I was thinking that one line in the db would containing device_id, value, timestamp. (This is what i am doing now, ...
by gjelsvik
Thu May 13, 2010 6:50 am
Forum: For Sale Forum (Dutch allowed)
Topic: TOA: Plugwise onderdelen *VERKOCHT*
Replies: 1
Views: 1907

Re: TOA: Plugwise onderdelen

I would be very interested in this just to get started with plugwise and see if that is "usable" for me. Without having to spend €400 :)

Contact me by mail if you still have not sold this ok?

espen (AT) gmx.no
by gjelsvik
Thu May 13, 2010 6:47 am
Forum: Questions & Discussions Forum
Topic: Database design
Replies: 31
Views: 52829

Database design

Hello. First post here, so I might just spend a line or two to introduce me. I`m 25 years old boy from Norway, works as a IT consultant, mainly windows stuff, but spends some time with linux as well. I have a house wich I slowly try to make a "smarthome" as we say here in Norway. It all st...

Go to advanced search