Thank you.
Shelly Duo
Einklappen
X
-
Shelly Duo
Hello, i have a question regarding shelly duo output virtual command. The on off command works fine but i cant seem to have the brightness and output commands to work, i think its a problem with the command writing. Does anyone have a working command for brightness and temperature control of the shelly duo in loxone?
Thank you.Stichworte: - -
What protocol?
With MQTT, you’ll have to publish a json with the values:
Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine -
Simply paste the example json AFTER the topic in the VO Command as a first test.
You can use the Quick Publisher in LoxBerry for testing.
I’ve no example, but possibly there is one in the Shelly article in LoxWiki.euZuletzt geändert von Christian Fenzl; 05.04.2024, 09:52.Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraineKommentar
-
Thats what i have tried but it does not seem to work:
The output command for on is:
shellies/ShellyBulbDuo-<deviceid>/light/0/set {\r\n "brightness": 100, /* brightness, 0..100 */\r\n "white": 0, /* white level, 0..100 */\r\n "temp": 2700, /* color temperature in K, 2700..6500 */\r\n "turn": "on", /* "on", "off" or "toggle" */\r\n "transition": 500 /* One-shot transition, `0..5000` [ms] */\r\n}
There must be something wrong with the written command and i couldnt find any other resources to help.
-
-
You have to remove the comments from the example!Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraineKommentar
-
tried it, still doesnt work: shellies/ShellyBulbDuo-<deviceid>/light/0/set {\r\n "brightness": 100, "white": 0,"temp": 2700, "turn": "on","transition": 500 , `0..5000` [ms] \r\n}.
The VO command is not compatible with the json format, the json must be turned into http command i think
Unfortunately there is no available forum or tutorial for such issue.
-
-
-
If you want to turn on the light with specific brightness and temperature in one command:
bash
http://<IP-OF-SHELLY>/light/0?turn=on&brightness=75&temp=4000 SprunkiKommentar
-
For Shelly Duo brightness and temperature control in Loxone:
Brightness (0-100%):
http://<IP>/light/0?brightness=<VALUE>&turn=on&auth=<USER:PASS>
Temperature (2700-6500K):
http://<IP>/light/0?temp=<KELVIN>&turn=on&auth=<USER:PASS>
Replace:- <IP> = Shelly's IP
- <VALUE> = 0-100
- <KELVIN> = 2700-6500
- <USER:PASS> = username
assword (e.g., admin:12345)
Example:
hope to help you
Jumpshot Guesser
Timeless Jewel Calculator
Grow A Garden CalculatorZuletzt geändert von Kuke698; 26.06.2025, 05:41.Kommentar
-
-
-
-
Kommentar
-
For Shelly Duo in Loxone, the ON/OFF commands work with virtual outputs, but brightness and temperature also need the correct HTTP calls. You can do this via the Shelly light/0 endpoint, for example:- Switch: http://<IP>/light/0?turn=on or http://<IP>/light/0?turn=off
- Brightness: http://<IP>/light/0?brightness=50 (range 0–100)
- Temperature: http://<IP>/light/0?temp=2700 (in Kelvin, e.g. 2700–6500 depending on Shelly Duo’s range)
In Loxone, simply configure these URLs as virtual output commands, and you’ll have full control of switching, dimming, and color temperature.
BloodMoney! LoveMoneyZuletzt geändert von pugoing; In den letzten 4 Wochen.Kommentar
-
You’re right that Shelly Duo’s brightness and color temperature controls use different parameters than the simple on / off output commands.
For Loxone, you can use HTTP GET requests (virtual outputs) with the correct Shelly API endpoints. Here are working examples:
💡 Turn ON / OFF (already working)
http://<IP_ADDRESS>/light/0?turn=on http://<IP_ADDRESS>/light/0?turn=off
🌗 Set Brightness (0–100%)
http://<IP_ADDRESS>/light/0?brightness=50
➡️ Sets brightness to 50%.
🌤️ Set Color Temperature (Kelvin)
http://<IP_ADDRESS>/light/0?temp=4000
➡️ Sets white color temperature to 4000 K.
Valid range is roughly 2700–6500 K, depending on your model.
⚙️ Combined Example
You can also combine them in a single request:
http://<IP_ADDRESS>/light/0?turn=on&brightness=80&temp=3500
✅ Notes- Replace <IP_ADDRESS> with your Shelly Duo’s local IP (e.g. 192.168.1.55).
- Use GET requests in your Loxone “Virtual Output Command.”
- If nothing happens, check:
- That the Shelly device is on the same network as the Loxone.
- The URL includes http:// (not HTTPS).
- No authentication is required (or include user/pass if you set it).
Kommentar
Kommentar