Page 1 of 1

Geofencing for lights en Heos.

Posted: Friday 17 June 2022 15:36
by Dave47
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.

Re: Geofencing for lights en Heos.

Posted: Saturday 04 March 2023 21:05
by ssk17051980
what Geofence app are u using ?
thx