Trying to connect an EmonTx5 via serial to the web serial tool without success:
I have 3 machines, unfortunately all Manjaro linux so no variation there, 2 laptops and one desktop. I am able to connect the EmonTX via USB C to USB A cable to all, navigate to the web serial tool and connect the the USB device. If the USB cable is removed, the device disappears, when its reconnected it re appears. However after connecting and setting the device listed as “paired”, nothing further happens.
The serial interface just remains at “Waiting for configuration from device…” for over 10min.
I have tried multiple USB cables in multiple ports - though as mentioned, the emonTx5 appears to at least visible to the web serial portal so not sure its a cable issue.
Anyone had success with the serial page and the emonTx5? Anything different you’ve had to do?
OS: Manjaro, linux
Browser: Edge, Opera, Chrome all tried, all connect to device, all wait for configuration
Have you searched the forum here? I can vaguely remember something about a problem with USB-C and USB-A adapters, I can’t remember any details or when. I’ll try looking for you later.
Yep, there was a conversation around people trying to use USB C to USB C - the solution was to use USB C to USB A to USB A to USB C.
But in those instances they weren’t able to see the device at all.
I’m just using standard USB C to USB A cables as is recommended approach, and I can see the device, I can click the connect button and the website appears to be paired to the device, I’m just not getting anything after that point.
I don’t think I can help much. I’ve used Ubuntu Linux for years, I’ve never had a problem with the serial connection, but then I’ve always used either the Arduino IDE or something like Minicom or Picocom.
I guess there’s 2 things you could possibly confirm if you don’t mind:
have you used the EmonTx5 with either arduino or web serial?
do you have a good link or could you share details on your setup for Arduino IDE serial with EmonTx5’s? I’m somewhat experienced with esp8266 dev through arduino IDE but the guidance here: Configuration — OpenEnergyMonitor 0.0.1 documentation
Isnt really giving me a starting point for board setup etc in Arduino IDE, if its even relevant to Tx5.
I haven’t got an emonTx5, but as far as I know, it’s all but identical to the emonTx4. This won’t be true for the next generation using the “emon32” software on the Microchip ATSAMD family processor.
What are you trying to do, upload a new sketch or ‘on-line’ configure a running emonTx5?
I’ve just tried the on-line tool openenergymonitor.org/serial
Using Firefox, nothing happens, not even when I click “Connect”.
Using Chromium, I click “Connect” and then nothing happens, with “No compatible devices found”.
Firefox isnt supported the docs say, chrome, edge and opra are - ive gone to the effort of tarnishing linux with all three just to ensure thats not the issue with no success.
Ill try picomm thanks. Sounds like this could be a bigger issue if the web serial isnt also working for an experienced user?
The command to start Picocom maps things so that you shouldn’t need to interact again with Picocom, except to exit [Ctrl-A]+[Ctrl-X].
[Enter] after your ? or l etc works for me, else it’s [Ctrl-J] to end (since Trystan changed it from the time-immemorial cr/lf to lf only.
Just a question (probably irrelevent - I have never used the web tool) - the web tool is documented in the emonTx4 configuration docs but not mentioned in the emonTx5 docs - is there a missing section in the emonTx5 docs, or as above, does the web tool not work on the emonTx5?
Theres something missing then. 2 of us able to use linux and picocom to interface serially but unable to get past “Waiting for configuration from device…” without any error messages and with the device being paired on the web serial.
As far as I can tell usage on linux with chrome using a USB C to USB A cable really doesn’t have any complexity behind it so there’s not much to get wrong from a user perspective.