I thought it would be cool to control a LED diode with HA. First, I connected it to my Arduino. I loaded a script called Firmata. Intro the config file i wrote this:
firmata:
- serial_port: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0043_55736303739351811011-if00
lights:
- name: my_dimmable_light
pin_mode: PWM
pin: 13
```but I got an error:```
Logger: homeassistant.components.firmata.config_flow
Source: components/firmata/config_flow.py:41
integration: Firmata (documentation, issues)
First occurred: 11:11:57 AM (1 occurrences)
Last logged: 11:11:57 AM
Error connecting to PyMata board serial-/dev/serial/by-id/usb-Arduino__www.arduino.cc__0043_55736303739351811011-if00: Invalid Arduino ID reply length```
Things to mention:
- HA is running on Raspberry Pi 3
- Arduino UNO
- Led on pin 13
- I'm new to home assistant