435
you are viewing a single comment's thread
view the rest of the comments
[-] otter@lemmy.ca 11 points 2 months ago

Ah any reason why Firefox decided not to include WebSerial?

Maybe you don’t want to buy the Station, or you left it at home. In either event, you can simply plug the iron into your computer and configure it via WebSerial.

You’ll need a browser based on Chrome to pull this trick off, as Mozilla has decided (at least, for now) to not include the capability in Firefox. In testing, it worked perfectly on both my Linux desktop and Chromebook.

Unfortunately, plugging the iron into your phone won’t work, as the mobile version of Chrome does not currently support WebSerial. But given the vertical layout of the interface and the big touch-friendly buttons, I can only assume that iFixit is either banking on this changing soon or has a workaround in mind. Being able to plug the iron into your phone for a quick settings tweak would be incredibly handy, so hopefully it will happen one way or another.

The WebSerial interface not only gives you access to all the same settings as plugging the iron into the Power Station does, but it also serves as the mechanism for updating the firmware on the iron.

[-] seang96@spgrn.com 22 points 2 months ago

I believe this is one of those Google "F it I am going to make this protocol my own way without anyone else's input" which results in security concerns and also Mozilla prioritizes it being a browser more.

Searching serial looks like this is still the case. There are security and privacy concerns over it.

https://mozilla.github.io/standards-positions/

[-] SnotFlickerman@lemmy.blahaj.zone 24 points 2 months ago* (last edited 2 months ago)

For those not wanting go search:

Mozilla's Position

Devices that offer serial interfaces often expose powerful, low-level functions over the interface with little or no authentication. Exposing that sort of capability to the web without adequate safeguards presents a significant threat to those devices. A user deliberately installing a site-specific add-on may be adequate, given sufficiently understandable consent copy.


Seems reasonable to me.

[-] schizo@forum.uncomfortable.business 11 points 2 months ago

Good news, I guess?

https://github.com/kuba2k2/firefox-webserial

I've only used it to do some esp32 stuff with homeassistant, but it does work.

[-] rem26_art@fedia.io 4 points 2 months ago

I've also used this for the esp32 and firefox and it worked just fine in that case

this post was submitted on 12 Sep 2024
435 points (96.2% liked)

Technology

59626 readers
2340 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS