Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 954
» Latest member: neilwilston123
» Forum threads: 187
» Forum posts: 786

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 35 Guest(s)

Latest Threads
Add new current transform...
Forum: SmartPi - English
Last Post: Pierre
19.10.2020, 12:18
» Replies: 2
» Views: 155
Testversion mit Kalibrier...
Forum: SmartPi - Deutsch
Last Post: frank
04.10.2020, 13:12
» Replies: 16
» Views: 4.322
Node Red - readout datei ...
Forum: SmartPi - Deutsch
Last Post: frank
04.10.2020, 12:20
» Replies: 10
» Views: 1.083
Hohe Systemauslastung dur...
Forum: SmartPi - Deutsch
Last Post: frank
04.10.2020, 12:16
» Replies: 0
» Views: 70
Systemd Service funktioni...
Forum: SmartPi - Deutsch
Last Post: frank
02.10.2020, 00:06
» Replies: 7
» Views: 378
Grafana Dashboard Summenl...
Forum: SmartPi - Deutsch
Last Post: daniel.pernold
01.10.2020, 11:57
» Replies: 11
» Views: 2.585
Update
Forum: SmartPi - Deutsch
Last Post: frank
30.09.2020, 21:17
» Replies: 3
» Views: 428
Falsche Spannungswerte na...
Forum: SmartPi - Deutsch
Last Post: daniel.pernold
29.09.2020, 11:54
» Replies: 13
» Views: 4.878
SD-Karte entnehmen ohne Z...
Forum: SmartPi - Deutsch
Last Post: Michael Sperlich
25.09.2020, 23:20
» Replies: 4
» Views: 534
Image-Version
Forum: SmartPi - Deutsch
Last Post: frank
20.09.2020, 14:22
» Replies: 2
» Views: 460

 
  Constants per phase
Posted by: SuperQ - 02.05.2017, 08:51 - Forum: SmartPi - English - Replies (5)

In the ade7878.go source, there are a bunch of constants defined per phase.  It doesn't seem necessary to do this, as all of the values are the same per phase.  It would greatly simplify things if we could eliminate the per-phase component.

Code:
 CURRENT_RESISTOR_A        float32 = 7.07107
 CURRENT_RESISTOR_B        float32 = 7.07107
 CURRENT_RESISTOR_C        float32 = 7.07107
 CURRENT_RESISTOR_N        float32 = 7.07107
 CURRENT_CLAMP_FACTOR_A    float32 = 0.05
 CURRENT_CLAMP_FACTOR_B    float32 = 0.05
 CURRENT_CLAMP_FACTOR_C    float32 = 0.05
 CURRENT_CLAMP_FACTOR_N    float32 = 0.05
 OFFSET_CURRENT_A          float32 = 0.97129167
 OFFSET_CURRENT_B          float32 = 0.97129167
 OFFSET_CURRENT_C          float32 = 0.97129167
 OFFSET_CURRENT_N          float32 = 0.97129167
 OFFSET_VOLTAGE_A          float32 = 1.0
 OFFSET_VOLTAGE_B          float32 = 1.0
 OFFSET_VOLTAGE_C          float32 = 1.0
 POWER_CORRECTION_FACTOR_A float32 = 0.019413
 POWER_CORRECTION_FACTOR_B float32 = 0.019413
 POWER_CORRECTION_FACTOR_C float32 = 0.019413

Print this item

  Hilfe bei der Installation und Anwendung
Posted by: sodom89 - 30.04.2017, 18:25 - Forum: SmartPi - Deutsch - Replies (1)

Hi,

komme einfach nicht weiter. Habe inzwischen mehrfach die folgende Installationsanleitung befolgt. Funktioniert das ganze nicht auf einem Raspberry Pi B?
Oder welche IP-Adresse muss ich eingeben, denn mir wird immer nur im Ephany-Browser des Pis angezeigt, dass die Seite nicht verfügbar ist.

Quote:3. Installation of the prepared image

Download the prepared image from the following location:


http://files.enerserve.eu/smartpi/2017-0...smartpi.7z


