screekworkshop / screek-human-sensor

137 stars 29 forks source link

ID 'uart1' is reserved internally and cannot be used #3

Closed rajil closed 1 year ago

rajil commented 1 year ago

Another compile error,

Failed config

uart: [source screek-humen-dectet-1u.yaml:114]
  - 
    ID 'uart1' is reserved internally and cannot be used.
    id: uart1
    tx_pin: GPIO18
    rx_pin: GPIO33
    baud_rate: 256000
    parity: NONE
    stop_bits: 1

uart1 is now reserved as per this.

screekworkshop commented 1 year ago

https://github.com/screek-workshop/screek-human-sensor/tree/main/1u/yaml/with_uart_output

We offer two options, one with serial support (very strict for esphomed version because of modified uart library) and one with disabled serial support. Basic tests are done for both codes. It also includes a solution to this uart problem.