GithubHelp home page GithubHelp logo

dnangelx / iobroker.notificationforandroidtv Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 575 KB

IoBroker Adapter für Notifications for Android TV / Fire TV

License: MIT License

JavaScript 84.47% HTML 13.30% CSS 2.23%
androidtv firetv iobroker iobroker-adapter messages notifications

iobroker.notificationforandroidtv's Introduction

Logo

ioBroker.notificationforandroidtv - Benachrichtigungsintegration für Android TV/Fire TV

NPM

Notification integration for IoBroker includes support for Notifications for Android TV and Notifications for Fire TV. With this integration, you can send notifications to your Android TV device. It enables an overlay displaying the message content for a customizable duration before disappearing. Additionally, it supports sending images, such as those from security cameras, and custom icons. Icons function similarly to images, appearing smaller and to the left of the notification, while images display larger and above the notification.

These notifications operate within the global scope of your Android TV device, appearing regardless of the active application.

During setup, note that there are two distinct apps: one for your smartphone (which isn't necessary for this platform) and another for your Android TV device to receive notifications. The app required for displaying notifications sent from IoBroker is available in the store of your Android TV device. Any in-app purchases are exclusive to the client for Android smartphones and do not restrict pushing notifications from IoBroker.

From version 3.0.0, our notification integration also supports PiPup. PiPup can be utilized to transmit video streams, for example, from cameras, or to overlay websites onto your Android TV screen. It provides a versatile solution for integrating various content seamlessly into your Android TV experience.

Description

The notification integration for IoBroker supports sending notifications to Android TV and Fire TV devices. This integration allows customizable message overlays to be displayed on the TV screen for a specified duration. Additionally, it can display images, such as those from security cameras, and custom icons. Furthermore, it introduces a new feature to stream videos and web content seamlessly to your Android TV or Fire TV device. This means you can use PiPup to broadcast video streams, such as those from cameras, or overlay websites directly onto your TV screen.

Setup Steps:

1. Adapter Settings:

  • Go to the adapter settings in the IoBroker interface.
  • Add the IP addresses of the target devices and give them names for identification.

2. Download the App on Your Android TV / Fire TV:

  • Download the "Notifications for Android TV" app for Android TV devices from Google Play.
  • Download the "Notifications for Fire TV" app for Fire TV devices from Amazon.
  • Only PiPup check install guide at 5

3. Creation of Objects with the Following Settings for Notifications for Android TV & Notifications for Fire TV

Setting Description Example Value
duration Display duration in seconds 10 s
ip IP address of the TV device 192.168.0.100
message Message to be sent "Test message"
position Position on the TV screen 0 = "BOTTOM_RIGHT"
title Title of the message "Important Notification"
transparency Transparency of the overlay 25
type Display type of the overlay Standard, ONLY_TITLE, ONLY_ICON
color Color blue, green,...
width Overlay size small, xxl,...
icon Icon selection ! ? :-)
iconurl Icon URL http://192.168.20.111/myIcon.png
delete_icon Clear icon URL after sending true / false
imageurl Image URL http://192.168.20.111/myImage.png
delete_image Clear image URL after sending true / false
payload json object {"msg":"my Message","bkgcolor": "7","title": "my Title"} ,... duration,position,width,transparency,type,icon,iconurl,imageurl

3.1 Creation of Objects with the Following Settings for PiPup

subfolder PiPup per device

Setting Description Example Value
duration Display duration in seconds 10 s
message Message to be sent "Test message"
position Position on the TV screen 0 = "TopRight"
title Title of the message "Important Notification"
messageColor ColorCode message #E11AE7
titleColor ColorCode title #1AE730
messageColor ColorCode background #711AE7
titleSize size from title 20
messageSize size from message 18
transparency Transparency of the overlay 25
width image/web/video width 640 px
height web height 480 px
url stream URL http://192.168.20.111/myImage.png
type stream type image/web/video
payload json object {"duration": 30,"position": 0,"title": "Your awesome title","titleColor": "#0066cc","titleSize": 20,"message": "What ever you want to say... do it here...","messageColor": "#000000","messageSize": 14,"backgroundColor": "#ffffff","media": { "image": {"uri": "https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/cfcc3137009463.5731d08bd66a1.png", "width": 480}}}

