Geofencing for lights en Heos.

Moderator: leecollings

Post Reply
Dave47
Posts: 136
Joined: Thursday 19 July 2018 14:36
Target OS: -
Domoticz version: 2023.1
Contact:

Geofencing for lights en Heos.

Post 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.
ssk17051980
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.

Post by ssk17051980 »

what Geofence app are u using ?
thx
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests