rstrouse / ESPSomfy-RTS

A controller for Somfy RTS shades and blinds
The Unlicense
568 stars 39 forks source link

Read Log over usb serial on HA #482

Open UsefulVid opened 1 month ago

UsefulVid commented 1 month ago

I have wifi connections problems with my ESP which runs ESPsomfy. This may be more of a question and not feature request: How can I read the serial log of my device? I can do it on my windows device with chrome browser but I need to run it 24/7 to reproduce the issue. On my synology nas it seems to have a general problem with the usb port, it keeps crashing after start. On the Rpi 4 with HA running it does not show any output:

[130776.676370] usb 1-1.2: new full-speed USB device number 6 using xhci_hcd
[130776.781822] usb 1-1.2: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[130776.781843] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[130776.781848] usb 1-1.2: Product: CP2102 USB to UART Bridge Controller
[130776.781853] usb 1-1.2: Manufacturer: Silicon Labs
[130776.781857] usb 1-1.2: SerialNumber: 0001
[130776.787500] cp210x 1-1.2:1.0: cp210x converter detected
[130776.791265] usb 1-1.2: cp210x converter now attached to ttyUSB1
[core-ssh ~]$ cat /dev/ttyUSB1