Willkommen auf unserer neuen Forenplattform für das Bus-Profi Forum

Neue Felder für die persönlichen Daten
Man kann jetzt seine öffentlich einsehbare Daten genau bestimmen. Details findet ihr in in diesem Beitrag.

Durch die neue Forensoftware und die Portierung der Daten konnten die Passwörter aus dem alten Forum nicht übernommen werden, bitte lassen Sie sich ein neues Passwort über die Passwort vergessen Funktion zusenden. Sollte es zu Problemen kommen kontaktieren Sie das Bus-Profi Team per E-Mail.

Remote.notify

Hard- und Softwarefragen rund Domiq-Module fürs LCN-System

rega
Neues Mitglied
Neues Mitglied
Beiträge: 7
Registriert: Mi 7. Jul 2010, 20:09

#11 RE: Remote.notify

Beitragvon rega » Di 6. Nov 2012, 00:03

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


Themenersteller
coleman
Fingerwundschreiber
Fingerwundschreiber
Beiträge: 110
Registriert: Mo 4. Jun 2012, 22:37
Kontaktdaten:

#12 RE: Remote.notify

Beitragvon coleman » Mi 7. Nov 2012, 08:31

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


Franky
Fingerwundschreiber
Fingerwundschreiber
Beiträge: 215
Registriert: Sa 2. Jan 2010, 19:35

#13 RE: Remote.notify

Beitragvon Franky » Do 8. Nov 2012, 20:20

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...)


DOMIQ
Fleißiges Mitglied
Fleißiges Mitglied
Beiträge: 252
Registriert: Sa 25. Apr 2009, 11:16
Kontaktdaten:

#14 RE: Remote.notify

Beitragvon DOMIQ » Do 8. Nov 2012, 22:31

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


Themenersteller
coleman
Fingerwundschreiber
Fingerwundschreiber
Beiträge: 110
Registriert: Mo 4. Jun 2012, 22:37
Kontaktdaten:

#15 RE: Remote.notify

Beitragvon coleman » Do 8. Nov 2012, 23:43

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
Dateianhänge

[Die Dateierweiterung txt wurde deaktiviert und kann nicht länger angezeigt werden.]


Benutzeravatar

Thomas
Alleswisser
Alleswisser
Beiträge: 5728
Registriert: Mo 21. Apr 2008, 20:03
Hat sich bedankt: 19 Mal
Danksagung erhalten: 13 Mal

#16 RE: Remote.notify

Beitragvon Thomas » Fr 9. Nov 2012, 08:02

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
lg Thomas


Themenersteller
coleman
Fingerwundschreiber
Fingerwundschreiber
Beiträge: 110
Registriert: Mo 4. Jun 2012, 22:37
Kontaktdaten:

#17 RE: Remote.notify

Beitragvon coleman » Fr 9. Nov 2012, 09:09

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


DOMIQ
Fleißiges Mitglied
Fleißiges Mitglied
Beiträge: 252
Registriert: Sa 25. Apr 2009, 11:16
Kontaktdaten:

#18 RE: Remote.notify

Beitragvon DOMIQ » Fr 9. Nov 2012, 18:48

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.


rega
Neues Mitglied
Neues Mitglied
Beiträge: 7
Registriert: Mi 7. Jul 2010, 20:09

#19 RE: Remote.notify

Beitragvon rega » Mo 12. Nov 2012, 21:59

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


Themenersteller
coleman
Fingerwundschreiber
Fingerwundschreiber
Beiträge: 110
Registriert: Mo 4. Jun 2012, 22:37
Kontaktdaten:

#20 RE: Remote.notify

Beitragvon coleman » So 16. Dez 2012, 03:17

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


Zurück zu „Domiq-Module - DOMIQ Sp. z o.o.“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 45 Gäste