Themen

KI

einige links zur durchführung

kapitel

  • 25/27 :: der prompt aller prompts
  • 30: frag mich nach mehr kontent & nenne mir konkrete fragen die ich stellen kann wenn du mehr informationen benötigst

e-mobil + victron + enphase + homeassistant

  1. installiere node-red auf victron & importiere :: nr_victron.json
  2. auf dem homeassistant server importiere nr_HA.json in node-red
  3. go-e charger integration für HA & doku des entwicklers
  4. installiere mg/SAIC integration
  5. api doku für go-e api
  6. wenn das auto geladen ist 
  7. ein beispiel
  8. steuerungsideen

Code 2


int roteLED = 8; // Variable um überal auf den pin der roteLED zugreifen zu können
int grueneLED = 6;

// Setup
// Wird einmal beim starten ausgeführt
void setup() {
  pinMode(roteLED, OUTPUT);     // Setze den Modus von pin roteLED auf OUTPUT(Ausgabe)
  pinMode(grueneLED, OUTPUT);
}

// Loop
// Läuft immer wieder durch (Unendlich lang)
void loop() {
  digitalWrite(roteLED, HIGH);  // Schalte pin roteLED ein (HIGH oder 1)
  delay(1000);                  // Warte 1000 Milisekunden = 1 Sekunde
  blinken(grueneLed, 200);
  digitalWrite(roteLED, LOW);   // Schalte pin roteLED aus (LOW oder 0)
  delay(500);                  // Warte 1000 Milisekunden = 1 Sekunde
}

// funktion mit 2 parameter
void blinken(int welcheLED, int blinkDauer) {
  for (int i = 0; i < 3; i++) {
    digitalWrite(welcheLED, HIGH);
    delay(blinkDauer);
    digitalWrite(welcheLED, LOW);
    delay(blinkDauer);
  }
}




int roteLED = 8; // Variable um überal auf den pin der roteLED zugreifen zu können
int grueneLED = 6;

// Setup
// Wird einmal beim starten ausgeführt
void setup() {
  pinMode(roteLED, OUTPUT);     // Setze den Modus von pin roteLED auf OUTPUT(Ausgabe)
  pinMode(grueneLED, OUTPUT);
}

// Loop
// Läuft immer wieder durch (Unendlich lang)
void loop() {
  digitalWrite(roteLED, HIGH);  // Schalte pin roteLED ein (HIGH oder 1)
  delay(1000);                  // Warte 1000 Milisekunden = 1 Sekunde
  blinken(grueneLed, 200);
  digitalWrite(roteLED, LOW);   // Schalte pin roteLED aus (LOW oder 0)
  delay(500);                  // Warte 1000 Milisekunden = 1 Sekunde
}

// funktion mit 2 parameter
void blinken(int welcheLED, int blinkDauer) {
  for (int i = 0; i < 3; i++) {
    digitalWrite(welcheLED, HIGH);
    delay(blinkDauer);
    digitalWrite(welcheLED, LOW);
    delay(blinkDauer);
  }
}

node-red :: flowfuse : dashboard2

Victron Akku laden

 

  • unabhängigkeitsrechner
  • PV forecast
  • günstig laden mit aWattar & NodeRed
  •  https://www.youtube.com/watch?v=yo6W1ZxcPY8
  • https://www.google.at/search?q=Dynamic+ess
  • https://www.victronenergy.com/live/drafts:dynamic_ess
  • https://github.com/victronenergy/dynamic-ess
  • https://www.youtube.com/@SchattenPV/videos
  • https://www.youtube.com/watch?v=WMfveQONOkc
  • https://www.youtube.com/watch?v=qZesRt9Jos8
  • https://sun.langheiter.at/

amazon

Homeassistant Docker

  1. homeassistant via docker-compose.yml installieren :: https://www.home-assistant.io/installation/linux#docker-compose
  2. hacs installieren :: https://www.youtube.com/watch?v=DbXRtTpwHrA
    wget -O – https://get.hacs.xyz | bash –

 

3d-modelle

3d & co

  • gcode marlin
  • octoprint via docker 
    • sudo ls /dev | grep ttyUSB|ttyACM == drucker
    • sudo v4l2-ctl --list-devices == cameras
    • multiple octoprint instances with portainer
      version: '2'
      volumes:
        octoprint-1:
        octoprint-2:
      services:
        ghost5:
          image: octoprint/octoprint
          ports:
          #Port to reach octoprint that will control PRINTER #1
            - 5001:80
          devices:
          #Printer that belongs to ghost5 container (PRINTER #1)
            - /dev/ttyUSB0:/dev/ttyUSB0
          #WebCam that belongs to ghost5 container (WEBCAM #1)
            - /dev/video0:/dev/video0
          volumes:
            - octoprint-1:/home/octoprint/.octoprint
          environment:
            #Define the quality of the stream from the WEBCAM #1
            - MJPG_STREAMER_INPUT=-n -r 1280x720 -f 30
            #Enable the stream of the WEBCAM #1
            - ENABLE_MJPG_STREAMER=true
          restart: always
        prusa:
          image: octoprint/octoprint
          ports:
          #Port to reach octoprint that will control PRINTER #2
            - 5002:80
          devices:
          #Printer that belongs to prusa container (PRINTER #2)
            - /dev/ttyACM0:/dev/ttyACM0
          #WebCam that belongs to prusa container (WEBCAM #2)
            - /dev/video2:/dev/video0
          volumes:
            - octoprint-2:/home/octoprint/.octoprint
          environment:
            #Define the quality of the stream from the WEBCAM #2
            - MJPG_STREAMER_INPUT=-n -r 1280x720 -f 30
            #Enable the stream of the WEBCAM #2
            - ENABLE_MJPG_STREAMER=true
          restart: always
  • prusa slicer
  • ultimake-cura slicer 

PHP