Skip to content

Help for Shelly DuoGU10 #20

@Sommi486

Description

@Sommi486

Good evening!

Can somebody help me how to configure the strings for a Shelly DuoGU10.
I´m totaly new to RegExp patterns or how to read strings of a status URL

What I get working already only to switch on and off:

"accessory": "HTTP-LIGHTBULB",
"name": "Light4Test",
"onUrl": "http://192.168.178.205/light/0?turn=on",
"offUrl": "http://192.168.178.205/light/0?turn=off",
"statusUrl": "http://192.168.178.205/status/0?turn",
"brightness": {
"setUrl": "http://192.168.178.205/light/0?brightness=100",
"statusUrl": "http://192.168.178.205/status/0?brightness"

Status URL does not work already an I have no idea how to get it work.

When I send the following string in browser:

http://192.168.178.205/light/0?turn=on

I get this back:

{"ison":true,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","red":255,"green":224,"blue":196,"white":169,"gain":86,"temp":3000,"brightness":100,"effect":0,"transition":0}

This is what I get with http://192.168.178.205/status/

{"wifi_sta":{"connected":true,"ssid":"MundMBackup","ip":"192.168.178.205","rssi":-76},"cloud":{"enabled":false,"connected":false},"mqtt":{"connected":false},"time":"21:51","unixtime":1647636682,"serial":111,"has_update":false,"mac":"483FDA928904","cfg_changed_cnt":28,"actions_stats":{"skipped":0},"lights":[{"ison":true,"source":"http","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"color","red":255,"green":224,"blue":196,"white":169,"gain":86,"temp":3000,"brightness":100,"effect":0,"transition":0}],"meters":[{"power":2.15,"is_valid":true,"timestamp":1647640282,"counters":[2.150, 2.150, 2.150],"total":1997}],"update":{"status":"idle","has_update":false,"new_version":"20220209-092333/v1.11.8-g8c7bb8d","old_version":"20220209-092333/v1.11.8-g8c7bb8d"},"ram_total":50816,"ram_free":37920,"fs_size":233681,"fs_free":158883,"uptime":804024}

Here are some informations about the Shelly DuoGU10
https://www.shelly-support.eu/forum/index.php?thread/772-sammlung-von-http-befehlen/&postID=26551#post26551
https://shelly-api-docs.shelly.cloud/gen1/#shelly-bulb-rgbw

Could please someone help me and create a syntax for this bulb?
Thank you so much for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions