• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


[Android] AndPiLi
#6
(11-11-2013, 02:01 PM)curlymo Wrote: To know if you're still connected, just use the heartbeat function. Then you can create a timeout between the last sended "HEART" and received "BEAT" to check if you are still connected. The Java App will close itself after a certain amount of time, when you stop pilight-daemon.

If you are connected to the right wifi network is of concern of the user. When the connection to the daemon is lost, just close the app with a message.

That is not my idea of how things should work but that might just be me.
I don't want the connection to be dropped/lost when leaving the app, I want it to be kept open (at least when the user wants it to be kept open and I'm muy main user) so that doorbell rings will be pushed/read the app. Also, I want to monitor my temp sensor when not in the app.

Right now it seems to be necessary to use the heart beat to keep the socket open, not just to detect its state (without sending something sometimes I can keep the socket connected for a couple of minutes max)

Anyway, I will struggle on and meanwhile support this initiative with reports if possible.

[COLOR="Orange"]Taptalked u see .. əəs n pəʞlɐʇdɐʇ[/COLOR]
 
Reply
  


Messages In This Thread
[Android] AndPiLi - by Tedvdb - 11-10-2013, 11:40 PM
RE: AndPiLi - by curlymo - 11-10-2013, 11:55 PM
RE: AndPiLi - by Tedvdb - 11-11-2013, 12:24 AM
RE: AndPiLi - by Zatta - 11-11-2013, 12:31 PM
RE: AndPiLi - by curlymo - 11-11-2013, 02:01 PM
Re: RE: AndPiLi - by Zatta - 11-11-2013, 08:21 PM
RE: AndPiLi - by curlymo - 11-11-2013, 09:00 PM
RE: AndPiLi - by creamers - 11-11-2013, 09:24 PM
RE: AndPiLi - by curlymo - 11-11-2013, 09:39 PM
Re: RE: AndPiLi - by Zatta - 11-11-2013, 11:36 PM
RE: AndPiLi - by curlymo - 11-12-2013, 12:10 AM
RE: AndPiLi - by Zatta - 11-12-2013, 12:36 AM
RE: AndPiLi - by curlymo - 11-12-2013, 12:39 AM
RE: AndPiLi - by dzjaivnt - 11-15-2013, 08:29 PM
RE: AndPiLi - by curlymo - 11-18-2013, 04:25 PM
RE: AndPiLi - by dzjaivnt - 11-23-2013, 01:37 PM
RE: AndPiLi - by curlymo - 11-23-2013, 03:11 PM
RE: AndPiLi - by Tedvdb - 11-24-2013, 09:56 PM
RE: AndPiLi - by r3bel - 11-25-2013, 10:22 AM
RE: AndPiLi - by curlymo - 11-26-2013, 02:37 PM
RE: AndPiLi - by r3bel - 11-26-2013, 03:28 PM
RE: AndPiLi - by curlymo - 11-26-2013, 04:35 PM
RE: AndPiLi - by creamers - 11-27-2013, 09:35 PM
RE: AndPiLi - by curlymo - 12-03-2013, 08:50 PM
RE: AndPiLi - by Tedvdb - 12-04-2013, 11:20 PM
RE: AndPiLi - by Zatta - 12-05-2013, 09:17 AM
RE: AndPiLi - by curlymo - 12-05-2013, 09:46 PM
RE: AndPiLi - by Tedvdb - 12-07-2013, 12:15 PM
RE: AndPiLi - by Zatta - 12-07-2013, 01:38 PM
RE: AndPiLi - by curlymo - 12-07-2013, 03:20 PM
Re: AndPiLi - by Zatta - 12-07-2013, 08:21 PM
RE: AndPiLi - by Tedvdb - 12-08-2013, 10:37 PM
RE: AndPiLi - by curlymo - 12-08-2013, 11:01 PM
RE: AndPiLi - by Tedvdb - 12-08-2013, 11:47 PM
RE: AndPiLi - by curlymo - 12-09-2013, 12:24 AM
RE: AndPiLi - by Tedvdb - 12-10-2013, 11:14 PM
RE: AndPiLi - by curlymo - 12-10-2013, 11:29 PM
RE: AndPiLi - by Tedvdb - 12-29-2013, 11:51 PM
RE: AndPiLi - by curlymo - 12-30-2013, 12:59 AM
RE: AndPiLi - by Tedvdb - 12-30-2013, 05:11 PM
RE: AndPiLi - by curlymo - 12-30-2013, 05:47 PM
RE: AndPiLi - by Tedvdb - 12-30-2013, 06:00 PM
Re: RE: AndPiLi - by Zatta - 12-30-2013, 07:10 PM
Re: AndPiLi - by Tedvdb - 01-03-2014, 06:43 PM
RE: AndPiLi - by curlymo - 01-03-2014, 06:47 PM
RE: AndPiLi - by aaafred - 01-03-2014, 08:36 PM
RE: AndPiLi - by Tedvdb - 01-03-2014, 10:01 PM
RE: AndPiLi - by curlymo - 01-03-2014, 10:07 PM
RE: AndPiLi - by aaafred - 01-05-2014, 01:47 AM
RE: AndPiLi - by Tedvdb - 01-08-2014, 11:27 PM
RE: AndPiLi - by Zatta - 01-09-2014, 08:02 PM
RE: AndPiLi - by Tedvdb - 01-12-2014, 07:47 PM
Re: AndPiLi - by curlymo - 01-12-2014, 09:25 PM
RE: AndPiLi - by Tedvdb - 01-15-2014, 10:45 PM
RE: AndPiLi - by Zatta - 01-15-2014, 11:20 PM
RE: AndPiLi - by curlymo - 01-15-2014, 11:21 PM
RE: AndPiLi - by Tedvdb - 01-15-2014, 11:53 PM
RE: AndPiLi - by curlymo - 01-16-2014, 07:27 AM
RE: AndPiLi - by Tedvdb - 01-16-2014, 08:19 PM
RE: AndPiLi - by Tedvdb - 01-19-2014, 07:26 PM
RE: AndPiLi - by IcedEarth - 01-19-2014, 09:21 PM
RE: AndPiLi - by Tedvdb - 01-26-2014, 08:44 PM
RE: AndPiLi - by curlymo - 01-19-2014, 09:47 PM
RE: AndPiLi - by curlymo - 01-26-2014, 08:57 PM
RE: AndPiLi - by Zatta - 01-26-2014, 09:34 PM
RE: AndPiLi - by Tedvdb - 01-26-2014, 10:11 PM
RE: AndPiLi - by Tedvdb - 01-26-2014, 11:39 PM
RE: AndPiLi - by Tedvdb - 01-28-2014, 12:25 AM
RE: AndPiLi - by Zatta - 01-28-2014, 12:52 AM
RE: AndPiLi - by dzjaivnt - 04-29-2014, 12:12 AM
RE: AndPiLi - by curlymo - 04-29-2014, 06:20 AM
RE: AndPiLi - by Tedvdb - 06-24-2014, 11:44 PM
RE: AndPiLi - by Tedvdb - 06-25-2014, 05:14 PM
RE: AndPiLi - by curlymo - 06-26-2014, 10:04 AM
RE: AndPiLi - by clach04 - 11-01-2014, 03:51 AM
RE: AndPiLi - by MarcelM - 12-06-2014, 11:32 AM
RE: AndPiLi - by curlymo - 12-06-2014, 12:45 PM
RE: [Android] AndPiLi - by fabsi88 - 04-10-2015, 08:53 PM
RE: [Android] AndPiLi - by curlymo - 04-11-2015, 09:11 AM
RE: [Android] AndPiLi - by Ricola - 12-29-2015, 09:00 AM
RE: [Android] AndPiLi - by woutput - 06-14-2017, 08:22 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  [Android] illumina, a pilight remote phdd 62 50,784 08-02-2016, 05:56 PM
Last Post: curlymo
  webgui pilight 6.0 iphone / android browser Jeroenk 3 3,406 02-03-2016, 05:08 PM
Last Post: serge
  [Android] pilight android 4.1+ UPDATED 5/5/15 Zatta 103 90,115 05-06-2015, 09:21 PM
Last Post: koos147
  [Android] pilight Wear schdef 3 5,551 04-14-2015, 04:48 PM
Last Post: schdef
  [Android] Tasker pilight Kiwi 6 10,651 04-01-2015, 03:37 PM
Last Post: bkmann
  Latest Android apps clach04 0 2,370 11-01-2014, 03:49 AM
Last Post: clach04

Forum Jump:


Browsing: 1 Guest(s)