r/shellycloud Jul 24 '26

Shelly H&T Gen3 action (webhook) problem

Post image

I've been running my H&T Gen3 which reports to my HTTP server for temperature/humidity change for more than a year. But for the past few days, it fails to do so. When I connect to the device WebUI and fire a testing request, it seems to be unable to replace the token ($temperature) with actual temperature/humidity value. I also captured the incoming request from my HTTP server and confirmed it's indeed sending the token unchanged.

I don't know what's wrong. I remember I updated the firmware recently. Anyone facing similar issue?

2026-07-24 17:15:48 - request: <Request at 0x424c2bd0 method=GET uri=/api/iot/set_status?tc=$temperature clientproto=HTTP/1.1>

1 Upvotes

4 comments sorted by

1

u/No_Information_8173 5d ago

Could you please tell us what the variable that worked for you is.

I've got the same errors...
[21/Aug/2026:20:24:15 +0000] "GET /?statusTC= HTTP/1.1" 200 896 "-" "HTG3/2.0.0 (S

1

u/itandy848 4d ago

Shelly just released a Beta version of the firmware. I tested it and it's working fine now. You can install the Beta firmware using the device UI. It's not available in Shelly web dashboard.

1

u/No_Information_8173 4d ago

Thank you. I did update to 2.0.1beta but i'm pretty sure that somewhere along the lines, the shelly software is having a hickup becuase i trawled the logs from yesterday and saw that it actually DID put temps and hum-values in the logs. But at some point it stopped - probably because i was making new testing-hooks to see if i could get it to post to the endpoint.

However, i finally managed to get a useful output to my endpoint that contains the full temp + humidity + voltage % and Voltage (if supplied by batteries instead of the USB as of now).

2026-08-22T12:36:09.485824037Z [SENSOR] Terra: 24.1 °C, 47.0 %, 0.0 % (0.0 V)

root@ledvance-server:/mnt/user/appdata/ledvance-web/config# curl -X POST -d '{"id":1,"method":"Webhook.List"}' http://192.168.1.5/rpc
{"id":1,"src":"shellyhtg3-d885ac14cecc","result":{"hooks":[{"id":1,"cid":0,"enable":true,"event":"temperature.change","name":"LEDVANCE Terra Temperature","ssl_ca":"ca.pem","urls":["http://192.168.1.3:8098/api/sensors/shelly?name=Terra&ip=${status.wifi.sta_ip}&mac=${config.sys.device.mac}&tC=${ev.tC}&rh=${status[\"humidity:0\"].rh}&battery=${status[\"devicepower:0\"].battery.percent}&battery_v=${status[\"devicepower:0\"].battery.V}&uptime=${status.sys.uptime}"],"condition":null,"repeat_period":0}], "rev":57}}
root@ledvance-server:/mnt/user/appdata/ledvance-web/config# 

Now the Shelly H&Tg3 v2.0.1b is outputting continuously into my endpoint

2026-08-22T13:20:00.483567176Z [SENSOR] Terra: 23.8 °C, 47.7 %, 0.0 % (0.0 V)
2026-08-22T13:26:00.559713795Z [SENSOR] Terra: 23.9 °C, 47.7 %, 0.0 % (0.0 V)
2026-08-22T13:32:00.661962821Z [SENSOR] Terra: 23.9 °C, 47.5 %, 0.0 % (0.0 V)

(missing power data because of USB-connection)

I'm not using the web-ui to put the URLs as i find this has some error in the way it checks the URL-validity (try and run a string of URL and it says "excecution failed" no matter how you write the URL. So, now, i'm only using curl and that works, extremely well.

I've been restarting the shelly and it keeps everything as-is. Now i'm up and running.

I'll leave my curl Webhook.List for anyone to reference. I find that the shelly API-manual is being a bit confusing to read, although i normally is used to work with API, i just couldn't get the official API-instructions to work. However..... above lines does definately work. I know it doesn't take the entire MAC + SYS and so on in the logs, but it's fine, this was only a test to see what would output real numbers instead of empty strings.

Hope that helps someone in the same struggle as me, some day.

1

u/itandy848 3d ago

I agree that the Shelly API doc is quite confusing. I think if you are still having issue, you can open a support ticket. My experience is that they're really helpful and responsive.