Hi, I’m trying to toggle a gpio-output (nr17)
as my smartphone enters the network. (ping for ip every 1 minute)
My phone is recognised but I cant find the right way to activate the pgio.
Now I use a rule :
if smartphone is present then toggle switch17 state
but I only want to activate switch 1 if my phone is recognised (and I will create another rule in case my phone is not preset, to deactivate)
I tried everything like:
set switch17:0
switch17=false
but isnt recognised as a valid command,
should be simple, but I cant find the answer online.