-
|
Hallo Landopietsch, ich möchte auch gerne solectrus das jetzt auf einen Raspberry läuft auf Proxmox umziehen, habe auf proxmox schon einen Docker VM Schon mal Vielen Dank |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
|
Soweit ich @landopietsch in #4082 verstanden habe, hat er keine VM in Proxmox installiert, sondern über das Konstrukt der "Helper Scripte" eine Docker-Umgebung nutzbar gemacht: Die Container lauf dann direkt auf dem Proxmox-Host - das ist eine schlanke Lösung, man spart sich den Betreuungsaufwand einer VM. Man kann aber natürlich auch eine Linux-VM installieren (z.B. Ubuntu). Eine wasserdichte Schritt-für-Schritt-Anleitung mit einzelnen Befehlen zu geben, wäre eine größere Aufgabe. Vielleicht kommst du erst mal mit dieser allgemeinen Anleitung für einen Server-Umzug für SOLECTRUS zurecht: Zum Kopieren von Dateien von einem Linux-Host (wie dem Raspberry) verwendet man meist |
Beta Was this translation helpful? Give feedback.
-
|
OK, Danke dir Georg, |
Beta Was this translation helpful? Give feedback.
-
|
Hallo Georg, Danke dir |
Beta Was this translation helpful? Give feedback.
-
|
Hallo Georg, Hier die Datei: starting serial terminal on interface serial0 The programs included with the Debian GNU/Linux system are free software; Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent A self-sufficient runtime for containers Common Commands: Management Commands: Swarm Commands: Commands: Global Options: Run 'docker COMMAND --help' for more information on a command. For more help on how to use Docker, head to https://docs.docker.com/go/guides/ Generic################################################################## TZ=Europe/Berlin ################################################################## Dashboard application################################################################## Domain name or IP address of your hostAPP_HOST=192.168.178.155 Date of commissioning of your photovoltaic systemINSTALLATION_DATE=2023-02-24 Password to login as administrator, required to manage settings like historical pricesADMIN_PASSWORD=Topspin2304 Interval in seconds for polling the InfluxDBINFLUX_POLL_INTERVAL=5 SSL redirect: Use "true" if you want to auto-redirect to https, but ensure that you have a valid SSL certificateand a reverse proxy in front of the app!In all other cases, the option must be "false"!FORCE_SSL=false Secret token to secure cookies, 128 chars long hexadecimal encoded stringSECRET_KEY_BASE=0bb56ba2a9e4abdd1590ba68bbac4a971e238f79600e2a6a7e99ac4a3392dc6285a090f0ff283f6594db3c402fef97a6e802ab93eca859c108a6ea36e4d29c7e Start web server Puma in single mode (recommended to reduce memory usage)WEB_CONCURRENCY=0 Optional: Allow iframe embeddingFRAME_ANCESTORS=https://my-other-home-automation-software.comOptional: Set factor to calculate CO2 emissions (default: 401 g/kWh)CO2_EMISSION_FACTOR=500Password for the PostgreSQL database, used by the app to communicate internally with the databaseCaution: Do not change this after the first run, otherwise the app will no longer be able to connect to the database!POSTGRES_PASSWORD=my-secret-db-password ################################################################## Sensor mapping################################################################## Where to find the data in the InfluxDBEach sensor must be mapped to a measurement and a fieldThe format is: INFLUX_SENSOR_NAME=MEASUREMENT:FIELDExample: INFLUX_SENSOR_INVERTER_POWER=my_pv:inverter_powerINFLUX_SENSOR_INVERTER_POWER=SENEC:inverter_power Optional: Exclude sensors from house power calculationDefault is HEATPUMP_POWER (if defined)INFLUX_EXCLUDE_FROM_HOUSE_POWER=HEATPUMP_POWER ################################################################## SENEC Collector################################################################## The adapter to useValues: local, cloudSENEC_ADAPTER=local The IP address or hostname of your SENEC deviceAvailable only when using the local adapterSENEC_HOST=192.168.178.90 The schema protocol to useAvailable only when using the local adapterValues: http, httpsSENEC_SCHEMA=https The language to use for status stringsAvailable only when using the local adapterValues: de, en, itSENEC_LANGUAGE=de The credentials for mein-senec.deAvailable only when using the cloud adapterSENEC_USERNAME=me@example.comSENEC_PASSWORD=my-senec-passwordThe system ID of your SENEC deviceAvailable only when using the cloud adapterCan be empty if there is just one systemSENEC_SYSTEM_ID=123456The interval in seconds for pollingMinimum for local adapter is 5 secondsMinimum for cloud adapter is 30 secondsSENEC_INTERVAL=5 Measurement name for InfluxDBINFLUX_MEASUREMENT_SENEC=SENEC Optional: Disable specific fields you do not want to send to InfluxDB.This can be useful if you are tracking them from another source.Comma separated list of fields, no whitespace. Example:SENEC_IGNORE=wallbox_charge_power,grid_power_minus################################################################## Shelly Collector################################################################## IP of your Shelly deviceSHELLY_HOST=192.168.178.130 Alternative use the Shelly cloud:Get Server, Auth_Key and device_id from https://control.shelly.cloudSHELLY_CLOUD_SERVER=https://shelly-42-eu.shelly.cloudSHELLY_AUTH_KEY=the-long-auth-keySHELLY_DEVICE_ID=12345abcdef0Interval in seconds to get data from ShellySHELLY_INTERVAL=5 Measurement name for InfluxDBINFLUX_MEASUREMENT_SHELLY=heatpump ################################################################## MQTT Collector################################################################## MQTT Broker credentialsMQTT_HOST=192.168.178.157 MappingsIndex of the mappings, starting with 0Example:MAPPING_0_TOPIC=example-device/0/ENERGY/INVERTER_POWERMAPPING_0_MEASUREMENT=EXAMPLEMAPPING_0_FIELD=inverter_powerMAPPING_0_TYPE=integer # One of integer, float, string, booleanMAPPING_1_TOPIC=example-device/0/ENERGY/BAT_CHARGE_POWERMAPPING_1_MEASUREMENT=EXAMPLEMAPPING_1_FIELD=battery_charging_powerMAPPING_1_TYPE=float...MAPPING_0_TOPIC=evcc/loadpoints/1/vehicleSoc ################################################################## Power Splitter################################################################## Interval in seconds to run the calculation (default: 3600, min: 300)POWER_SPLITTER_INTERVAL=3600################################################################## Forecast collector################################################################## FORECAST_PROVIDER=solcast Number of planes (if you have more than one). Default is 1. Forecast.solar allows up to 4 planes, Solcast up to 2.FORECAST_CONFIGURATIONS=1 Update interval in secondsFORECAST_INTERVAL=8640 Measurement name for InfluxDBINFLUX_MEASUREMENT_FORECAST=forecast Details for forecast.solarAPI docs: https://doc.forecast.solar/doku.php?id=api:estimateLatitude of the plant locationFORECAST_LATITUDE=50.12345Longitude of the plant locationFORECAST_LONGITUDE=6.12345Plane declination: 0 (horizontal) - 90 (vertical)FORECAST_DECLINATION=30Plane azimuth: -180 ... 180 (-180 = north, -90 = east, 0 = south, 90 = west, 180 = north)FORECAST_AZIMUTH=20Installed modules power in kilowatt peak (kWp)FORECAST_KWP=8.4Optional damping factors (http://doc.forecast.solar/damping)FORECAST_DAMPING_MORNING=0.5FORECAST_DAMPING_EVENING=0Optional configuration for multiple planesStarting from 0, add params different from the values defined aboveFORECAST_0_DECLINATION=35FORECAST_0_AZIMUTH=-180FORECAST_0_KWP=5.32FORECAST_1_DECLINATION=38FORECAST_1_AZIMUTH=-90FORECAST_1_KWP=5.32FORECAST_2_DECLINATION=50FORECAST_2_AZIMUTH=0FORECAST_2_KWP=7.84FORECAST_3_DECLINATION=50FORECAST_3_AZIMUTH=90FORECAST_3_KWP=2.58Available params are:- FORECAST_x_LATITUDE- FORECAST_x_LONGITUDE- FORECAST_x_DECLINATION- FORECAST_x_AZIMUTH- FORECAST_x_KWP- FORECAST_x_DAMPING_MORNING- FORECAST_x_DAMPING_EVENINGOptional API key for registered users of forecast.solar (https://doc.forecast.solar/account_models)FORECAST_SOLAR_APIKEY=abc123Details for solcast.comSOLCAST_APIKEY=hTkccPfXDvrl0iMolObxAAa78PvObs2P SOLCAST_0_SITE=b219-90e4-09da-a20a SOLCAST_1_SITE=5555-6666-7777-8888################################################################## InfluxDB time series database################################################################## InfluxDB hostINFLUX_HOST=influxdb InfluxDB schema (http or https)INFLUX_SCHEMA=http InfluxDB portINFLUX_PORT=8086 Credentials for the InfluxDB, don't change after the first run!INFLUX_ORG=solectrus Set these names before first run, they can't be changed later!INFLUX_BUCKET=solectrus To keep things simple, we use ONE token (INFLUX_ADMIN_TOKEN) for both writing and reading.For better security, you can use two separate tokens, created via the InfluxDB frontend.INFLUX_TOKEN_WRITE=my-super-secret-admin-token Volume path for storing the InfluxDB dataINFLUX_VOLUME_PATH=./influxdb ################################################################## PostgreSQL database################################################################## Volume path for storing the PostgreSQL dataDB_VOLUME_PATH=./postgresql ################################################################## Redis in-memory database################################################################## Volume path for storing the database snapshotREDIS_VOLUME_PATH=./redis URL of the Redis databaseREDIS_URL=redis://redis:6379/1 |
Beta Was this translation helpful? Give feedback.
-
|
Hallo Opa62, |
Beta Was this translation helpful? Give feedback.
-
|
Danke für die Info, |
Beta Was this translation helpful? Give feedback.
Soweit ich @landopietsch in #4082 verstanden habe, hat er keine VM in Proxmox installiert, sondern über das Konstrukt der "Helper Scripte" eine Docker-Umgebung nutzbar gemacht:
https://tteck.github.io/Proxmox/#docker-lxc
Die Container lauf dann direkt auf dem Proxmox-Host - das ist eine schlanke Lösung, man spart sich den Betreuungsaufwand einer VM. Man kann aber natürlich auch eine Linux-VM installieren (z.B. Ubuntu).
Eine wasserdichte Schritt-für-Schritt-Anleitung mit einzelnen Befehlen zu geben, wäre eine größere Aufgabe. Vielleicht kommst du erst mal mit dieser allgemeinen Anleitung für einen Server-Umzug für SOLECTRUS zurecht:
https://docs.solectrus.de/wartung/server-umzug
Zum Kopier…