I have a flow according to the picture, a fictitious switch is switched on when the electricity price is low and it is switched off when the price is high, this works. I then use this switch to trigger a new flow that will perform a webrequest, change a status in my ev charger (Zappi from MyEnergi)
If I type the URL in the browser’s address field, the change takes place in the ev charger, but when I trigger the flow, noting happens in my ev charger.
I use Method GET, because I have beeb told that it’s the same as when I enter the url in a web browser?
Are you using the same urk with credentials in the browser? Or do you log in separately there? Could be that the site does not allow this login method.
I use the exact sam URL. Both in browser and in the flow. I have tested the URL I a PC I never ever loged in in any homey or MyEnergi related sites, and I even used the browser in incognito mode.
Perhaps the MyEnergi website requires certain headers to be set
EDIT: looking at the response from the MyEnergi website, it looks like it requires Digest authentication instead of Basic. I think that browsers will automatically “upgrade” a connection and retry if the used authentication method isn’t correct, but the Logic card won’t (and it doesn’t support Digest authentication AFAIK).
You’re probably going to have to abandon the hope of getting it working using Logic cards. Perhaps one of the more advanced HTTP apps (Advanced Rest Client or HTTP Request flowcards) can handle Digest authentication.