Go to file
2024-12-28 14:13:24 +01:00
__init__.py Small progress Working COmpilation 2024-12-27 12:21:33 +01:00
marlin2.cpp Possible FIxes 2024-12-28 14:13:24 +01:00
marlin2.h Possible FIxes 2024-12-28 14:13:24 +01:00
README.md Example ESPHome Yaml 2024-12-28 11:47:59 +01:00
sensor.py Fises 2024-12-27 22:23:54 +01:00

A component that reads CSV values from the uart.

A configured uart is required.

Configure a list of sensors. The index is required, the rest is the standard sensor config.

Example:

sensor:
  - platform: marlin2
    uart_id: uart_bus #optional
    bed_temperature:
      name: Current Bed Temp
    bed_set_temperature:
      name: Set Bed Temp
    ext_temperature:
      name: Current Ext Temp
    ext_set_temperature:
      name: Set Ext Temp
    print_progress:
      name: Progress
esphome:
  name: vasek-ender-3
  friendly_name: vasek-ender-3

external_components:
  - source: components

esp8266:
  board: d1_mini

# Enable logging
logger:
  baud_rate: 0
  esp8266_store_log_strings_in_flash: False

# Enable Home Assistant API
api:
  encryption:
    key: ""

ota:
  - platform: esphome
    password: ""

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  manual_ip:
    static_ip: 192.168.1.252
    gateway: 192.168.0.1
    subnet: 255.255.255.0

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Vasek-Ender-3 Fallback Hotspot"
    password: ""

captive_portal:

web_server:
  port: 80
  version: 3
  
uart:
  id: uart_bus
  tx_pin: GPIO1
  rx_pin: GPIO3
  baud_rate: 115200

switch:
  - platform: restart
    name: "Restart Printer"

sensor:
  - platform: uptime
    type: seconds
    name: Uptime Sensor

  - platform: marlin2
    uart_id: uart_bus
    bed_temperature:
      name: Current Bed Temp
    bed_set_temperature:
      name: Set Bed Temp
    ext_temperature:
      name: Current Ext Temp
    ext_set_temperature:
      name: Set Ext Temp