4. Sending Messages:

  • Once a message is entered in the "message" object or under "payload," it will be sent to the TV device. Payload only uses the IP address from the objects; the rest must be passed through the payload object.
  • The same applies to PiPup; here the URL is also transmitted when a message is entered.

5. PiPup Installation Guide

For Android TV Users

Please follow the instructions at PiPup GitHub for Android TV.

For Fire TV or other Android TV without Google Play Store

  1. Install an app like atvTools on your smartphone.
  2. Download the PiPup apk files on your smartphone.
  3. Transfer the apk files to your Android TV.

Using adb Commands

  1. Open the command console on your smartphone.

  2. Execute the following command to allow SYSTEM_ALERT_WINDOW permission:

    adb shell appops set nl.rogro82.pipup SYSTEM_ALERT_WINDOW allow

Ensure that your Android TV is connected to the same network as your smartphone, and your Android TV has developer options enabled.

Now, you should be able to use PiPup on your Fire TV or other Android TV without the Google Play Store.

Changelog

3.0.4 (2024-04-24)

  • (DNAngel/mcm1957) Release merges

3.0.3 (2024-02-16)

  • (DNAngel) audit fixes

3.0.1 (2024-01-27)

  • (DNAngel) typo fix

3.0.0 (2024-01-27)

  • (DNAngel) added support for PiPup video and web stream

2.4.0 (2024-01-25)

  • (DNAngel) change requests for official release by @mcm1957 & @Apollon77

2.3.1 (2024-01-12)

  • (DNAngel) payload bugfix

2.3.0 (2024-01-08)

  • (DNAngel) extended payload possibility as message object

2.2.2 (2024-01-01)

  • (DNAngel) Stable release

2.2.0 (2023-12-22)

  • (DNAngel) translations for official release

2.1.2 (2023-12-21)

  • (DNAngel) small small translation issues

2.1.1 (2023-12-21)

  • (DNAngel) device name added

2.1.0 (2023-12-21)

  • (DNAngel) color added
  • (DNAngel) icon & icon_url added
  • (DNAngel) image & image_url added

2.0.3 (2023-12-18)

  • (ldittmar81) Typo fix

2.0.2 (2023-12-18)

  • (DNAngel) Ui Button fixed

2.0.1 (2023-12-18)

  • (DNAngel) Design changes & description

2.0.0 (2023-12-18)

  • (DNAngel) initial release

License

MIT License

Copyright (c) 2024 DNAngel

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.

iobroker.notificationforandroidtv's People

Contributors

dependabot[bot] avatar dnangelx avatar mcm1957 avatar

Stargazers

 avatar

Watchers

 avatar

iobroker.notificationforandroidtv's Issues

Unexpected end of JSON output

Admin V6.13.15, Js-controller 5.0.17, Node 18.19.1, buanet-docker V9.0.1, same with Raspi-4 on Bookworm with Node 20, start of the adapter not possible any more:

2024-01-09 14:22:26.123 - info: puppeteer.0 (1466) Ready to take screenshots 2024-01-09 14:30:42.008 - info: host.testbroker iobroker url https://github.com/DNAngelX/ioBroker.notificationforandroidtv.git --host testbroker --debug 2024-01-09 14:30:42.008 - info: host.testbroker iobroker url https://github.com/DNAngelX/ioBroker.notificationforandroidtv.git --host testbroker --debug 2024-01-09 14:30:48.326 - info: host.testbroker iobroker install DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d 2024-01-09 14:30:48.913 - info: host.testbroker iobroker NPM version: 10.2.3Installing DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d... (System call) 2024-01-09 14:30:48.326 - info: host.testbroker iobroker install DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d 2024-01-09 14:30:48.913 - info: host.testbroker iobroker NPM version: 10.2.3Installing DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d... (System call) 2024-01-09 14:30:51.034 - info: host.testbroker iobroker npm WARN skipping integrity check for git dependency ssh://[email protected]/DNAngelX/ioBroker.notificationforandroidtv.git 2024-01-09 14:30:51.526 - info: host.testbroker iobroker added 1 package in 2s 2024-01-09 14:30:51.527 - info: host.testbroker iobroker 2024-01-09 14:30:51.528 - info: host.testbroker iobroker 34 packages are looking for funding 2024-01-09 14:30:51.529 - info: host.testbroker iobroker runnpm fundfor details 2024-01-09 14:30:51.034 - info: host.testbroker iobroker npm WARN skipping integrity check for git dependency ssh://[email protected]/DNAngelX/ioBroker.notificationforandroidtv.git 2024-01-09 14:30:51.526 - info: host.testbroker iobroker added 1 package in 2s 2024-01-09 14:30:51.527 - info: host.testbroker iobroker 2024-01-09 14:30:51.528 - info: host.testbroker iobroker 34 packages are looking for funding 2024-01-09 14:30:51.529 - info: host.testbroker iobroker runnpm fund` for details
2024-01-09 14:30:57.588 - info: host.testbroker iobroker upload [3] notificationforandroidtv.admin /opt/iobroker/node_modules/iobroker.notificationforandroidtv/admin/index_m.html index_m.html text/html
2024-01-09 14:30:57.635 - info: host.testbroker iobroker upload [2] notificationforandroidtv.admin /opt/iobroker/node_modules/iobroker.notificationforandroidtv/admin/notificationforandroidtv.png notificationforandroidtv.png image/png
2024-01-09 14:30:57.661 - info: host.testbroker iobroker upload [1] notificationforandroidtv.admin /opt/iobroker/node_modules/iobroker.notificationforandroidtv/admin/style.css style.css text/css
2024-01-09 14:30:57.687 - info: host.testbroker iobroker upload [0] notificationforandroidtv.admin /opt/iobroker/node_modules/iobroker.notificationforandroidtv/admin/words.js words.js application/javascript
2024-01-09 14:30:57.760 - info: host.testbroker iobroker Update "system.adapter.notificationforandroidtv.0"
2024-01-09 14:30:57.588 - info: host.testbroker iobroker upload [3] notificationforandroidtv.admin /opt/iobroker/node_modules/iobroker.notificationforandroidtv/admin/index_m.html index_m.html text/html
2024-01-09 14:30:57.635 - info: host.testbroker iobroker upload [2] notificationforandroidtv.admin /opt/iobroker/node_modules/iobroker.notificationforandroidtv/admin/notificationforandroidtv.png notificationforandroidtv.png image/png
2024-01-09 14:30:57.661 - info: host.testbroker iobroker upload [1] notificationforandroidtv.admin /opt/iobroker/node_modules/iobroker.notificationforandroidtv/admin/style.css style.css text/css
2024-01-09 14:30:57.687 - info: host.testbroker iobroker upload [0] notificationforandroidtv.admin /opt/iobroker/node_modules/iobroker.notificationforandroidtv/admin/words.js words.js application/javascript
2024-01-09 14:30:57.760 - info: host.testbroker iobroker Update "system.adapter.notificationforandroidtv.0"
2024-01-09 14:30:58.797 - info: host.testbroker iobroker exit 0
2024-01-09 14:30:58.797 - info: host.testbroker iobroker exit 0
2024-01-09 14:31:39.323 - info: host.testbroker "system.adapter.notificationforandroidtv.0" enabled
2024-01-09 14:31:39.472 - info: host.testbroker instance system.adapter.notificationforandroidtv.0 started with pid 4952
2024-01-09 14:31:39.323 - info: host.testbroker "system.adapter.notificationforandroidtv.0" enabled
2024-01-09 14:31:39.472 - info: host.testbroker instance system.adapter.notificationforandroidtv.0 started with pid 4952
2024-01-09 14:31:41.238 - info: notificationforandroidtv.0 (4952) starting. Version 2.3.0 (non-npm: DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d) in /opt/iobroker/node_modules/iobroker.notificationforandroidtv, node: v20.10.0, js-controller: 5.0.17
2024-01-09 14:31:41.252 - error: notificationforandroidtv.0 (4952) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:31:41.257 - error: notificationforandroidtv.0 (4952) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:31:41.257 - error: notificationforandroidtv.0 (4952) unhandled promise rejection: Cannot read properties of undefined (reading 'error')
2024-01-09 14:31:41.257 - error: notificationforandroidtv.0 (4952) TypeError: Cannot read properties of undefined (reading 'error')
at Notificationforandroidtv.onReady (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:338:22)
at Notificationforandroidtv.emit (node:events:514:28)
at Notificationforandroidtv._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9118:18)
at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9097:26
2024-01-09 14:31:41.258 - error: notificationforandroidtv.0 (4952) Cannot read properties of undefined (reading 'error')
2024-01-09 14:31:41.252 - error: notificationforandroidtv.0 (4952) unhandled promise rejection: Cannot read properties of undefined (reading 'error')
2024-01-09 14:31:41.255 - error: notificationforandroidtv.0 (4952) TypeError: Cannot read properties of undefined (reading 'error')
at Notificationforandroidtv.onReady (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:338:22)
at Notificationforandroidtv.emit (node:events:514:28)
at Notificationforandroidtv._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9118:18)
at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9097:26
2024-01-09 14:31:41.256 - error: notificationforandroidtv.0 (4952) Cannot read properties of undefined (reading 'error')
2024-01-09 14:31:41.256 - info: notificationforandroidtv.0 (4952) registerNotification not processed because States database not connected
2024-01-09 14:31:41.280 - info: notificationforandroidtv.0 (4952) terminating
2024-01-09 14:31:41.280 - warn: notificationforandroidtv.0 (4952) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-01-09 14:31:41.419 - error: notificationforandroidtv.0 (4952) notificationforandroidtv.0 already running
2024-01-09 14:31:41.420 - warn: notificationforandroidtv.0 (4952) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
2024-01-09 14:31:41.759 - info: notificationforandroidtv.0 (4952) terminating
2024-01-09 14:31:41.781 - info: notificationforandroidtv.0 (4952) terminating
2024-01-09 14:31:41.907 - error: host.testbroker instance system.adapter.notificationforandroidtv.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2024-01-09 14:31:41.907 - info: host.testbroker Restart adapter system.adapter.notificationforandroidtv.0 because enabled
2024-01-09 14:31:41.238 - info: notificationforandroidtv.0 (4952) starting. Version 2.3.0 (non-npm: DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d) in /opt/iobroker/node_modules/iobroker.notificationforandroidtv, node: v20.10.0, js-controller: 5.0.17
2024-01-09 14:31:41.252 - error: notificationforandroidtv.0 (4952) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:31:41.257 - error: notificationforandroidtv.0 (4952) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:31:41.257 - error: notificationforandroidtv.0 (4952) unhandled promise rejection: Cannot read properties of undefined (reading 'error')
2024-01-09 14:31:41.257 - error: notificationforandroidtv.0 (4952) TypeError: Cannot read properties of undefined (reading 'error')
at Notificationforandroidtv.onReady (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:338:22)
at Notificationforandroidtv.emit (node:events:514:28)
at Notificationforandroidtv._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9118:18)
at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9097:26
2024-01-09 14:31:41.258 - error: notificationforandroidtv.0 (4952) Cannot read properties of undefined (reading 'error')
2024-01-09 14:31:41.252 - error: notificationforandroidtv.0 (4952) unhandled promise rejection: Cannot read properties of undefined (reading 'error')
2024-01-09 14:31:41.255 - error: notificationforandroidtv.0 (4952) TypeError: Cannot read properties of undefined (reading 'error')
at Notificationforandroidtv.onReady (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:338:22)
at Notificationforandroidtv.emit (node:events:514:28)
at Notificationforandroidtv._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9118:18)
at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9097:26
2024-01-09 14:31:41.256 - error: notificationforandroidtv.0 (4952) Cannot read properties of undefined (reading 'error')
2024-01-09 14:31:41.256 - info: notificationforandroidtv.0 (4952) registerNotification not processed because States database not connected
2024-01-09 14:31:41.280 - info: notificationforandroidtv.0 (4952) terminating
2024-01-09 14:31:41.280 - warn: notificationforandroidtv.0 (4952) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-01-09 14:31:41.419 - error: notificationforandroidtv.0 (4952) notificationforandroidtv.0 already running
2024-01-09 14:31:41.420 - warn: notificationforandroidtv.0 (4952) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
2024-01-09 14:31:41.759 - info: notificationforandroidtv.0 (4952) terminating
2024-01-09 14:31:41.781 - info: notificationforandroidtv.0 (4952) terminating
2024-01-09 14:31:41.907 - error: host.testbroker instance system.adapter.notificationforandroidtv.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2024-01-09 14:31:41.907 - info: host.testbroker Restart adapter system.adapter.notificationforandroidtv.0 because enabled
2024-01-09 14:31:51.796 - info: host.testbroker "system.adapter.notificationforandroidtv.0" disabled
2024-01-09 14:31:51.796 - info: host.testbroker "system.adapter.notificationforandroidtv.0" disabled
2024-01-09 14:32:14.168 - error: notificationforandroidtv.0 (5167) adapter disabled
2024-01-09 14:32:14.187 - warn: notificationforandroidtv.0 (5167) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason
2024-01-09 14:32:14.168 - error: notificationforandroidtv.0 (5167) adapter disabled
2024-01-09 14:32:14.187 - warn: notificationforandroidtv.0 (5167) Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason
2024-01-09 14:32:14.818 - error: host.testbroker instance system.adapter.notificationforandroidtv.0 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND)
2024-01-09 14:32:14.831 - info: host.testbroker Do not restart adapter system.adapter.notificationforandroidtv.0 because disabled or deleted
2024-01-09 14:32:14.818 - error: host.testbroker instance system.adapter.notificationforandroidtv.0 terminated with code 3 (NO_ADAPTER_CONFIG_FOUND)
2024-01-09 14:32:14.831 - info: host.testbroker Do not restart adapter system.adapter.notificationforandroidtv.0 because disabled or deleted
2024-01-09 14:32:55.067 - info: host.testbroker "system.adapter.notificationforandroidtv.0" enabled
2024-01-09 14:32:55.164 - info: host.testbroker instance system.adapter.notificationforandroidtv.0 started with pid 5433
2024-01-09 14:32:55.067 - info: host.testbroker "system.adapter.notificationforandroidtv.0" enabled
2024-01-09 14:32:55.164 - info: host.testbroker instance system.adapter.notificationforandroidtv.0 started with pid 5433
2024-01-09 14:32:57.362 - info: notificationforandroidtv.0 (5433) starting. Version 2.3.0 (non-npm: DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d) in /opt/iobroker/node_modules/iobroker.notificationforandroidtv, node: v20.10.0, js-controller: 5.0.17
2024-01-09 14:32:57.556 - info: notificationforandroidtv.0 (5433) starting. Version 2.3.0 (non-npm: DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d) in /opt/iobroker/node_modules/iobroker.notificationforandroidtv, node: v20.10.0, js-controller: 5.0.17
2024-01-09 14:32:57.984 - error: notificationforandroidtv.0 (5433) uncaught exception: Unexpected end of JSON input
2024-01-09 14:32:57.993 - error: notificationforandroidtv.0 (5433) uncaught exception: Unexpected end of JSON input
2024-01-09 14:32:57.992 - error: notificationforandroidtv.0 (5433) SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Notificationforandroidtv.onStateChange (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:382:21)
at Notificationforandroidtv.emit (node:events:514:28)
at Immediate. (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8516:53)
at process.processImmediate (node:internal/timers:478:21)
2024-01-09 14:32:57.993 - error: notificationforandroidtv.0 (5433) Unexpected end of JSON input
2024-01-09 14:32:57.993 - error: notificationforandroidtv.0 (5433) SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Notificationforandroidtv.onStateChange (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:382:21)
at Notificationforandroidtv.emit (node:events:514:28)
at Immediate. (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8516:53)
at process.processImmediate (node:internal/timers:478:21)
2024-01-09 14:32:57.994 - error: notificationforandroidtv.0 (5433) Unexpected end of JSON input
2024-01-09 14:32:58.000 - info: notificationforandroidtv.0 (5433) terminating
2024-01-09 14:32:58.001 - warn: notificationforandroidtv.0 (5433) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-01-09 14:32:58.500 - info: notificationforandroidtv.0 (5433) terminating
2024-01-09 14:32:58.501 - warn: notificationforandroidtv.0 (5433) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-01-09 14:32:58.502 - info: notificationforandroidtv.0 (5433) terminating
2024-01-09 14:32:58.524 - error: notificationforandroidtv.0 (5433) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:32:58.532 - error: notificationforandroidtv.0 (5433) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:32:58.531 - error: notificationforandroidtv.0 (5433) unhandled promise rejection: Connection is closed.
2024-01-09 14:32:58.532 - error: notificationforandroidtv.0 (5433) Error: Connection is closed.
at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
at Object.onceWrapper (node:events:629:26)
at Socket.emit (node:events:514:28)
at TCP. (node:net:337:12)
2024-01-09 14:32:58.532 - error: notificationforandroidtv.0 (5433) Connection is closed.
2024-01-09 14:32:58.532 - error: notificationforandroidtv.0 (5433) unhandled promise rejection: Connection is closed.
2024-01-09 14:32:58.532 - error: notificationforandroidtv.0 (5433) Error: Connection is closed.
at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
at Object.onceWrapper (node:events:629:26)
at Socket.emit (node:events:514:28)
at TCP. (node:net:337:12)
2024-01-09 14:32:58.533 - error: notificationforandroidtv.0 (5433) Connection is closed.
2024-01-09 14:32:58.609 - error: host.testbroker instance system.adapter.notificationforandroidtv.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2024-01-09 14:32:58.609 - info: host.testbroker Restart adapter system.adapter.notificationforandroidtv.0 because enabled
2024-01-09 14:32:57.362 - info: notificationforandroidtv.0 (5433) starting. Version 2.3.0 (non-npm: DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d) in /opt/iobroker/node_modules/iobroker.notificationforandroidtv, node: v20.10.0, js-controller: 5.0.17
2024-01-09 14:32:57.556 - info: notificationforandroidtv.0 (5433) starting. Version 2.3.0 (non-npm: DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d) in /opt/iobroker/node_modules/iobroker.notificationforandroidtv, node: v20.10.0, js-controller: 5.0.17
2024-01-09 14:32:57.984 - error: notificationforandroidtv.0 (5433) uncaught exception: Unexpected end of JSON input
2024-01-09 14:32:57.993 - error: notificationforandroidtv.0 (5433) uncaught exception: Unexpected end of JSON input
2024-01-09 14:32:57.992 - error: notificationforandroidtv.0 (5433) SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Notificationforandroidtv.onStateChange (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:382:21)
at Notificationforandroidtv.emit (node:events:514:28)
at Immediate. (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8516:53)
at process.processImmediate (node:internal/timers:478:21)
2024-01-09 14:32:57.993 - error: notificationforandroidtv.0 (5433) Unexpected end of JSON input
2024-01-09 14:32:57.993 - error: notificationforandroidtv.0 (5433) SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Notificationforandroidtv.onStateChange (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:382:21)
at Notificationforandroidtv.emit (node:events:514:28)
at Immediate. (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:8516:53)
at process.processImmediate (node:internal/timers:478:21)
2024-01-09 14:32:57.994 - error: notificationforandroidtv.0 (5433) Unexpected end of JSON input
2024-01-09 14:32:58.000 - info: notificationforandroidtv.0 (5433) terminating
2024-01-09 14:32:58.001 - warn: notificationforandroidtv.0 (5433) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-01-09 14:32:58.500 - info: notificationforandroidtv.0 (5433) terminating
2024-01-09 14:32:58.501 - warn: notificationforandroidtv.0 (5433) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-01-09 14:32:58.502 - info: notificationforandroidtv.0 (5433) terminating
2024-01-09 14:32:58.524 - error: notificationforandroidtv.0 (5433) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:32:58.532 - error: notificationforandroidtv.0 (5433) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:32:58.531 - error: notificationforandroidtv.0 (5433) unhandled promise rejection: Connection is closed.
2024-01-09 14:32:58.532 - error: notificationforandroidtv.0 (5433) Error: Connection is closed.
at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
at Object.onceWrapper (node:events:629:26)
at Socket.emit (node:events:514:28)
at TCP. (node:net:337:12)
2024-01-09 14:32:58.532 - error: notificationforandroidtv.0 (5433) Connection is closed.
2024-01-09 14:32:58.532 - error: notificationforandroidtv.0 (5433) unhandled promise rejection: Connection is closed.
2024-01-09 14:32:58.532 - error: notificationforandroidtv.0 (5433) Error: Connection is closed.
at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
at Socket. (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
at Object.onceWrapper (node:events:629:26)
at Socket.emit (node:events:514:28)
at TCP. (node:net:337:12)
2024-01-09 14:32:58.533 - error: notificationforandroidtv.0 (5433) Connection is closed.
2024-01-09 14:32:58.609 - error: host.testbroker instance system.adapter.notificationforandroidtv.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2024-01-09 14:32:58.609 - info: host.testbroker Restart adapter system.adapter.notificationforandroidtv.0 because enabled
2024-01-09 14:33:28.698 - info: host.testbroker instance system.adapter.notificationforandroidtv.0 started with pid 5654
2024-01-09 14:33:28.698 - info: host.testbroker instance system.adapter.notificationforandroidtv.0 started with pid 5654
2024-01-09 14:33:30.709 - info: notificationforandroidtv.0 (5654) starting. Version 2.3.0 (non-npm: DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d) in /opt/iobroker/node_modules/iobroker.notificationforandroidtv, node: v20.10.0, js-controller: 5.0.17
2024-01-09 14:33:30.723 - error: notificationforandroidtv.0 (5654) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:33:30.727 - error: notificationforandroidtv.0 (5654) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:33:30.729 - error: notificationforandroidtv.0 (5654) unhandled promise rejection: Cannot read properties of undefined (reading 'error')
2024-01-09 14:33:30.729 - error: notificationforandroidtv.0 (5654) TypeError: Cannot read properties of undefined (reading 'error')
at Notificationforandroidtv.onReady (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:338:22)
at Notificationforandroidtv.emit (node:events:514:28)
at Notificationforandroidtv._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9118:18)
at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9097:26
2024-01-09 14:33:30.730 - error: notificationforandroidtv.0 (5654) Cannot read properties of undefined (reading 'error')
2024-01-09 14:33:30.724 - error: notificationforandroidtv.0 (5654) unhandled promise rejection: Cannot read properties of undefined (reading 'error')
2024-01-09 14:33:30.726 - error: notificationforandroidtv.0 (5654) TypeError: Cannot read properties of undefined (reading 'error')
at Notificationforandroidtv.onReady (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:338:22)
at Notificationforandroidtv.emit (node:events:514:28)
at Notificationforandroidtv._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9118:18)
at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9097:26
2024-01-09 14:33:30.726 - error: notificationforandroidtv.0 (5654) Cannot read properties of undefined (reading 'error')
2024-01-09 14:33:30.727 - info: notificationforandroidtv.0 (5654) registerNotification not processed because States database not connected
2024-01-09 14:33:30.737 - info: notificationforandroidtv.0 (5654) terminating
2024-01-09 14:33:30.738 - warn: notificationforandroidtv.0 (5654) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-01-09 14:33:31.194 - error: notificationforandroidtv.0 (5654) notificationforandroidtv.0 already running
2024-01-09 14:33:31.195 - warn: notificationforandroidtv.0 (5654) Terminated (ADAPTER_ALREADY_RUNNING): Without reason
2024-01-09 14:33:31.233 - info: notificationforandroidtv.0 (5654) terminating
2024-01-09 14:33:31.238 - info: notificationforandroidtv.0 (5654) terminating
2024-01-09 14:33:31.371 - error: host.testbroker instance system.adapter.notificationforandroidtv.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
2024-01-09 14:33:31.371 - info: host.testbroker Restart adapter system.adapter.notificationforandroidtv.0 because enabled
2024-01-09 14:33:31.371 - warn: host.testbroker Do not restart adapter system.adapter.notificationforandroidtv.0 because restart loop detected
2024-01-09 14:33:30.709 - info: notificationforandroidtv.0 (5654) starting. Version 2.3.0 (non-npm: DNAngelX/ioBroker.notificationforandroidtv#d9fc47833dbc17e1a499494050b2df31bf7ec23d) in /opt/iobroker/node_modules/iobroker.notificationforandroidtv, node: v20.10.0, js-controller: 5.0.17
2024-01-09 14:33:30.723 - error: notificationforandroidtv.0 (5654) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:33:30.727 - error: notificationforandroidtv.0 (5654) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2024-01-09 14:33:30.729 - error: notificationforandroidtv.0 (5654) unhandled promise rejection: Cannot read properties of undefined (reading 'error')
2024-01-09 14:33:30.729 - error: notificationforandroidtv.0 (5654) TypeError: Cannot read properties of undefined (reading 'error')
at Notificationforandroidtv.onReady (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:338:22)
at Notificationforandroidtv.emit (node:events:514:28)
at Notificationforandroidtv._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9118:18)
at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9097:26
2024-01-09 14:33:30.730 - error: notificationforandroidtv.0 (5654) Cannot read properties of undefined (reading 'error')
2024-01-09 14:33:30.724 - error: notificationforandroidtv.0 (5654) unhandled promise rejection: Cannot read properties of undefined (reading 'error')
2024-01-09 14:33:30.726 - error: notificationforandroidtv.0 (5654) TypeError: Cannot read properties of undefined (reading 'error')
at Notificationforandroidtv.onReady (/opt/iobroker/node_modules/iobroker.notificationforandroidtv/main.js:338:22)
at Notificationforandroidtv.emit (node:events:514:28)
at Notificationforandroidtv._callReadyHandler (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9118:18)
at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:9097:26
2024-01-09 14:33:30.726 - error: notificationforandroidtv.0 (5654) Cannot read properties of undefined (reading 'error')
2024-01-09 14:33:30.727 - info: notificationforandroidtv.0 (5654) registerNotification not processed because States database not connected
2024-01-09 14:33:30.737 - info: notificationforandroidtv.0 (5654) terminating
2024-01-09 14:33:30.738 - warn: notificationforandroidtv.0 (5654) Terminated (UNCAUGHT_EXCEPTION): Without reason
2024-01-09 14:33:31.194 - error: notificationforandroidtv.0 (5654) notificationforandroidtv.0 already running
2024-01-09 14:33:31.195 - warn: notificationforandroidtv.0 (5654) Terminated (ADAPTER_ALREADY_RUNNING): Without reason

`

Update stable version in repo from 0.0.0 to 3.0.4

Think about adding version 3.0.4 to stable repository.

Version: stable=0.0.0 (0 days old) => latest=3.0.4 (30 days old)
Installs: stable=0 (0%), latest=18 (39.13%), total=46

Click to use developer portal
Click to edit

Do not close this issue manually as a new issue will be created if condition for update still exists.

Please drop a comment if any reason exists which blocks updating to version 3.0.4 at this time.

Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.