Opslaan van data

Pop your questions regarding Home automation software here.....
Post Reply
janeway
Starting Member
Starting Member
Posts: 5
Joined: Tue Jun 13, 2006 6:48 am

Opslaan van data

Post by janeway »

Ik wil mijn energie verbruik loggen in een database en via een chart zichtbare maken op mijn website. hoe pak ik dit aan en is hier een voorbeeld van.

Alvast bedankt[:X]
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1744
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

Opslaan van data

Post by b_weijenberg »

A database, script and asp page is available for Homeseer.
In Homeseer is daar een database, script en asp pagine voor beschikbaar.
http://board.homeseer.com/showthread.php?t=118165

Bert
janeway
Starting Member
Starting Member
Posts: 5
Joined: Tue Jun 13, 2006 6:48 am

Opslaan van data

Post by janeway »

Bert,

Ik ben bezig met een eigen domotica besturing via een siemens plc en ben dus niet in het bezit van homeseer. het energie verbruik wordt bijgehouden in de plc. ik zou graag willen weten hoe ik deze informatie in een sql of mysql database krijg en via een website zichtbare kan maken.

Groet Janeway
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Opslaan van data

Post by Bwired »

Hi Guys
Please keep all the topics in English except for the Homeseer forum.
there are a lot of examples and discussions for logging to MYSQL and making charts of your data on your domotica homeautomation site.

Check these topics:
http://www.domoticaforum.eu/topic.asp?TOPIC_ID=179
http://www.domoticaforum.eu/topic.asp?TOPIC_ID=65

Regards Pieter
User avatar
DMB
Member
Member
Posts: 136
Joined: Tue Jun 27, 2006 7:11 pm
Location: Netherlands

Opslaan van data

Post by DMB »

Hello Janeway,

What type of Siemens PLC (S5, S7) do you use and how do you connect the PLC to a PC (Serial or network).

You can use the scripting which Bert mentioned also outside homeseer as e.g. vbscript or just vb.
Replace the homeseer statements with your own code to get the values and store them in the database.

Bert, nice link, seems that outside the Netherlands they like the rfxpower also.

DMB
janeway
Starting Member
Starting Member
Posts: 5
Joined: Tue Jun 13, 2006 6:48 am

Opslaan van data

Post by janeway »

Hi DMB,
I use a plc 315 2DP and a cp 343-1EX11 and a lot of I/O[:)]
User avatar
DMB
Member
Member
Posts: 136
Joined: Tue Jun 27, 2006 7:11 pm
Location: Netherlands

Opslaan van data

Post by DMB »

Janeway,

Nice configuration.
Do you use the profibus for connecting the remote IO (2DP).

What kind of OPC server do you use for connecting to the CP343?

With a OPC client, VB and the above mentioned samples, you must be able to store data in a database.

DMB
janeway
Starting Member
Starting Member
Posts: 5
Joined: Tue Jun 13, 2006 6:48 am

Opslaan van data

Post by janeway »

Hi DMB,

I use the CP343 for conneting with a OPC client, but i do not no which OPC client i must use for this and how I must install these.
Post Reply

Return to “Questions & Discussions Forum”