PDA

View Full Version : Documentation for email notification



spacerom
24.04.2018, 13:10
Hello,

Where can I found a documation for create email notification. The base fonction in profilux 4 are limited and all what I want to add show me too many information or missing some information
What is the limit or characters?

sample:


Temperature 1 : 25.4C
valeur-pH 1 : 7.89pH
Redox 1 : 512mV
Conduct. (S) 1 : 34.9


S 1 : On
S 2 : On
S 3 : Off
S 5 : Off


Niveau 1 : Off
Niveau 2 : On
Niveau 3 : On
Niveau 4 : Off
Niveau 5 : Off
Niveau 6 : Of


for


Niveau 5 : Off
Niveau 6 : Of


not used on my profilux
The last "Off" are not complete

Other sample:


Alarm 000: Alarme: NivC. 2 Sécurité osmolat


Temperature 1 : 25.6C
valeur-pH 1 : 8.26pH
Redox 1 : 489mV
Conduct. (S) 1 : 34.8


S 1 : On
S 2 : On
S 4 : Off
S 5 : Off


Niveau 1 : Off
Niveau 2 : On
Niveau 3 : On


Niveau 4 is missing but is used on profilux 4!

Manual guide of programming don't include all feature for email notification with variable and limits

thank you for your help

MatthiasF
25.04.2018, 11:23
Hello,

you can follow the link to a document, that explains the used TOKENs in ProfiLux3 and ProfiLux4 computers:
https://www.aquariumcomputer.com/de/downloads/benutzerdefinierte-webseiten-f%C3%BCr-profilux-3-3-1/



The mail body cannot exceed 256 characters, except in latest WiFi-firmwares where it can be up to 512 characters.
This version is in beta and only available on request (via our ticket support system) at the moment.

To work around this limitation, split the relevant parts into individual mails.

spacerom
26.04.2018, 19:56
thank you for your help. It's perfect!

spacerom
29.06.2018, 10:24
The mail body cannot exceed 256 characters, except in latest WiFi-firmwares where it can be up to 512 characters.
This version is in beta and only available on request (via our ticket support system) at the moment.


Is it implement in the latest release or not yet?

MatthiasF
29.06.2018, 10:31
Hello,

this is available in WiFi-firmware-version 6741, which you can get from the WiFi-Update-Tool here:
https://www.aquariumcomputer.com/downloads/wifi-module-esp-update/

spacerom
29.06.2018, 10:57
Thank you. I ll test it this afternoon

spacerom
01.07.2018, 18:59
Hello,

I ve try to do an email notification with more of 256 characters and it's not working.
I ve wifi firmware 6741, PL4 frmware 7.14. Email text is block to 256 characters yet:

10914

Have I done something wrong to have 512 characters?
Thank you for your help

Gael
02.07.2018, 06:31
The message template is limited to 256 characters (limit is size of message parameter in Profilux firmware) BUT because in this template we use TOKENs which are replaced by text, the final mail body can contain 512 characters (limit in this case is wifi card firmware). The update that Matthias is talking about concern wifi card part.

spacerom
05.07.2018, 20:25
Definitly not work.

My notification on profilux:


$$REPS[4][0]$$$$SENN[x]$$:$$SENV[x]$$
$$REPE$$

$$REPS[5][2]$$ $$SWID[x]$$:$$SWIS[x]$$
$$REPE$$

Haut rsrv: $$LEVV[0]$$
Osmolateur: $$LEVV[1]$$
Bas rsrv: $$LEVV[2]$$
Haut décante: $$LEVV[3]$$



56 characters are still available to you
So it's on 256 characters

My email count 253 character (notepad++)


Temperature 1: 26.1C
valeur-pH 1: 8.23pH
Redox 1: 298mV
Conduct. (S) 1: 34.4


Ecumeur:On
UV:Off
Ventilo:Off
Osmolateur:Off
Chauffage:Off


Haut rsrv: Off
Osmolateur: Off
Bas rsrv: On
Haut décante:

Last information is incomplete! Email is not at 512 characters!
Spaces have been added by profilux in front of "Ecumeur", "UV", "Ventilo", "Osmolateur" and "Chauffage"!
Can you help me to make work the 512 characters please.
Thanks

MatthiasF
06.07.2018, 09:27
Hello,

just split the last part for your swichchannels into a seperate message.
This way, you have at least 4*256chars available or with token up to 4*512 if no user characters are inserted.

spacerom
06.07.2018, 09:42
Hello,

just split the last part for your swichchannels into a seperate message.
This way, you have at least 4*256chars available or with token up to 4*512 if no user characters are inserted.

I can't split last part into a seperate message I ve already have 4 messages and it's the max message!
I ve -256 chars with token. On the email that I received, email is block to 256chars yet. Normaly I must be allowed to have 512 chars in the email when I use token?