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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 476
» Latest member: ttf0820
» Forum threads: 136
» Forum posts: 506

Full Statistics

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

Latest Threads
Modbus Register- meaning ...
Forum: SmartPi - English
Last Post: Farymann43F
19.07.2019, 16:39
» Replies: 0
» Views: 220
Fragen und Anregungen neu...
Forum: SmartPi - Deutsch
Last Post: frank
19.07.2019, 11:45
» Replies: 4
» Views: 455
/var/tmp/smartpi/values s...
Forum: SmartPi - English
Last Post: Farymann43F
18.07.2019, 23:51
» Replies: 7
» Views: 2.078
Prometheus export
Forum: SmartPi - English
Last Post: markobursic
13.07.2019, 13:36
» Replies: 3
» Views: 1.386
Current drift values
Forum: SmartPi - English
Last Post: markobursic
10.07.2019, 20:57
» Replies: 13
» Views: 1.237
Read only filesystem
Forum: SmartPi - English
Last Post: markobursic
10.07.2019, 18:36
» Replies: 0
» Views: 130
SD Card slot has snapped ...
Forum: SmartPi - English
Last Post: frank
08.07.2019, 23:38
» Replies: 1
» Views: 195
Frage bezüglich Ampere We...
Forum: SmartPi - Deutsch
Last Post: frank
06.07.2019, 23:35
» Replies: 4
» Views: 548
systemctl stop smartpi.se...
Forum: SmartPi - Deutsch
Last Post: frank
06.07.2019, 23:29
» Replies: 0
» Views: 151
Stromwandler 3000:1
Forum: SmartPi - Deutsch
Last Post: frank
23.06.2019, 00:27
» Replies: 0
» Views: 257

 
  https
Posted by: quadro - 04.08.2018, 12:43 - Forum: SmartPi - English - Replies (2)

The smartpi server software creates a webserver with access on the default port 1080 (changeable).
Is it possible to access the smartpi using the https protocol in place of the default http?

Print this item

  Image too large
Posted by: quadro - 01.08.2018, 10:43 - Forum: SmartPi - English - Replies (2)

I downloaded the new image with version 0.9.1, but I cannot write it on a SD card.
I tried several SD cards of 16 Gbyte, but when I write the image on the SD card, it always said that I need more space.
I tried writing with Win32DiskImage and Etcher, they gave the same result.
It seems that most SD cards or not really 16 Gbyte, but only 15,5 Gbyte.
Is it possible to make the existing image smaller (for example 15 Gbyte) so it will fit any SD card of 16 Gb?

Print this item

Photo First project with Smartpi 1.0
Posted by: quadro - 01.08.2018, 10:29 - Forum: Projects - No Replies

I monitor my home installation with solar panels and an electric car connected to the grid.
   
   

In addition I save alle measurements in a web based platform for later analysis. Every month the 1 minute measurements in my database are recalculated to have measurements every 15 minutes.
Those 15 minute measurements are a standard in Belgium and use less space in the database, because I afterwards delete the 1 minute measurements.
   
   
   

Print this item

  SmartPi on 1-phase system
Posted by: Pierre - 08.05.2018, 15:27 - Forum: SmartPi - English - Replies (4)

Dear,

I the case of a 1-phase system with 3 or 4 current measurement, I know I have to power the SmartPi with N and L1 supplied, but how can I associate the I2-4 with the voltage of L1 ?

Can I connect L1 also on L2 and L3 on the SmartPi ?

Thank you,

Pierre

Print this item

  Software Installation Problems
Posted by: NoSpark - 07.05.2018, 00:20 - Forum: SmartPi - English - Replies (2)

Good day to the Forum!

My SmartPi has been down ever since the introduction of Node Red.
When I installed the update, several months ago, the install did not go well and my SmartPi has never recovered.

My SmartPi consists of:
Raspberry Pi 3 Model B
The original Kickstarter SmartPi board.

This past weekend I tried again to install the new software version and here is my experience.
I did a fresh install of Raspbian Stretch with Desktop from the Pi site.
I enabled SSH and VNC.
The install went well and worked as expected.

Then I followed the instructions at: 
SmartPi Installation
and installed the .deb archive for stretch.

Now the problems:
1 - When Installed the archive, it stopped loading saying that "npm" was not installed.
OK, so I went online and installed it.  That cleared that error on the next install attempt.
(that was a real experience)

2 - The install indicated that a directory was missing "init.d".
OK, I manually created that directory and the install completed.


I noted the following problems:
1 - SmartPi does not start at boot.  I have to start it manually using the instructions at SmartPi Installation.
2 - The server is not working correctly, it will only serve the page ONCE, then I have to reboot and restart manually.
The data it dis show looked fairly correct.

Clearly, I have not installed the new version correctly.
I am out of ideas, and my skill with the Pi is very limited and I need help.

I would appreciate a very clear and detailed instruction set to reinstall my SmartPi software correctly.

The new software looks very promising and I and anxious to get my SmartPi going again.

Cheers,
NoSpark

Print this item

  Auslesen der Daten mit Python
Posted by: hessam - 18.04.2018, 14:06 - Forum: SmartPi - Deutsch - Replies (1)

Code:
sleep(sleeptime)                            # warten
       #print ("warten 2: Schleife")
file = open('/var/tmp/smartpi/values')
messwerte = file.readlines()
file.close
print ("Messwerte: ", messwerte)
print (" ")

for line in messwerte:
   wertnr = 0
   wert   = line.split(";")[wertnr]  # Messwert extrahieren
   #wert[10] = ";"
   wert0  = wert.split(" ")[0]
   wert1  = wert.split(" ")[1]
   wert   = wert0 + "; " + wert1
   werttxt = "> Datum  : " + wert + "   Rohdaten"
   print ( werttxt )
   mess[wertnr] = " " + wert

