[Ovmsdev] Push notifications by email
Michael Balzer
dexter at expeedo.de
Sun Jan 4 00:24:56 HKT 2015
Mark,
thanks :)
For users running their own server, using some perl script should be no
issue.
But if you'd like to enable this function on the main server, there
should be another way to subscribe. IMO best would be a simple checkbox
or email address entry on the vehicle account management page that
produces the entry for ovms_notifies.
Adding a vehicle email or using the owner email would be an option too,
I decided for the notifies because that fits semantically and makes use
of the existing process and structures without adding complexity. Being
able to add multiple subscriptions per vehicle is a nice bonus effect.
Also, more channel types (i.e. Whatsapp or the like) can be added the
same way.
Regards,
Michael
Am 03.01.2015 um 15:17 schrieb Mark Webb-Johnson:
> Michael,
>
> Neat, and simple.
>
> But, the notify.pl is a bit messy. Kind of advanced for most users.
>
> I’m wondering if I can add something to the server vehicle record to add an eMail address there, and make it automatically notify that address as well (if defined).
>
> Thoughts?
>
> Regards, Mark.
>
>> On 3 Jan, 2015, at 7:09 pm, Michael Balzer <dexter at expeedo.de> wrote:
>>
>> Happy new year everyone :-)
>>
>> I just added an email notification channel to the server code, following a request for a personal OVMS server.
>>
>> https://github.com/openvehicles/Open-Vehicle-Monitoring-System/commit/172a501ee4f9d4ae9039fdad38f675028f6ad7cb
>>
>> As the Android notifications need the hard coded C2DM channel and C2DM is no longer supported, this is primarily meant as an alternative for those using their own server and not wanting to build their own App.
>>
>> It might also be useful for other users & the main server -- I would like being able to receive my Twizy trip reports by mail.
>>
>> Regards,
>> Michael
>>
>> --
>> Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
>> Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
>>
>> <dexter.vcf>_______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
--
Michael Balzer * Paradestr. 8 * D-42107 Wuppertal
Fon 0202 / 272 2201 * Handy 0176 / 206 989 26
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dexter.vcf
Type: text/x-vcard
Size: 206 bytes
Desc: not available
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20150103/98cfaffb/attachment-0002.vcf>
More information about the OvmsDev
mailing list