Thanks a lot! Turns out my mistake was that i went to https://shelly-api-docs.shelly.cloud/ and assumed my Shelly Dimmer 2 is a Second Generation Shelly. works as expected now
Beiträge von lpeschko
-
-
I just got a Shelly for the first time for a project, ive read the docs and dug through the shelly-api-docs.shelly.cloud docs, but i cant find any simple and concise information on how to actually get started with the API.
Ive never used RPC before, i looked some stuff up, but id prefer to just use a normal HTTP REST API.
When i do as the guide says (https://shelly-api-docs.shelly.cloud/gen2/General/RPCChannels / https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Shelly/)
So i do a simple Request to http://192.168.33.1/rpc/Shelly.ListMethods and provide my basic auth. But i always get back "404 Not found"? The webUI of course works and i can ping it too. Obviously i missunderstood or forgot something very basic, but going through the config in the webUI, i cant figure out what i could possible have done wrong, the data sheet sounded like HTTP Requests are supposed to work out of the box?
So am i confusing things and Shelly Dimmer 2 does not actually support HTTP REST API calls, but only RPC?
Thanks in advance!