for wertnr in range(1, 7):
   wert   = line.split(";")[wertnr]        # Messwert Strom
   wertf = float(wert)
   wertf = wertf / wertkorr[wertnr]
   werts = '%6.2f'%wertf
   mess[wertnr] = werts
   werttxt = "> Wert" + '%2.0f'%wertnr  + " :  " + werts + " A   Strom      "  + wert
   print ( werttxt )
Hallo,
ich versuche die Daten zum Beispeil Leistung mit Hilfe von Python auszulesen allerdings weiß ich nicht wo mein Fehler im Programm ist. Ich bin ei Anfänger mit dem Raspberry  und SmartPi. Ich wurde mich über eure Hilfe freuen. Zur Zeit versuche ich nur den Strom anzuzeigen allerdings klappt es nicht.  Ich hab mir das Programm im Forum als Hilfe genommen, da dort ebenfalls versucht wurde mittels Python auszulesen.
Bedanke mich im Voraus

Print this item

  New version 0.9.1
Posted by: jens - 12.04.2018, 14:34 - Forum: SmartPi - English - Replies (2)

Hello,

there is a new software version for the SmartPi.

The most important changes in brief:
Bugfixes
Balanced measured values for the watt-hours (currently only stored in the database) (beta)

http://files.enerserve.eu/smartpi/smartp...tretch.deb
or
http://files.enerserve.eu/smartpi/smartp...jessie.deb


installation with 
sudo dpkg -i smartpi_0.9.1-stretch.deb
or
sudo dpkg -i smartpi_0.9.1-stretch.deb


Many greetings Jens

Print this item

  Neue Version 0.9.1
Posted by: jens - 12.04.2018, 14:33 - Forum: SmartPi - Deutsch - Replies (9)

Hallo,

es gibt eine neue Softwareversion für den SmartPi.

Die wichtigsten Änderungen in Kürze:
- Bugfixes
- Saldierte Messwerte für die Wattstunden (wird bis jetzt nur in der Datenbank gespeichert) (beta)


http://files.enerserve.eu/smartpi/smartp...tretch.deb
oder
http://files.enerserve.eu/smartpi/smartp...jessie.deb
[url=http://files.enerserve.eu/smartpi/smartpi_0.6.7.deb][/url]

installation mit 
sudo dpkg -i smartpi_0.9.1-stretch.deb
oder
sudo dpkg -i smartpi_0.9.1-stretch.deb

Viele Grüße Jens

Print this item

  API Abfrage - Abfrage URL ergibt nicht den übereinstimmenden Wert
Posted by: Rheininsel - 12.04.2018, 10:51 - Forum: SmartPi - Deutsch - No Replies

Ich frage zur Auswertung des über den Tag bzw. Monat aufkommenden Stromverbrauchs extern über die API den Verbrauch ab.

Dabei habe ich das Problem, dass ich folgende API-Abfrage mache:


Code:
https://10.10.1.71/api/dayvalues/123/energy_pos/from/2018-04-11T00:00:00.000Z/to/2018-04-11T23:59:59.999Z

dabei erhalte ich die Ausgabe von

Code:
[
{"key":"energy_pos_1","values":[{"time":"2018-04-11T23:59:25+0200","value":1942.9053},{"time":"2018-04-12T01:59:27+0200","value":135.687}]},
{"key":"energy_pos_2","values":[{"time":"2018-04-11T23:59:25+0200","value":4315.477},{"time":"2018-04-12T01:59:27+0200","value":151.05037}]},
{"key":"energy_pos_3","values":[{"time":"2018-04-11T23:59:25+0200","value":3647.5513},{"time":"2018-04-12T01:59:27+0200","value":205.31183}]}
]

Wie dabei zu sehen, stimmen die Zeiten bei mir nicht überein. Es werden um zwei Stunden versetze Zeiten ausgeben. Das hat bestimmt etwas mit der Zeitzone zu tun. Wie bekomme ich das hin, dass die API-Zeit mit der Datenbank-Zeit (???) übereinstimmt und ich die aktuellen Werte entsprechend ausgegeben bekomme (auch nach Sommer-/Winterzeit Umstellung) Big Grin .

Bei:

Code:
https://10.10.1.71/api/dayvalues/123/energy_pos/from/2018-04-10T22:00:00.000Z/to/2018-04-11T21:59:59.999Z
erhalte ich
Code:
[
{"key":"energy_pos_1","values":[{"time":"2018-04-11T23:59:25+0200","value":2079.196}]},
{"key":"energy_pos_2","values":[{"time":"2018-04-11T23:59:25+0200","value":4462.9453}]},
{"key":"energy_pos_3","values":[{"time":"2018-04-11T23:59:25+0200","value":3855.8508}]}
]

---------------------- Edit Dashboardvergleich gelöscht.

Eine aktuelle Abfrage über die API bis Tagesende ergibt als Ausgabe für den letzten Wert:
Code:
{"time":"2018-04-12T11:47:35+0200","value":855.0059}

Stehe ich mit den Zeiten auf Kriegsfuß? Hat jemand eine Erklärung / Lösung für mich?

Dankende Grüße
Gregor

Print this item

  Grid frequency
Posted by: SuperQ - 08.04.2018, 22:42 - Forum: SmartPi - English - Replies (1)

So, lots of interesting news about the EU grid frequency.

https://arstechnica.com/tech-policy/2018...en-clocks/

I capture all my smartpi data in Prometheus, but I'm only keeping 2 weeks of data right now (Grumble, 32bit Pi, virtual memory, long story).

Previously, I could see the frequency average below 50hz.

But you can clearly see the grid frequency has been higher than normal up until recently.

https://imgur.com/a/YSZv6

Print this item