Seite 2 von 5

#11 RE: Remote.notify

Verfasst: Di 6. Nov 2012, 00:03
von rega
Hallo coleman,

wie hast Du Dein Problem gelöst gekriegt? - Ich habe dasselbe.
C.REMOTE.message klappt
C.REMOTE.notify klappt nicht.

Ich habe auch mal das Domiq Discovery gestartet und die Logs angeschaut, die messages werden gesendet. Notify offennbar nicht?

Vielen Dank & Gruss
Reto

#12 RE: Remote.notify

Verfasst: Mi 7. Nov 2012, 08:31
von coleman
Hallo Reto,

das Problem ist leider noch gar nicht gelöst.
Habe es mit verschiedenen Base und verschiedenen IOS Geräten versucht.
Leider bis jetzt ohne Erfolg.

Sorry.

mfg Marcel

#13 RE: Remote.notify

Verfasst: Do 8. Nov 2012, 20:20
von Franky
Hallo Marcel,

ich hatte mal ein ähnlliches Problem und hatte festgestellt, dass beim Schalten des Relais auf "0" kein remote notify funktioniert.

Aber bei "1" hats geklappt. Mal probiert?

(Obwohl es ein wenig unpraktisch ist für das Ausschalten des Trockners, dient nur zur Fehlereingrenzung...)

#14 RE: Remote.notify

Verfasst: Do 8. Nov 2012, 22:31
von DOMIQ
I just recalled something. Do you use any special characters in you device name?
Please try to "Cancel all pairings" and pair again and observe Base logs. It should display message about device token on registration. If the token is missing, push notifications will not work - as Base doesn't know what's the recipient ID...

#15 RE: Remote.notify

Verfasst: Do 8. Nov 2012, 23:43
von coleman
Dear Filip,

I just use simple characters in my device name "Marcel iphone".
I paired the device again and observed the base log. and saw some token (23:32:19) but what i missed is the notify message after Event action in the log.
But please check the log yourself.
When LCN.sensor.0.5.7=1 then C.REMOTE.notify=Türklingel
C.REMOTE.message=Türklingel

The message appears in the log but not the notify.
Please see at Time 23:33:10

Thank and best regards

Marcel

#16 RE: Remote.notify

Verfasst: Fr 9. Nov 2012, 08:02
von Thomas
Hallo Marcel,

hier mal ein LOG:

Code: Alles auswählen

07:54:44   INF   INTEGRATION   COMMAND   LCN.sendkey.0.18.A4=hit
07:54:45   INF   REMOTE   Sent channel cmd   REMOTE.message=a879669d2d0dd369bd13404894391558ecd57f3ad933f2330b918be6c803fa4c,Trockner Auto start
07:54:45   INF   REMOTE   Deliver: C.REM.message=Trockner s
07:54:45   INF   LOGIC   07:54:45
07:54:45   INF   LOGIC   11/09/12
07:54:45   INF   LOGIC   7:54  9.11.2012
07:54:50   INF   LOGIC     RS
07:54:51   INF   HISTORY   what=LCN.value.0.30.r1 value=1066
07:54:51   INF   HISTORY   ts=1352444091 delta=205 st=205 sv=218325 avg=1065
07:54:51   INF   LOGIC   280000
07:54:51   INF   LOGIC   280000045506aa
07:54:52   INF   HISTORY   what=LCN.value.0.40.r1 value=273
07:54:52   INF   HISTORY   ts=1352444092 delta=206 st=321 sv=84082 avg=261
07:54:53   INF   INTEGRATION   COMMAND   LCN.sendkey.0.18.A4=make
07:54:54   INF   LOGIC   gesperrt RS
07:54:54   INF   REMOTE   Sent channel cmd   REMOTE.message=a879669d2d0dd369bd13404894391558ecd57f3ad933f2330b918be6c803fa4c,Tröockner fertig
07:54:54   INF   REMOTE   Deliver: C.REM.message=Trockner f


Es geht bei mir.
Vorletzte Zeile = notify (Da hab ich mit Absicht mal "Tröockner" geschrieben...)
Letzte Zeile = message

gruss thomas

#17 RE: Remote.notify

Verfasst: Fr 9. Nov 2012, 09:09
von coleman
Hallo Thomas,

in der vorletzten Zeile steht doch ein REMOTE.message.
Wie auch immer, der C.REMOTE.notify wird anscheinend bei mir von der Base gar nicht abgesetzt.
Bin aufgeschmissen, weis im moment nicht weiter.
Hast du noch eine Idee.

mfg
Marcel

#18 RE: Remote.notify

Verfasst: Fr 9. Nov 2012, 18:48
von DOMIQ
REMOTE.message is "internal" message that is being sent to the server. When you do a REMOTE.notify, it will collect all device tokens, contact them together and send as prefix for REMOTE.message. This is also a method to send notifications to particular devices.

As for debugging, please do a backup of the configuration and send to our office email address, we will verify if you have problems with token registration. Remember - if you did re-enable push notifications for the Remote, you will need to REMOVE pairing from the Remote and pair again, only at this time, and only once, token is provided to the Base.

#19 RE: Remote.notify

Verfasst: Mo 12. Nov 2012, 21:59
von rega
Hello,

thanks a lot for all hints!
Believe it or not, but after doing nothing more for about 24 hours, my base modul started sending me some notifications to my iphone. To me it looks like apple and or telko providers need some time to exchange some informations between the iphone and the base module?!
In the message log of the base modul I get now the following messages:

21:38:46 INF REMOTE Sent channel cmd REMOTE.message=2aa546860e0cebdbc3ad6d36bb670240515c0ac6b8e6b16378b09e645ebdc92f11fe6e53102c157e6132d58d4a3f4490ef050b9a1d876a05d42674f7f1e045bf,Teichpumpe wirklich an Notify!
21:38:46 INF REMOTE Deliver: C.REM.message=Teichpumpe an- Message!

And I get the message, when the remote app is launched and the notify even the app is not started.

So it looks fine for the moment, even if it is not transparent to me what happens in the background.

regards
Reto Gantenbein

#20 RE: Remote.notify

Verfasst: So 16. Dez 2012, 03:17
von coleman
Hallo Thomas,

die Notify Geschichte funktioniert noch immer nicht.
Wenn ich über Discovery mit plotte wird keine message über notify versendet.
Lediglich message funktioniert.
Und das bei zwei unterschiedlichen Base mit verschiedenen Iphones und ipads.
Hast du vieleicht noch eine Idee???

lg Marcel