we use the geofencing app.
When we get home, the app turns on a dummy switch called Geo.
This switch then controls a number of lights and Geo turns off again when we leave.
The problem is the following:
we also use geo to control another dummy switch called heos.
Heos has a .json script in the on function which enables heos.
Now I don't want that heos turned on when someone is already home.
I use a lua script where I ping the humax recorder.
If it is on, heos may not turn on.
But if I later switch off the Humax, heos will still play.
How can we make this in blockly since we have no programming experience?
Summarized:
Geo is only allowed to go out when we leave home.
Heos is not allowed to turn on when humax status is on and that happens on the basis of ping.
So if we turn off humax, heos will still play.
Geofencing for lights en Heos.
Moderator: leecollings
-
- Posts: 112
- Joined: Thursday 08 December 2022 22:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: ROMANIA
- Contact:
Re: Geofencing for lights en Heos.
what Geofence app are u using ?
thx
thx
Who is online
Users browsing this forum: No registered users and 0 guests