Wifi switches for phones

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

jannl
Posts: 825
Joined: Thursday 02 October 2014 6:36
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.5.x
Location: Geleen
Contact:

Re: Wifi switches for phones

Post by jannl »

rgroothuis wrote:Another question I'm having on this subject is how to use this pinging information (if it works) in the LUA scripts? Any examples?
I found the device I'm pinging in my device list but I cannot add it to my switches dashboard, is this correct? And because of that I also cannot see the pinging result history, so I cannot tell if my iPhone is ping-ed correctly.
Remember that an iPhone switches off wifi most of the time the screen is off!!
rednas
Posts: 132
Joined: Tuesday 20 October 2015 12:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Wifi switches for phones

Post by rednas »

rgroothuis wrote:Another question I'm having on this subject is how to use this pinging information (if it works) in the LUA scripts? Any examples?
I found the device I'm pinging in my device list but I cannot add it to my switches dashboard, is this correct? And because of that I also cannot see the pinging result history, so I cannot tell if my iPhone is ping-ed correctly.
You should be able to add it to your switches dashboard and use it in LUA as you would use a normal switch.
StanHD wrote:I have disabled IPv6 on my router for my LAN (not WAN) as this gave me other problems. May be worth a try?
I am going to find out how to do this and if it's possible. Will let you know!
rgroothuis
Posts: 347
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Wifi switches for phones

Post by rgroothuis »

Strangely enough if I click on the green arrow button nothing is happening. Strange. Any idea's? I've not (yet) rebooted Domoticz, is that required?
Screen Shot 2015-12-15 at 10.00.04.png
Screen Shot 2015-12-15 at 10.00.04.png (64.88 KiB) Viewed 945 times
rednas
Posts: 132
Joined: Tuesday 20 October 2015 12:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Wifi switches for phones

Post by rednas »

I guess it has to do with your Name with the apostrophe. Try removing it, it could be interfering with apostrophes used in the code of Domoticz.
rgroothuis
Posts: 347
Joined: Friday 03 April 2015 17:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Wifi switches for phones

Post by rgroothuis »

rednas wrote:I guess it has to do with your Name with the apostrophe. Try removing it, it could be interfering with apostrophes used in the code of Domoticz.
Excellent, that was the trick. Learned something again, thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest