Okay, so the problem may be an authentication.
Yes, you need to encode all the username and password BUT… (Thanks again to you) I updated the widget so that you simply need to put your username and password normally and the code will encode for you, forget about character encoding and headache
Please, try with the new code and tell me! BTW first try to conect with the browser so we can rule out future problems.
If you want to test with the browser first, I create a script for you that will encode to get the URL you should use. Add a new script file in Scriptable and paste this
// Define your user and passwork normally
var user = 'email@example.com'
var password = 'super,?pass'
var user_tobrowser = encodeURIComponent(user)
var pass_to_browser = encodeURIComponent(password)
console.log('User to use in browser: ' + user_tobrowser)
console.log('Password to use in browser: ' + pass_to_browser)
Once executed, in the scriptable log you will see your username and encrypted password that you will place in your browser
Yeah You guessed my next widget … honestly my idea was to use icons instead of text to know the status, for example: “light” → lamp icon, with colors. This weekend, I’ll move on with that
Another idea of mine … I developed a group of services and I would like to know its status on my iphone, there will also be a new widget with dynamic icons.
Although I think the idea is correct, I do not know if the code is correct but leave me a few days, maybe hours (I am impulsive) and we will solve it.
Well I think this is the longest answer in the community… I think I deserve a Simpsons episode! Regards