Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSerial DOMException: Failed to execute 'setSignals' on 'SerialPort': Failed to set control signals. #341

Open
maitredede opened this issue Mar 1, 2023 · 1 comment

Comments

@maitredede
Copy link

The problem

Hello,

I am trying to flash my esp32-cam from my brower (chrome linux amd64), but I have a DOMException: Failed to execute 'setSignals' on 'SerialPort': Failed to set control signals.

I have same problem with ESPHome addon for HA, or https://web.esphome.io/.

Which version of ESPHome has the issue?

2023.2.4

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2023.2.5

What platform are you using?

ESP32

Board

esp32-cam

Component causing the issue

WebSerial

Example YAML snippet

No response

Anything in the logs that might be useful for us?

OS : Linux selfme 5.10.0-21-amd64 esphome/issues#1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
Browser : Google Chrome Version 111.0.5563.41 (Build officiel) beta (64 bits)
USB to TTL adapter : https://www.adafruit.com/product/954

Serial port is mounted as `/dev/ttyUSB0`, with owner `root:dialout` and perms `rw-rw----`. My current user is member of group `dialout`.

Steps with https://web.esphome.io/ :
- "Connect" : select `/dev/ttyUSB0`, "Connexion" => OK.
- "Prepare for first use", confirmation "Install", => DOMException

Browser logs :

esptool.js v0.1-dev
Serial port WebSerial VendorID 0x67b ProductID 0x2303
Connecting...
DOMException: Failed to execute 'setSignals' on 'SerialPort': Failed to set control signals.
_handleInstall @ c.d9c8b285.js:53
await in _handleInstall (asynchrone)
firstUpdated @ c.d9c8b285.js:53
_$AE @ index-05774b90.js:1
performUpdate @ index-05774b90.js:1
scheduleUpdate @ index-05774b90.js:1
_$E_ @ index-05774b90.js:1
await in _$E_ (asynchrone)
requestUpdate @ index-05774b90.js:1
o @ index-05774b90.js:1
v @ index-05774b90.js:1
rt @ index-05774b90.js:1
f @ c.d9c8b285.js:1
(anonyme) @ index-05774b90.js:1
(anonyme) @ index-05774b90.js:1
o @ index-05774b90.js:1
(anonyme) @ c.d9c8b285.js:90


### Additional information

_No response_
@ssieb ssieb transferred this issue from esphome/issues Mar 1, 2023
@swaftrade
Copy link

I have the same problem.
Have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants