iobroker.vcard

0.0.9 • Public • Published

Logo #vCard Adapter for ioBroker

##Description:

The main focus of vCard adapter is, to replace the phone numbers of ioBroker.fritzBox adapter's outputs.

This adapter reads a vCard file and offers the possibility to:

a) output of names (full names) on Outputs.FilteredFullNames.
b) output of email addresses on Outputs.FilteredEmailAddresses.
c) output of postal addresses on Outputs.FilteredPostalAddresses.
d) output of email addresses on Outputs.FilteredEmailAddresses. e) the output of a)b)c) and d) can be triggered by setting a search pattern (which is performed on full name)to Inputs.Filter. This filter works case in-sensitive.
f) if a value is set to Inputs.ReplacePhoneNumbersChX (X: is channel number), all phone numbers inside this value are replaced by the appropriate full name. The output is written to Outputs.ReplacedPhoneNumbersChX. The replacement ignores the starting '0' and '+49' in German phone numbers. Inputs.ReplacePhoneNumbersChX can be set manually, via script or direct linked. For direct linking, enter the appropriate object inside settings. g) Outputs.TodaysBirthdays shows the full name of any persons, which has birthday today.
h) if there are multiple results at one output, the different results are separated by an HTML line break.

Up to now, the adapter was tested with exports od "Mac contacts" and "Outlook" (vCard file version 3.0).

###VCF Path:

###CSS Example (for fixed column width): Style Header:
<style type="text/css"> spanVcard1 { display: inline-block; width: 300px; } </style>

Style Prefix:
<spanVcard1>

Style Postfix:
</spanVcard1>

Note: Each channel needs its own tag (e.g. spanVcard1, spanVcard2, spanVcard3, spanVcard4, spanVcard5)!

##Prerequirements:

##Change log:

###0.0.9 (2016-11-12)

  • Addapter category changed

###0.0.8 (2016-05-27)

  • Bugfixing new Channels

###0.0.7 (2016-05-21)

  • Typos
  • Readme updated

###0.0.6 (2015-01-16)

  • Typos
  • Readme updated

###0.0.5 (2015-11-15)

  • Reading contacts via http updated
  • Multiple channels subscribed to one output fixed
  • CSS Example updated

###0.0.4 (2015-11-6)

  • Missing dependency

###0.0.3 (2015-10-25)

  • Three channels for replacing numbers
  • Channels can be connected to outputs of other adapters (no script needed)
  • Replaced names can be formated by CSS
  • VCF files can be read via http

###0.0.2 (2015-10-02)

  • Documentation updates
  • Missing icon
  • vcard-json issue with white spaces (inside Outlook files)

###0.0.1 (2015-09-18)

  • Initial version

##LOP:

  • Reading contacts via CardDav

License

The MIT License (MIT)

Copyright (c) 2016 hometm

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i iobroker.vcard

Weekly Downloads

4

Version

0.0.9

License

MIT

Last publish

Collaborators

  • hometm