adonno / tagreader

Simple to build/use NFC tag reader, specially created for Home Assistant
https://adonno.com
GNU General Public License v3.0
1.13k stars 176 forks source link

Unable to write config from ESPHome #175

Open limp15000 opened 1 year ago

limp15000 commented 1 year ago

Hi, had an ESP32 board laying around so I tried adapting the config to read tags. This is the error I am getting when installing wirelessly or connected via USB. Any idea as to what I may be doing wrong ? Many thanks :) My board type is esp32: board: esp32dev framework: type: arduino

INFO Reading configuration /config/esphome/musicmachine.yaml... Failed config

substitutions: None name: tagreader friendly_name: TagReader

Must be string, got <class 'bool'>. did you forget putting quotes around the value?. name_add_mac_suffix: True project: name: adonno.tag_reader version: 1.4 on_boot: priority: -10 then:

adonno commented 1 year ago
substitutions:
  devicename: tagreader32
  friendly_name: TagReader32

esphome:
  name: $devicename
  platform: ESP32
  board: esp-wrover-kit

let me know if that solves the issue

seedstohr commented 1 year ago

I want to add that I had to make additional changes to get this to work with an ESP32. I needed to change the pins to GPIO and the buzzer platform to ledc.

FROM

output:

TO

output:

and

FROM

light:

TO

light: