NT5000

Aus FHEMWiki
Zur Navigation springen Zur Suche springen
Nt5000 2.png


Nt5000 2.png

Solarer Inverter mit Messdatenerfassung

Beschreibung

Der solare Inverter (Wechselrichter) NT5000 von Sunways misst momentane Strom-, Spannungs- und Leistungswerte einer Fotovoltaikanlage, er sammelt einen Teil dieser Werte auch über die Zeit und stellt sie als Tages-, Monats- und Jahresauswertung zur Verfügung. Durch den Anschluss eines externen Sensors an den NT5000 kann auch die Temperatur der Solarmodule überwacht und die solare Einstrahlung gemessen werden.

Kommunikationsschnittstelle

Die Daten des NT5000 werden über eine serielle Schnittstelle abgefragt, diese kann auch - via Seriell-USB-Umsetzer - durch einen USB-Anschluss ersetzt werden. Bei der Kommunikation wird von FHEM jeweils ein 5 Byte langer Anforderungsblock gesendet, der durch den NT5000 mit einem 13 Byte langen Block beantwortet wird. Die Modelle NT1800, NT2600, NT4000 und NT6000 verfügen über die gleiche Schnittstelle.

Hinweise zum Betrieb mit FHEM

Das zugehörige Modul von FHEM heißt 70_NT5000.pm und ist in der FHEM-Distribution im Unterverzeichnis contrib zu finden, von dort muss es vor Inbetriebnahme noch ins Haupt-Modulverzeichnis verschoben werden.

Links

Hersteller Sunways [1]

Solar Inverter with Data Logging

Description

The solar inverter NT5000 by Sunways measures current, voltage and power values of a Fotovoltaikanlage, it collects some of these values over time and provides daily, monthly and yearly overviews of the data. By attaching an external sensor to the NT5000, one may also watch the solar module temperature and measure the solar irradiation.

Communication Interface

The data form the NT5000 is obtained via a serial port interface, which may be attached via serial-to-USB converter to an USB port. In communicating with the NT5000, FHEM sends request blocks of 5 byte length, which are then answered by the NT5000 with 13 byte blocks. Models NT1800, NT2600, NT4000 and NT6000 have a similar communication interface.

Remarks on using with FHEM

The corresponding FHEM module is named 70_NT5000.pm, it is found in the directory contrib of the FHEm sistribution. From there it must be moved to the main module store before using it.

Links

Manufacturer Sunways [2]

Command Synopsis

Define

define <name> NT5000 <device>
  • <name> = Serial device port or the keyword emulator. In the latter case, a 4.5 kWP solar installation is simulated

Get

  • get <name> reading - read all current data
  • get <name> month - read all data from current month
  • get <name> year - read all data from current year
  • get <name> present - 1 if device present, 0 if not
  • get <name> serial - inverter serial number
  • get <name> proto -inverter protocol

Attributes

  • attr <name> Area <float> - Effective area [m2] of the installation
  • attr <name> PSP <float> - Peak Solar Power [kW] of the installation
  • attr <name> Wx_M<n> <float> - Expected yield [kWh] for month <n>=1...12
  • attr <name> Wx_Y <float> - Expected yield [kWh] for a full year
  • attr <name> MERR <list> - List of months with erroneous logging, see lines 83ff
  • Standard attributes alias, comment, event-on-update-reading, event-on-change-reading, stateFormat, room, eventMap, loglevel, webCmd

Example

define nt5000 NT5000 /dev/ttyUSB1
attr nt5000 Area 32.75
attr nt5000 LogM SolarLogM
attr nt5000 LogY SolarLogY
attr nt5000 PSP 4.5
attr nt5000 Wx_M1 150
attr nt5000 Wx_M10 360
attr nt5000 Wx_M11 180
attr nt5000 Wx_M12 100
attr nt5000 Wx_M2 240
attr nt5000 Wx_M3 430
attr nt5000 Wx_M4 600
attr nt5000 Wx_M5 670
attr nt5000 Wx_M6 650
attr nt5000 Wx_M7 650
attr nt5000 Wx_M8 580
attr nt5000 Wx_M9 470
attr nt5000 Wx_Y 5080
attr nt5000 room Solaranlage
define SolarLogD FileLog /home/fhem/fhemlogs/solarD_%Y-%m-%d.log nt5000:(reading.*|header.*)
attr SolarLogD archivedir /home/fhem/fhemarchive
attr SolarLogD nrarchive 30
attr SolarLogD room Logs
define SolarLogM FileLog /home/fhem/fhemlogs/solarM_%Y-%m-%d.log nt5000:(W_D).*
attr SolarLogM archivedir /home/fhem/fhemarchive
attr SolarLogM nrarchive 1
attr SolarLogM room Logs
define SolarLogY FileLog /home/fhem/fhemlogs/solarY_%Y-%m-%d.log nt5000:(W_M).*
attr SolarLogY archivedir /home/fhem/fhemarchive
attr SolarLogY nrarchive 1
attr SolarLogY room Logs
define SolarDay weblink fileplot SolarLogD:nt5000d:CURRENT
attr SolarDay fixedrange day
attr SolarDay label "Sunways NT 5000"
attr SolarDay plotmode SVG
attr SolarDay plotsize 600,300
attr SolarDay room Solaranlage
define SolarMonth weblink fileplot SolarLogM:nt5000m:CURRENT
attr SolarMonth fixedrange month
attr SolarMonth label "Sunways NT 5000"
attr SolarMonth plotmode SVG
attr SolarMonth plotsize 600,300
attr SolarMonth room Solaranlage
define SolarYear weblink fileplot SolarLogY:nt5000y:CURRENT
attr SolarYear fixedrange year
attr SolarYear label "Sunways NT 5000"
attr SolarYear plotmode SVG
attr SolarYear plotsize 600,300
attr SolarYear room Solaranlage