navitron
 
Renewable Energy and Sustainability Forum
UK's most popular Renewable Energy Forum May 25, 2012, 11:26:13 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Anyone wishing to register as a new member on the forum is strongly recommended to use a "proper" email address - following recent spam/hack attempts on the forum, all security is set to "high", and "disposable" email addresses like Gmail, Yahoo and Hotmail tend to be viewed with suspicion, and the application rejected if there is any doubt whatsoever
 
Recent Articles: UPDATE ON DECC APPLICATION FOR LEAVE TO APPEAL TO THE SUPREME COURT | Yingli Green Energy's PV Module Ranks No.2 in TUV Rheinland Energy Yield Test | Navitron Solar Showers at Glastonbury for Year 5!
   Home   Help Search Login Register  
Pages: 1 2 3 4 5 [6]   Go Down
  Print  
Author Topic: TDC3-e new developments - Wookey, djh, wyleu et al. please read!!  (Read 14104 times)
wyleu
Guest
« Reply #75 on: October 11, 2008, 05:10:40 AM »

Using the weather to monitor performance.... fume


BURN THE WITCH !!!!    stir
Logged
Paulh_Boats
Global Moderator
Hero Member
*****
Offline Offline

Posts: 2768



« Reply #76 on: October 11, 2008, 12:25:58 PM »

Using the weather to monitor performance.... fume


BURN THE WITCH !!!!    stir

Heresy indeed  surrender 

I'd wager 500 bank shares, credit swapped for an 8-track player and hedged with a derivative trade of the rising banana price on the futures market, underpinned by half the shares bet on "Captain Crunch" in the 3.30 at Kempton .... that...   water temp rise is a fixed multiple of sun hours (averaged over a month).
Logged
wyleu
Guest
« Reply #77 on: March 24, 2009, 09:26:54 PM »

A quick bit of python just to get the version string....



import socket
import sys


s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
host = '192.168.1.50'
port = 10001
s.connect((host,port))

data = '\x47\xaa\x00\x00\x00\x00\x02\x00v?'


s.send(data)

i = 0
while(1):
    data = s.recv(13)
    i += 1
    print data
    if not data:
        break
    print 'received:-', len(data), 'bytes'

s.close()





dellap:/home/chris# python tcpipclient.py
G�v=TDC
received:- 13 bytes


The logger software fell over here with the 135 error...  Not willing to download the .net comps, cos ..........
« Last Edit: March 24, 2009, 09:30:30 PM by wyleu » Logged
andyhanson
Newbie
*
Offline Offline

Posts: 17


« Reply #78 on: February 12, 2011, 03:14:54 PM »

I started a new thread with regards to this but think I should have just continued this one.

I've just commissioned my TDC3-e and am very interested in getting the data to display on a web page rather than using the supplied software.  The other problem, which is noted, is that the software won't allow connection across the web.

Have there been any further developments on this and has anyone successfully got the data displayed on a web page remotely (even locally would be a start!).  I've just switched across to a MAC and understand this has Perl builtin.  I shall experiment with the coding provided here but would be interested in updates on this project.
Logged
Poolguy
Full Member
***
Offline Offline

Posts: 120



« Reply #79 on: February 14, 2011, 08:20:15 AM »

Yes we've got loads of progress and more coming.

www.poolguyenergy.com

Let me know if you are interested in the software,
It works on the TDC3e TDC4e and new XDC multi system controller.

Andrew
Logged

Navitron Distributor for France
Akvaterm Distributor for France
SUNeLog Distributor
Elite Thermal Cover European Distributor
wyleu
Guest
« Reply #80 on: February 14, 2011, 09:59:33 AM »

Really good stuff poolguy.  flyingpig


Logged
wookey
Hero Member
*****
Offline Offline

Posts: 2672


WWW
« Reply #81 on: February 14, 2011, 11:58:45 PM »

Only if you've got adobe flash - It displays exactly nothing on my machine (with gnash). Flash is the 2000s - we have better tech now, that also avoids the proprietary trap.
Logged

Wookey
njarvis
Newbie
*
Offline Offline

Posts: 2


« Reply #82 on: March 23, 2011, 11:09:43 PM »

So my solar heating system, complete with TDC3-e, was finally up and running yesterday (thanks Kenny!), which left me with the task of integrating the controller with my home monitoring system, which is based around MRTG running on a Linux server.  Looking at this and other threads, I couldn't see the piece I was missing - a CLI utility to dump the state of the controller's parameters (like relay state or sensor temperature). 

Using the protocol document Navitron is hosting, I put together a simple Perl script to fetch the data.  I've attached the script as tdc.pl.txt - you should rename the file tdc.pl, place it somewhere on your search path, and make it executable.  I put it in /usr/local/bin on my Linux system.

The script can be integrated into MRTG using configurations like this:

Code:
################################
# Sensor0 temperature
################################
 
Target[tdc3.nat.neil.jarvis.name.sensor0]: `/usr/local/bin/tdc.pl -tdcAddr tdc3.nat.neil.jarvis.name -mrtg sensor0`
MaxBytes[tdc3.nat.neil.jarvis.name.sensor0]: 100
Title[tdc3.nat.neil.jarvis.name.sensor0]: sensor0: Solar Collector Temperature
Options[tdc3.nat.neil.jarvis.name.sensor0]: growright, gauge, nopercent, absolute
YLegend[tdc3.nat.neil.jarvis.name.sensor0]: Temp
Legend1[tdc3.nat.neil.jarvis.name.sensor0]: Temperature
Legend2[tdc3.nat.neil.jarvis.name.sensor0]: .
Legend3[tdc3.nat.neil.jarvis.name.sensor0]: Max value per interval on graph
Legend4[tdc3.nat.neil.jarvis.name.sensor0]: .
LegendI[tdc3.nat.neil.jarvis.name.sensor0]: Solar Collector Temperature
LegendO[tdc3.nat.neil.jarvis.name.sensor0]: .

Now I see sensor graphs like the one I've attached, and will be happily monitoring the system over time.

-Neil





* tdc3.nat.neil.jarvis.name.sensor0.png (23.28 KB, 897x354 - viewed 246 times.)
* tdc.pl.txt (5.82 KB - downloaded 62 times.)
Logged
njarvis
Newbie
*
Offline Offline

Posts: 2


« Reply #83 on: March 31, 2011, 11:00:18 PM »

The TDC3e/MRTG monitoring system is working well  Wink  The gap in the graph below is where the server was being moved into the new office.

I've made the live output available on my home's web site: http://home.neil.jarvis.name/

-Neil


* tdc3.nat.neil.jarvis.name.cfg-_Combined-w-x3.png (85.19 KB, 897x496 - viewed 191 times.)
Logged
Pages: 1 2 3 4 5 [6]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!