Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 28 online users. » 0 Member(s) | 28 Guest(s)
|
Latest Threads |
Wünsche an die Software
Forum: SmartPi - Deutsch
Last Post: Smartin
12.01.2021, 12:27
» Replies: 9
» Views: 6.115
|
Wallbox mit SmartPi und/o...
Forum: SmartPi - Deutsch
Last Post: jens
01.12.2020, 10:02
» Replies: 1
» Views: 392
|
Add new current transform...
Forum: SmartPi - English
Last Post: Pierre
19.10.2020, 12:18
» Replies: 2
» Views: 845
|
Testversion mit Kalibrier...
Forum: SmartPi - Deutsch
Last Post: frank
04.10.2020, 13:12
» Replies: 16
» Views: 6.843
|
Node Red - readout datei ...
Forum: SmartPi - Deutsch
Last Post: frank
04.10.2020, 12:20
» Replies: 10
» Views: 2.813
|
Hohe Systemauslastung dur...
Forum: SmartPi - Deutsch
Last Post: frank
04.10.2020, 12:16
» Replies: 0
» Views: 369
|
Systemd Service funktioni...
Forum: SmartPi - Deutsch
Last Post: frank
02.10.2020, 00:06
» Replies: 7
» Views: 1.379
|
Grafana Dashboard Summenl...
Forum: SmartPi - Deutsch
Last Post: daniel.pernold
01.10.2020, 11:57
» Replies: 11
» Views: 4.397
|
Update
Forum: SmartPi - Deutsch
Last Post: frank
30.09.2020, 21:17
» Replies: 3
» Views: 1.161
|
Falsche Spannungswerte na...
Forum: SmartPi - Deutsch
Last Post: daniel.pernold
29.09.2020, 11:54
» Replies: 13
» Views: 6.823
|
|
|
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
|
|
|
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
choose expand filesystem and follow the instructions.
The webpage and API can accessed by:
|
|
|
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.
|
|
|
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
|
|
|
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
|
|
|
|