After downloading the .7z file, unzip (Windows: http://www.7-zip.org/) it to get the image file (.img) for writing to your SD card.

Write the image file to your SD card. On the official website there are guides for your operating system:
Please insert the sd card into your smartpi and start your system.

Use the following userdata for the first login:

Code:
User: pi
Password: smart4pi

To avoid hacker attacs it is highly recommended to change your password.

To adjust the file system to the sd card please enter

Code:
sudo raspi-config

choose expand filesystem and follow the instructions.

Code:
Reboot


The webpage and API can accessed by:

Code:
<ip-adress>:1080

Print this item

  Understanding the data/code
Posted by: SuperQ - 26.04.2017, 17:11 - Forum: SmartPi - English - Replies (5)

I've been reading the code, trying to understand how/why everything works.  Mostly I've been going over main/reader.go and smartpi/ade7878.go.

I'm wondering if there is some additional documentation on all of the inputs and outputs.

I'm considering refactoring this code to make it easier to follow.  The big one is smartpi.ReadoutValues(), which returns a completely unformated slice of floats.  This should really be a struct, or broken up into several smaller sub-functions.

For example, in the main for{} loop of readout.go, there is a sub-loop that updates all of the current/voltage gauges (I think), but it ignores the cumulative counters every 5 seconds.

Then every 12 iterations (1min) it updates the database storage and two persistent cumulative counters.

Then it resets the value state for everything and starts the temporary cumulative counters over again.

Does this all sound correct?

I'm also wondering what unit these values are:

EB1: 1.116625  EB2: 0.0341316  EB3: 0.033458143  EL1: 0  EL2: 0  EL3: 0

One more question, it looks like there is no way to ignore disconnected phases, my apartment only has one phase, I can turn off voltage readings, but it appears to be counting some current against the cumulative counter on phases that are disconnected.

Print this item

  Data Download
Posted by: NoSpark - 26.04.2017, 15:29 - Forum: SmartPi - English - Replies (4)

Good day!  Smile

Thus far I am really enjoying my SmartPi!  I work as an engineer, and an old and senior one at that, for an electrical utility.  The concept of a smart meter really resonates with my fellow workers.  I have the SmartPi web (internet) facing so I really like to show it off around the office and during meetings!  Other engineers like to look at the data and try to figure out what appliances are operating.

Anyway, the only issue I have is with the display of data.  The Download or Table function works well when displaying a day or two of data, although it is a bit slow.  However, if I try to download two or three days the SmartPi stops responding to the web interface.   When it finally does produce the data I notice that the SmartPi has continued to collect data in the background and there is no gap in data continuity.

Two days ago I attempted to download about a month of data and apparently this locked up both the SmartPi Web interface and hung the data collection process resulting a loss of metering data for about 24 hours, that is when I was power cycled the to restart the SmartPi.

I have a 32GB SD card installed and all Raspbian and enerserve software is up to date.

My device is configured for a North American residential supply with a split phase 240 volt 60Hz system
My connections are:

Voltage:
L1 - L1 (120 v to Neutral [GND])
L2 - L2 (120 v to Neutral [GND])
L3 - Neutral [GND]
N - Neutral [GND]

Current:
L1 - L1
L2 - L2 
L3 - Not Connected (Open)
N - Not Connected (Open)

The data is not important to me yet, so this is just a user experience!

Thanks for a great product and your continuing support!

Cheers,
NoSpark

Print this item

  DIN rail install
Posted by: SuperQ - 26.04.2017, 14:09 - Forum: SmartPi - English - No Replies

Just to warm up the English section, here's some photos of my SmartPi install in a DIN rail case.

The case:
https://www.amazon.de/gp/product/B01EB5YEB0

The PSU:
https://www.amazon.de/gp/product/B00MWQEBAU

I very carefully modified the case to allow the SmartPi to be mounted.

I ended up doing some careful boring to drill out the mounting holes on my RPi and SmartPi board to allow for 3mm threading.  This worked better than the included 2.5mm standoffs because the case used 3mm mounting holes.

I used 18mm standoffs, but 20mm would also have worked.

https://goo.gl/photos/Xsd1yrtzhdwJWdP46

Print this item

  Welcome
Posted by: jens - 26.04.2017, 13:42 - Forum: SmartPi - English - Replies (1)

Dear users,

Welcome to the SmartPi forum.
Here you can post questions, wishes, suggestions and ideas to the SmartPi.
Best regards Jens

Print this item

  Herzlich willkommen
Posted by: jens - 26.04.2017, 13:41 - Forum: SmartPi - Deutsch - Replies (1)

Liebe Benutzer,

herzlich willkommen im Forum zum SmartPi.
Hier könnt ihr Fragen, Wünsche, Anregungen und Ideen zum SmartPi posten.

Viele Grüße Jens

Print this item