powermeister
3 posts
|
Topic: Comments and Suggestions /
device types for brultech ECM-1220, ECM-1240, and GreenEye?
here is an image of the ecm-1240:
http://lancet.mit.edu/mwall/projects/power/ecm1...
a single ecm-1240 collects these data:
volts, p_ch1, e_ch1, a_ch1, p_ch2, e_ch2, a_ch2, p_aux1, e_aux1, p_aux2, e_aux2, p_aux3, e_aux3, p_aux4, e_aux4, p_aux5, e_aux5. the aux5 might also send a dc voltage (v_aux5). the units of aux5 might be a counter instead of w/wh (c_aux5 instead of p_aux and e_aux5).
is there something ecmread could send that would tell seg the device type to use? or do you prefer to have seg attempt to guess the device type?
|
| |
robb01
13 posts
|
Topic: SEGmeter /
DS18B20 Temperature Stream
Thanks Sam. Works a treat with a 3k3 resistor. Cable lengths must be getting up there a bit.
A little data smithing to do now.
|
| |
samotage
208 posts
|
Topic: Comments and Suggestions /
device types for brultech ECM-1220, ECM-1240, and GreenEye?
Discover is the easiest way I know ;) It does some IP address binding, and if you send the token of site_unknown for a device you want to setup, it will tell you what the token is for the site, either created during the new discovery or for an existing site. Then just store the token on the ecmread end and use that for future api calls for that device.
It then creates devices, streams and other stuff based on what it sees in the data coming in (for a period of time). No need to pre-configure anything!
Then all that's needed is to label in SEG what's what after it's all done, and setup dashboards etc. However we have some templates in alpha to make this even easier too.
If you send or post here the image you would like to use and let me know the generic config then I can setup a special device for the ECM if you like? Then the discovery can be adjusted to see the specialised ch1 etc and perhaps even choose that device type on discovery.
We may need to tick tack a little to get this all rolling smoothly :D
Sam.
|
| |
powermeister
3 posts
|
Topic: Comments and Suggestions /
device types for brultech ECM-1220, ECM-1240, and GreenEye?
the 'discover' option looks like the easiest way to configure everything. unfortunately i did not notice it until after i set up 8 devices with 14 streams per device. could you confirm the process?
1) create account at seg web site
2) create a site at the seg web site, obtain the site token
3) click 'my profile' tab then click 'discover' button
4) start running ecmread
does the 'discover' automatically create devices, or must the devices be configured before doing discover?
as for the device types, perhaps if there were a generic 'monitor' type for which anyone could insert his/her own image? the ecm is a monitor, not a meter, so it does not really fit any of the existing types. not a big deal, since many of the types actually work, but i've seen smaller semantic issues cause confusion for noobs...
|
| |
samotage
208 posts
|
Topic: SEGmeter /
DS18B20 Temperature Stream
Hey Rob,
They way the Dallas library works is that it returns the sensors in the order of their own unique id. This means that if one of your sensors was to go down, or the cable run is tooo long then it's likely one can fade in and out. This will caue havoc, but likely a hardware problem.
I do know that reducing the 4.7k resistor value can give the sensors some more electrons at the end of the cable run :D Test and see!
Sam.
|
| |
samotage
208 posts
|
Topic: Comments and Suggestions /
device types for brultech ECM-1220, ECM-1240, and GreenEye?
Hey!
I checeked out your script, and rekon we could easily iuse the SEG discovery process to help the dead simple setup of Brultech devices. That may be simpler than having special device types?
I've been thinking about this for a little while now, just letting you know it's still active in the development stack!
Let me know,
Sam.
|
| |
robb01
13 posts
|
Topic: SEGmeter /
DS18B20 Temperature Stream
Hi Sam
Finally got the time and courage up to have a go at v0.18 with the Dallas Library. Not a lot of success initially with 3 sensors. See data attached. ÿ(node sol_adv ? (temp_1 26.37) (temp_2 26.37) (temp_3 26.37) (temp_4 26.37) ) (node sol_adv ? (p_1 523.29)(e_1 0.84)(p_2 82.74)(e_2 0.13)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 606.03)(e_a 0.97)) (node sol_adv ? (temp_1 -127.00) ) (node sol_adv ? (p_1 493.76)(e_1 0.65)(p_2 90.85)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 584.61)(e_a 0.77)) (node sol_adv ? (temp_1 26.31) ) (node sol_adv ? (p_1 514.80)(e_1 0.65)(p_2 84.69)(e_2 0.11)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 599.49)(e_a 0.75)) (node sol_adv ? (temp_1 -127.00) (temp_2 -127.00) (temp_3 -127.00) ) (node sol_adv ? (p_1 522.41)(e_1 0.76)(p_2 85.65)(e_2 0.13)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 608.06)(e_a 0.89)) (node sol_adv ? (temp_1 26.25) (temp_2 26.25) ) (node sol_adv ? (p_1 528.66)(e_1 0.69)(p_2 89.41)(e_2 0.11)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 618.08)(e_a 0.80)) (node sol_adv ? (temp_1 26.19) ) (node sol_adv ? (p_1 514.02)(e_1 0.66)(p_2 82.10)(e_2 0.11)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.0(node sol_adv ? (temp_1 -127.00) (temp_2 26.25) ) (node sol_adv ? (p_1 511.20)(e_1 0.72)(p_2 84.69)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 595.89)(e_a 0.84)) (node sol_adv ? (temp_1 26.19) ) (node sol_adv ? (p_1 513.22)(e_1 0.63)(p_2 88.71)(e_2 0.10)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 601.93)(e_a 0.73)) (node sol_adv ? (temp_1 26.25) (temp_2 26.25) ) (node sol_adv ? (p_1 505.89)(e_1 0.65)(p_2 88.58)(e_2 0.11)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 594.47)(e_a 0.77)) (node sol_adv ? (temp_1 26.25) ) (node sol_adv ? (p_1 511.71)(e_1 0.81)(p_2 83.73)(e_2 0.13)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 595.44)(e_a 0.94)) (node sol_adv ? (temp_1 -127.00) (temp_2 -127.00) ) (node sol_adv ? (p_1 514.73)(e_1 0.76)(p_2 80.70)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 595.43)(e_a 0.88)) (node sol_adv ? ) (node sol_adv ? (p_1 533.17)(e_1 0.76)(p_2 81.51)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 614.67)(e_a 0.87)) (node sol_adv ? (temp_1 -127.00) (temp_2 -127.00) ) (node sol_adv ? (p_1 518.45)(e_1 0.67)(p_2 81.12)(e_2 0.11)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 599.57)(e_a 0.78)) (node sol_adv ? ) (node sol_adv ? (p_1 511.00)(e_1 1.04)(p_2 89.44)(e_2 0.19)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 600.44)(e_a 1.23)) (node sol_adv ? (temp_1 26.25) (temp_2 -127.00) (temp_3 26.25) (temp_4 -127.00) (temp_5 -127.00) (temp_6 26.25) (temp_7 26.25) (temp_8 -127.00) (temp_9 26.25) (temp_10 26.25) (temp_11 26.25) ) (node sol_adv ? (p_1 1278.78)(e_1 6.49)(p_2 76.01)(e_2 0.42)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1354.79)(e_a 6.92)) (node sol_adv ? (temp_1 26.25) ) (node sol_adv ? (p_1 1277.68)(e_1 1.69)(p_2 88.79)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1366.47)(e_a 1.81)) (node sol_adv ? ) (node sol_adv ? (p_1 1286.33)(e_1 1.60)(p_2 86.24)(e_2 0.11)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1372.56)(e_a 1.71)) (node sol_adv ? (temp_1 -127.00) (temp_2 -127.00) ) (node sol_adv ? (p_1 1276.64)(e_1 1.75)(p_2 85.94)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1362.58)(e_a 1.87)) (node sol_adv ? (temp_1 26.31) (temp_2 26.31) ) (node sol_adv ? (p_1 1272.93)(e_1 1.70)(p_2 88.10)(e_2 0.11)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1361.03)(e_a 1.82)) (node sol_adv ? (temp_1 -127.00) ) (node sol_adv ? (p_1 1250.07)(e_1 1.64)(p_2 80.47)(e_2 0.10)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1330.53)(e_a 1.74)) (node sol_adv ? ) (node sol_adv ? (p_1 1295.66)(e_1 1.54)(p_2 82.54)(e_2 0.10)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1378.20)(e_a 1.64)) (node sol_adv ? ) (node sol_adv ? (p_1 1261.51)(e_1 1.53)(p_2 82.44)(e_2 0.09)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1343.95)(e_a 1.63)) (node sol_adv ? (temp_1 -127.00) (temp_2 -127.00) (temp_3 26.31) (temp_4 26.31) (temp_5 -127.00) (temp_6 26.31) (temp_7 26.31) (temp_8 -127.00) (temp_9 26.31) ) (node sol_adv ? (p_1 1276.90)(e_1 2.32)(p_2 84.61)(e_2 0.15)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1361.52)(e_a 2.48)) (node sol_adv ? (temp_1 26.31) (temp_2 -127.00) ) (node sol_adv ? (p_1 1248.68)(e_1 1.77)(p_2 79.82)(e_2 0.11)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1328.50)(e_a 1.88)) (node sol_adv ? (temp_1 26.31) (temp_2 26.31) ) (node sol_adv ? (p_1 1279.84)(e_1 1.93)(p_2 81.07)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1360.90)(e_a 2.05)) (node sol_adv ? (temp_1 26.31) (temp_2 26.31) (temp_3 26.31) ) (node sol_adv ? (p_1 1255.54)(e_1 1.69)(p_2 87.31)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1342.85)(e_a 1.80)) (node sol_adv ? (temp_1 26.31) (temp_2 -127.00) (temp_3 26.31) (temp_4 43.56) (temp_5 26.31) ) (node sol_adv ? (p_1 1285.21)(e_1 3.37)(p_2 87.96)(e_2 0.23)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1373.18)(e_a 3.60)) (node sol_adv ? (temp_1 26.31) ) (node sol_adv ? (p_1 1265.27)(e_1 7.50)(p_2 79.05)(e_2 0.46)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1344.32)(e_a 7.97)) (node sol_adv ? (temp_1 26.31) (temp_2 -127.00) (temp_3 26.31) (temp_4 26.31) (temp_5 43.50) (temp_6 -127.00) (temp_7 26.31) ) (node sol_adv ? (p_1 1272.24)(e_1 2.71)(p_2 79.37)(e_2 0.17)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1351.61)(e_a 2.89)) (node sol_adv ? (temp_1 26.31) ) (node sol_adv ? (p_1 1280.14)(e_1 1.67)(p_2 84.27)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1364.41)(e_a 1.79)) (node sol_adv ? (temp_1 26.31) ) (node sol_adv ? (p_1 1248.71)(e_1 4.06)(p_2 78.49)(e_2 0.27)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1327.20)(e_a 4.33)) (node sol_adv ? (temp_1 26.25) ) (node sol_adv ? (p_1 1256.04)(e_1 1.81)(p_2 85.57)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1341.60)(e_a 1.93)) (node sol_adv ? (temp_1 26.25) ) (node sol_adv ? (p_1 1244.78)(e_1 1.96)(p_2 78.89)(e_2 0.12)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1323.67)(e_a 2.09)) (node sol_adv ? (temp_1 26.25) (temp_2 26.25) ) (node sol_adv ? (p_1 1240.73)(e_1 1.70)(p_2 84.39)(e_2 0.11)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1325.12)(e_a 1.81)) (node sol_adv ? (temp_1 26.19) ) (node sol_adv ? (p_1 1261.15)(e_1 1.63)(p_2 79.97)(e_2 0.11)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1341.12)(e_a 1.74)) (node sol_adv ? ) (node sol_adv ? (p_1 1139.30)(e_1 1.35)(p_2 77.73)(e_2 0.10)(p_3 0.00)(e_3 0.00)(p_4 0.00)(e_4 0.00)(p_a 1217.03)(e_a 1.45)) (node sol_adv ? (temp_1 26.19) (temp_2 26.19) (temp_3 43.50) )
It seems to lose track of the number of sensors and does not cocnsistently allocate the data to the particular sensor. Any thoughts on what's happenign here? My guess is to try a lower resistor value. I know that using the onewire library it was a challenge but it was working. You can see the difference in my trends in the last 24 hours.
Regard
|
| |
powermeister
3 posts
|
Topic: Comments and Suggestions /
device types for brultech ECM-1220, ECM-1240, and GreenEye?
is it possible to create three more device types: ECM-1220,
ECM-1240, and GreenEye?
i'm sure you could use images from brultech for
the devices - if not let me know and i'll take pictures and send them.
more important are the default stream configurations. the ECM-1220
should default to having 4 streams: power and energy for 2 channels, with names p_ch1, e_ch1, p_ch2, and e_ch2.
the ECM-1240 should default to having 14 streams: p_ and e_ for ch1,
ch2, aux1, aux2, aux3, aux4, and aux5.
i'll let you know the greeneye
names in a couple of months (still sorting out the code for that one -
it has 32 channels!)
this will make it *much* easier for folks with brultech ECM devices
to get connected to SEG, especially when they use ecmread.py for the
collecting and uploading.
m
|
| |
dargs001
37 posts
|
Topic: Smart Energy - In the home /
Lumo Energy website / meter readings
Another price increase from Lumo (with citypower distro)

