[Resolved] Cannot connect to Esprunio WiFi via WebIDE on OSX/Raspberry Pi/Debian Linux #4892
Replies: 1 comment
-
Posted at 2020-06-07 by PiOfThings Ooh... didn't know about chrome://device-log looks like Chrome is seeing the device... meh! Okay I am out of ideas now... P.S. On the linux machine I did add the rules as required from here https://github.com/espruino/Espruino/blob/master/misc/45-espruino.rules (and then rebooted for good measure). Attachments: Posted at 2020-06-08 by @gfwilliams When the LEDs are pulsing red and green it's in bootloader mode. So if you're just trying to connect it to write code to it you need to connect it to USB without holding the button down so no LEDs are lit. But you should still be able to connect... just not get any response from it. So that could be an issue, but if you're not seeing Also what's your Chrome/Chromium version? Are you definitely up to date? Posted at 2020-06-08 by PiOfThings Thanks @gfwilliams... Looks like Web Serial is no longer experimental in Chromium. It doesn't come up in flags. It does come up as enabled setting in Privacy. I think the only thing left for me to do is let the wolf into the henhouse - Install Chrome... Might take me a while to do that :-) That said this is only from OSX... I will try out my other machines and see if I can coax any of the Chromium versions to use Web Serial. Cheers. Attachments: Posted at 2020-06-09 by @gfwilliams You could just install the Chrome web app version: https://chrome.google.com/webstore/detail/espruino-web-ide/bleoifhkdalbjfbobjackfdifdneehpo Pretty sure that also works in Chromium - it uses an older API that is only accessible to Web apps. Not sure how long the Web Store will stick around as Google keep threatening to kill it, but I know it does work on raspberry pi. Posted at 2020-06-10 by PiOfThings W00t! Finally... yes, I installed the Chrome Web App on Chromium that comes with Raspberry Pi OS and it worked. LED1 is blinking! yay! P.S. Any chance of supporting Platform IO in the distant future? I am only just getting familiar with Platform IO, but in terms of how I flashed a Wemos earlier today, if we had "Espruino" available as a framework (Wemos for examples has three options Arduino, ESPRTOS, ESP-No-OS) to PlatformIO, we could write JS files and flash/transfer them over Serial ? P.P.S Still baffling that Chromium the browser still fails to connect to Webserial, even though the WebStore App can... oh well... Posted at 2020-06-11 by @gfwilliams Great - glad it's going! Odd about As I understand it PlatformIO is C/C++ only? So I'm not sure how that'd work with JS... Posted at 2020-06-11 by @gfwilliams Just FYI I tried this in Chromium on a Pi 3 here... I had to enable It displayed all connected USB serial devices - I'd have connected but it's sitting in the loft so I can't plug anything in :) Posted at 2020-06-11 by PiOfThings Many apologies for being thick as molasses! When I went to chrome://flags I kept looking for Web Serial... I thought flags were all about "experimental features" Sigh! You are right... Web Bluetooth and Serial comes up on Raspberry Pi and OSX once "Experimental Web Platform Features" are enabled. #doublefacepalm |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-06-07 by PiOfThings
I can't seem to connect my Espruino WiFi over USB via WebIDE. This is the first time I am trying since I got it in December.
I have tried all platforms I have at hand. The board is fine, I see it pulsing red and green. I see it when I list tty devices. COmes up as /dev/ttyACM0 on linux and /dev/tty.usbmodem00000000001A on OSX.
But on both (Desktop Linux/Raspbian or OSX) if I try Chromium, the web IDE just bails out with chrome.serial not found in the debugger window. I have been able to use Chromium to connect to WebBLE (atleast on OSX) so far and WebBLE still comes up on OSX. Chromium settings show no USB devices found.
I tried minicom on Linux but I have no idea how to proceed beyond the instructions here http://www.espruino.com/Alternative+Terminal+Apps I'll go figure it out.
But unless I can connect WebIDE. It seems like a massive hassle.
Anyone else having trouble with WebIDE and Espruino WiFi ?
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions