It's not really straight forward what to do when you have to combine this two devices. So after some experiments, I came up with some questions.
My current setup:
In the Door/Window settings "Actions":
OPEN WHEN DARK/Twilight/Daylight: Fill in as URL "http://TRV-IP-ADDRESS-HERE/settings/thermostat/0?target_t_enabled=0"
CLOSE: Fill in as URL "http://TRV-IP-ADDRESS-HERE/settings/thermostat/0?target_t_enabled=1"
This works ... from time to time.
I guess this is related to the response time of the TRV. Sometimes when it's "sleeping" it's responding really slow ... but the D/W sensor has limited time awake.
So is there a way to tell DW to wait more time for response? Is there oficial information about the timeout for this endpoints?
I'm trying to make this 2 work togather for a long time and they just doesn't work as expected.
Possible solution is request to the cloud ... but I can't make real authentication with static url.
I can't use the trv local domain, again because of request time.
I can use a hub ... but the main marketing point for Shelly is ... no hub needed.
Any ideas?