Not as bad as I thought it was going to be.
|
| |
samotage
208 posts
|
Topic: The Open Grid /
Getting data using the API and start date does not seem to work
Hey Phil,
Is it all better now? Let me know!
Sam.
|
| |
samotage
208 posts
|
Topic: The Open Grid /
Delete multiple values
Mmm, that seems a little hard... Which stream and date range is it? You can let me know via a contact message, or post it here and I can fix something for you.
Sam.
|
| |
samotage
208 posts
|
Topic: The Open Grid /
Getting data using the API and start date does not seem to work
Hey Phil,
Seems I missed this... I will check it out.
Sam.
|
| |
Pmenkel
13 posts
|
Topic: The Open Grid /
Delete multiple values
Oh well, thanks,
I will write a screen scrapping program to do it for me. I have about 7000 values to delete on one item.
Thanks, and keep up the good work. I love this site!!!!!! It has been so helpful to visualize data and collaborate with people.
Thanks
Phil
|
| |
Pmenkel
13 posts
|
Topic: The Open Grid /
Getting data using the API and start date does not seem to work
Hi Sam,
Any ideas on the API and start date issue listed above?
Thanks
Phil
|
| |
samotage
208 posts
|
Topic: SEGmeter /
New Look!
Hey Brad,
Thanks! The Ludicrous value is a high value that should not be saved, so if your device sends some data above this value, it will be removed. :D
This should fix your occasional data problems.
V2 is in final stages of codes shakedown, and the SEGPlug is in design review. We do need a new SEGbox, as our current stocks are discontinued... Lots to do in 2012!
Thanks!
Sam.
|
| |
samotage
208 posts
|
Topic: The Open Grid /
Delete multiple values
Hey Phil,
There isn't a way to do this unfortunately, the only way is point by point at the moment.
Thanks,
Sam.
|
| |
Verohomie
9 posts
|
Topic: SEGmeter /
New Look!
Hi Sam -
I too like the "New Look"! One question, though? What is a Ludicrous Value? And how do I use it?
I continue to get occasional ludicrous data values which I have to hand remove.
Will this... preserve some sanity..?
Keep up the great work. Looking forward to SEGv2 and SEGPlug.
Happy New Year - Brad
|
| |
Pmenkel
13 posts
|
Topic: The Open Grid /
Delete multiple values
Is there a way to delete a lot of values. I.e. maybe a days worth of values. Either via the web site or via the API?
Thanks
Phil
|
| |
robb01
13 posts
|
Topic: SEGmeter /
New Look!
Hi Sam
Thanks for the tip. Clearing the cache was all it needed. The newer version FF8 had been installed for a few weeks so I don't know when it got confused.
All good now.
Thanks Again.
|
| |
Pmenkel
13 posts
|
Topic: The Open Grid /
Problem with getting data from web site using API calls
Thanks Sam,
It seems to be working now.
Thanks,
PhilM
|