TypeError: Failed to parse URL from undefined/v2/user/login
at Object.fetch (node:internal/deps/undici/undici:11600:11)
at async login (C:\Users\diese\ewelink.js:46:20) {
[cause]: TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:405:5)
at new URL (node:internal/url:778:13)
at new Request (node:internal/deps/undici/undici:7150:25)
at fetch2 (node:internal/deps/undici/undici:10737:25)
at Object.fetch (node:internal/deps/undici/undici:11598:18)
at fetch (node:internal/process/pre_execution:274:25)
at login (C:\Users\diese\ewelink.js:46:26) {
input: 'undefined/v2/user/login',
code: 'ERR_INVALID_URL'
RF bridge translates signals from RF to Wifi. I am not sure if it has any meaning within smartthings . What would you be able to do if RF Bridge is added ?
Interesting. I do not have a RF bridge. To add any device we will have to listen to mDNS broadcasts and if they are encrypted we will have to download the associated device key. I typically work on a linux VM on my windows machine so access all linux tools. I do not know of any good windows mDNS client though a python script can do well. I can mash up a python script to listen to mDNS or look around to find something for windows. maybe you can use avahi on WSL?
mDNS = Zeroconf = Bonjour = DNS-SD