0.2.6 • Published 2 years ago

iobroker.iogopro v0.2.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Logo

ioBroker.iogopro

NPM version Downloads Number of Installations (latest) Number of Installations (stable) Dependency Status

NPM

Tests: Test and Release

iogopro adapter for ioBroker

This adapter is connecting ioBroker to the mobile app ioGo PRO https://play.google.com/store/apps/details?id=de.nisnagel.iogopro. Please visit www.iogo.app for more information on getting started.

Configuration

You need a valid api-secret for this adapter, which you could generate in the ioGO-PRO App.

States

All states are based on the role and the current value shown with a intuitive icon. A list of all available mapped icons is available here: icons.png

Usage

You can send message to all authenticated users over messageBox sendTo('iogo', 'New message') or to specific user sendTo('iogo', {user: 'Username', text: 'Test message'}). User must be created before (please read the application documentation for further details).

It is possible to specify more than one recipient (just separate the Usernames by comma). For example: Recipient: "User1,User4,User5"

Example how to send notification customized message with javascript:

sendTo('iogo', {
    user:                   'Username',
    text:                   'New message',
    title:                  'VIP News'
});

And one example with blockly:

blockly

Callbacks are supported as well:

sendTo('iogo', {title: 'News', text: 'New message'}, function (res) {
    console.log('Sent to ' + res + ' users');
});

Just send the path to your image instead of text or use url attribute sendTo('iogo.0', 'absolute/path/file.png')

sendTo('iogo', {
    user:                   'Username',
    text:                   'New message',
    title:                  'VIP News',
    url:                    'absolute/path/file.png'
});

Possible options:

  • user: Single user or list of users
  • text: The message itself
  • title: The notification's title
  • url: Absolute path to an image
  • expiry: Expiration time in seconds

Changelog

0.2.6 (2021-12-24)

  • (nis) Add sentry for central crash logging

0.2.5 (2021-10-27)

  • (nis) Automatisches Löschen von Locations

0.2.4 (2021-10-18)

  • (nis) simplify admin ui for blocked enums

0.2.2 (2021-10-04)

  • (nis) change sync of enum member changes

0.2.1 (2021-09-21)

  • (nis) bugfix blocked enums

0.2.0 (2021-09-21)

  • (nis) sync states only when value has changed
  • (nis) added list of blocked enums to instance config

0.1.0 (2021-09-12)

  • (nis) migrate current state from ioBroker.iogo

0.0.1 (2021-08-29)

  • (nis) initial release

License

MIT License

Copyright (c) 2021 nis info@iogo.app

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.

0.2.6

2 years ago

0.2.5

3 years ago

0.2.3

3 years ago

0.2.4

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.1.0

3 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago