Giter Site home page Giter Site logo

iobroker.discovery's Introduction

Logo

ioBroker Discover Adapter

Number of Installations Number of Installations NPM version

Test and Release Translation status Downloads Detect devices with all known methods.

This is a special adapter that tries to find all possible devices that can be reachable from the iobroker host. Just now it can detect via ping, UPnP (serial planned).

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

Actually supported

Automatically Discovered

  • Air-Q
  • Beckhoff PLC
  • Bosch Smart Home
  • Bose Soundtouch
  • Broadlink
  • BSBLan
  • Chromecast
  • Daikin climate control
  • deConz
  • Denon /Marantz
  • DoorBird
  • e3dc-rscp
  • ebus
  • ekey
  • energymanager (E.ON/Solarwatt)
  • enet (Jung)
  • Epson Stylus PX830
  • Fakeroku (harmony)
  • FHEM
  • FireTV
  • Fritzdect
  • Fronius
  • Frontier_silicon
  • G-Homa plugs
  • Harmony
  • Heos
  • Home Assistant
  • Homematic CCU (hm-rpc, hm-rega)
  • Homepilot
  • HP-lio
  • Philips HUE
  • Plex
  • InfluxDB
  • KLF-200
  • KNX (disabled actually)
  • Keba KeContact P30
  • Kodi
  • LaMetric
  • Landroid
  • LGTV
  • Lightify
  • Loxone
  • Lupusec
  • MAX! Cube
  • McLighting
  • MegaD
  • Miele
  • Miele Cloud Service
  • Mi Home Smarthome
  • Mikrotik
  • MiLight bridge (v6)
  • Mpd
  • Musiccast
  • myDlink
  • Mysensors USB/Serial (9600, 38400, 57600, 115200)
  • myvbus
  • nanoleaf Light Panels / Canvas
  • Net Tools
  • Nuki2
  • Nut
  • Onkyo
  • OpenHAB
  • OpenKNX
  • Ping
  • Plex
  • Proxmox
  • RFLink (Serial 57600baud)
  • SamsungTV
  • Sma-em
  • Smappee
  • Solarlog
  • Sonnen
  • Sonos
  • Stiebel-Eltron/Tecalor ISG (plus)
  • SQL (MySQL, MSSQL, PostgreSQL)
  • Squeezebox
  • SqueezeboxRPC
  • Synology
  • TR-064
  • Trådfri
  • UPnP
  • ValloxMV
  • Wifilight
  • WLED
  • Yamaha
  • Yeelight
  • Z-wave USB (Tested with Aeon Labs)

Offered as additional adapters

  • Cloud
  • History (if no SQL or InfluxDB found)
  • IoT
  • iControl
  • eCharts (offered when a History-Adapter is present)
  • JavaScript
  • Info
  • Vis
  • Web

If the adapter cannot find IPs ...

The adapter pings the network of the IP of the current host (x.y.z.1..255). Additionally, UPnP and mDNS are used to detect IPs.
If not all IPs are found then please check that the iobroker user can execute /bin/ping. You can execute sudo setcap cap_net_raw+p /bin/ping to add missing capabilities/permissions.

Todo

  • artnet? (Bluefox)
  • B-Control-Em? (Bluefox)
  • cul / maxcul (Bluefox)
  • Foobar200 (Instalator)
  • fritzbox (ruhr70)
  • km200 (frankjoke)
  • megaesp (ausHaus)
  • modbus (Bluefox)
  • mqtt/mqtt-client (Bluefox)
  • owfs (Bluefox)
  • rpi2 (if ioBroker runs on Raspberry)
  • rwe-smarthome (PArns)
  • s7 (Bluefox)
  • smartmeter (Apollon77)
  • unifi (jens-maus)
  • wolf (smiling-jack)
  • xs1 (frankjoke)

Changelog

4.5.0 (2024-04-21)

  • (pr0crstntr) Added Air-Q

4.4.0 (2024-02-23)

  • (klein0r) Added WLED
  • (klein0r) Added LaMetric
  • (Jey-Cee) Removed net-tools from proposals

4.3.0 (2024-02-21)

  • (bluefox) Replaced vis with vis-2

4.2.0 (2023-10-09)

  • (pdbjjens) Changed detection of myvbus and resol

4.1.0 (2023-09-25)

  • (pdbjjens) Added detection of myvbus and resol

License

The MIT License (MIT)

Copyright (c) 2017-2024, Denis Haev ak Bluefox [email protected]

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.discovery's People

Contributors

alcalzone avatar apollon77 avatar aushaus avatar dependabot[bot] avatar dkleber89 avatar forelleblau avatar foxriver76 avatar foxthefox avatar germanbluefox avatar haba1234 avatar hacki11 avatar instalator avatar jey-cee avatar klein0r avatar ldittmar81 avatar maag-da avatar meistertr avatar mischroe avatar palmmaniac avatar pdbjjens avatar pix--- avatar rg-engineering avatar sbormann avatar sebastianschultz avatar sneak-l8 avatar soef avatar thewhobox avatar unclesamswiss avatar unltdnetworx avatar zefau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

iobroker.discovery's Issues

Verify Compact mode for your adapter

We have detected that your adapter supports the compact mode. Please use the latest js-controller 2.0 and verify that everything works.

Some more information what is important to check can be found at ioBroker/ioBroker.js-controller#512

On questions please answer to the linked issue. Please close this issue after your test and add the version number that you have tested please as a comment.

Thank you for your support.

G-Homa plug detected as wifilight

Describe the bug
The G-Homa plug is detected as wifilight during the discovery process.

To Reproduce
Steps to reproduce the behavior:

  1. connect G-Homa plug to wifi
  2. start discovery process

Expected behavior
Discovery should show G-Homa Adapter instead wifilight.

Versions:
N/A - issue was reported by a user

Add Ssdp M-Search support

I see there is an upnp method but i think it could be better.
As for now: Upnp makes an sspd:all search and adds the device with type=ip.
Now every adapter does an ssdp serach request for it self for every device!
That is not quite efficient?

You should add the devices as type=upnp (duplicate ips are possible) and the adapters should only react to type=upnp so they dont need to do an discover by them self.

I will have a look on it in a few days to find a better solution.
Or any suggestions from you?

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/ioBroker/ioBroker.discovery

  • [E152] common.dataSource type has an invalid type none
  • [E605] No actual year found in copyright. Please add "Copyright (c) 2017-2022 bluefox [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2017-2022 bluefox [email protected]" at the start of LICENSE

I have also found warnings that may be fixed if possible.

  • [W801] .npmignore not found

Thanks,
your automatic adapter checker.

SyntaxError: Missing initializer in const declaration

Describe the bug
When opening setting of discovery adapter the following error is reported:

discovery.0 2021-06-08 19:32:16.457 warn SyntaxError: Missing initializer in const declaration
discovery.0 2021-06-08 19:32:16.457 warn ^^^^^^^^^^^^^^^^
discovery.0 2021-06-08 19:32:16.457 warn const systemDictionary;
discovery.0 2021-06-08 19:32:16.457 warn (5247) /opt/iobroker/node_modules/iobroker.discovery/admin/words.js:6

To Reproduce
Latest verison of adapter from git
Open settings in instance tab.
Error is printed in log and settings screen is almost empty.

Expected behavior
Correct settings display.

Screenshots & Logfiles
see above

Versions:

  • Adapter version: 2.6.3
  • JS-Controller version: 3.2.16
  • Node version: 12.22.1
  • Operating system: linux

Additional context
Just tried to add discovery for Keba KeContact P30 (kecontact adapter) in my fork.

warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005

Admin 5.1.25
Discovery Adapater 2.7.2

Steps to reproduce

  • Update discovery Adapter form 2.7.2 to 2.7.3

Log file during update: with warning in the beginning:

$ iobroker upgrade [email protected]

Update discovery from @2.7.2 to @2.7.3

NPM version: 6.14.15npm install [email protected] --loglevel error --prefix "/opt/iobroker" (System call)

../src/serialport_unix.cpp: In function 'int setup(int, OpenBaton*)':../src/serialport_unix.cpp:166:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] int setup(int fd, OpenBaton *data) { ^~~~~

In file included from /usr/include/stdio.h:862:0, from ../src/serialport.h:10, from ../src/serialport_unix.cpp:2:/usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: '__builtin___snprintf_chk' output 20 or more bytes (assuming 1043) into a destination of size 1024 __bos (__s), __fmt, __va_arg_pack ()); ^

../src/serialport_unix.cpp: In function 'void EIO_Open(uv_work_t*)':../src/serialport_unix.cpp:79:6: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] void EIO_Open(uv_work_t* req) { ^~~~~~~~

In file included from /usr/include/stdio.h:862:0, from ../src/serialport.h:10, from ../src/serialport_unix.cpp:2:/usr/include/x86_64-linux-gnu/bits/stdio2.h:65:44: note: '__builtin___snprintf_chk' output 22 or more bytes (assuming 1045) into a destination of size 1024 __bos (__s), __fmt, __va_arg_pack ()); ^

upload [16] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/words.js words.js application/javascript

upload [15] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/translateTools.js translateTools.js application/javascript

upload [14] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings_m.html settings_m.html text/html

upload [13] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings.html settings.html text/html

upload [12] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index_m.html index_m.html text/html

upload [11] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index.html index.html text/html

upload [10] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json

upload [9] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/i18n/ru/translations.json i18n/ru/translations.json application/json

upload [8] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/i18n/pt/translations.json i18n/pt/translations.json application/json

upload [7] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/i18n/pl/translations.json i18n/pl/translations.json application/json

upload [6] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/i18n/nl/translations.json i18n/nl/translations.json application/json

upload [5] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/i18n/it/translations.json i18n/it/translations.json application/json

upload [4] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/i18n/fr/translations.json i18n/fr/translations.json application/json

upload [3] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/i18n/es/translations.json i18n/es/translations.json application/json

upload [2] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/i18n/en/translations.json i18n/en/translations.json application/json

upload [1] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/i18n/de/translations.json i18n/de/translations.json application/json

upload [0] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/discovery.png discovery.png image/png

Adapter "discovery" updated

Process exited with code 0

The function udpScan returns null

2020-04-14 20:05:34.023 - debug: discovery.0 (4256) Test udp 255.255.255.255 daikin
2020-04-14 20:05:34.025 - debug: discovery.0 (4256) Test udp 255.255.255.255 ekey
2020-04-14 20:05:34.026 - debug: discovery.0 (4256) Test udp 255.255.255.255 emby
2020-04-14 20:05:34.027 - debug: discovery.0 (4256) Test udp 255.255.255.255 knx
2020-04-14 20:05:34.027 - debug: discovery.0 (4256) Test udp 255.255.255.255 maxcube
2020-04-14 20:05:34.028 - debug: discovery.0 (4256) Test udp 255.255.255.255 mihome
2020-04-14 20:05:34.028 - debug: discovery.0 (4256) Test udp 255.255.255.255 onkyo
Discovery finished:192.168.88.24:60128 - ISCP � &� !1ECNTX-NR818/60128/XX/0009B0470A3C�

if (callback) callback(null, message.toString());
callback = null;

if (callback) callback(err, null);

if (callback) callback(null, message.toString());

Discovery adapter crashes when testing for proxmox

Describe the bug
The discovery adapter process crashes during discovery of possible searches. It finds a number of devices and tries to discover the services. The process crashes and restarts. No further progress is shown on the web page.

To Reproduce
Steps to reproduce the behavior:

  1. Start a new search in the configuration page of the discovery adapter (Ping is the only selected option)
  2. After a while the progress bar doesn't move any more and some errors are logged to the logging (see below)

Expected behavior

  1. The proxmox supporting library shouldn't crash itself.
  2. The discovery adapter shouldn't crash if one of its supporting libraries crashes.

Desktop (please complete the following information):

  • OS: Microsoft Windows [Version 10.0.17134.228], 64bit

Additional context
Copy from the log:

Source          Time                    Level   Message
discovery.0	2018-09-13 09:45:10.410	info	terminating
discovery.0	2018-09-13 09:45:09.890	error	at Function.Module._load (module.js:438:3)
discovery.0	2018-09-13 09:45:09.890	error	at tryModuleLoad (module.js:446:12)
discovery.0	2018-09-13 09:45:09.890	error	at Module.load (module.js:487:32)
discovery.0	2018-09-13 09:45:09.890	error	at Object.Module._extensions..js (module.js:579:10)
discovery.0	2018-09-13 09:45:09.890	error	at Module._compile (module.js:570:32)
discovery.0	2018-09-13 09:45:09.890	error	at Object.<anonymous> (C:\iobroker_dev\node_modules\iobroker.discovery\lib\adapters\proxmox.js:3:17)
discovery.0	2018-09-13 09:45:09.890	error	at require (internal/module.js:20:19)
discovery.0	2018-09-13 09:45:09.890	error	at Module.require (module.js:497:17)
discovery.0	2018-09-13 09:45:09.890	error	at Function.Module._load (module.js:417:25)
discovery.0	2018-09-13 09:45:09.890	error	at Function.Module._resolveFilename (module.js:469:15)
discovery.0	2018-09-13 09:45:09.890	error	Error: Cannot find module 'request'
discovery.0	2018-09-13 09:45:09.890	error	uncaught exception: Cannot find module 'request'

Adding support for openknx

I have implemented a udp search algorithm for knx interfaces.
Please advise how to proceed with my code change.

Please check ioBroker.discovery with js-controller 2.0

Hi,

the new js-controller 2.0 will come into latest repository in the next days and we want to make sure that all adapters are working well. We already did a 2 weeks Beta test and so some adapter were aleady checked and some needed slight adjustments.

You can find more information in ioBroker/ioBroker.js-controller#482 and in the ioBroker Forum. If you have more technical questions please write in the referenced issue or in the Developer thread please. General questions are best in the genral thread.

Please update your systems to js-controller 2.0 and check your adapter.

Please close this issue once you have checked your adapter or received successfull reports from users.

Thank you very much for your support. Please contact us in the other Threads or Forum on any question.

Compatibility check and testing for Node.js 14 and 16

Dear Adapter developer,

Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.

Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16

Please add both versions to the adapter testing which is executed on commits.

If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!

On questions please talk to us at ioBroker/ioBroker.js-controller#1138

Please close the issue after you checked it.

Thank you very much for your support!

WLED devices detected as hue

Describe the bug
WLED ESP devices are detected as hue device.

To Reproduce
Steps to reproduce the behavior:

  1. connect WLED to wifi
  2. start discovery process

Expected behavior
WLED device should be ignored or detected as WLED.

Versions:
N/A - was reported by a user

Installing adapter doesn't work

Describe the bug
I wanted to add the Twinkly adapter to the discoverable adapters but by trying to install the adapter I ended up with an empty instance. As I thought there might be an error with my added code I tried to install different adapters but with the same result. The Admin view is not even available as if the adapter wasn't installed properly.
If I deinstall the broken adapter and reinstall it manually it works.

To Reproduce
Steps to reproduce the behavior:

  1. Discover adapters
  2. Check instance with keyword "new" in description
  3. install
  4. See error

Expected behavior
Working instance of the adapter.

Screenshots & Logfiles
image
image
image

Install through discovery

2021-09-04 19:08:22.911 - info: host.raspberrypi iobroker install fritzdect
2021-09-04 19:08:26.388 - info: host.raspberrypi iobroker NPM version: 6.14.9
2021-09-04 19:08:26.390 - info: host.raspberrypi iobroker npm install [email protected] --loglevel error --prefix "/opt/iobroker" (System call)
2021-09-04 19:09:46.841 - info: host.raspberrypi iobroker host.raspberrypi install adapter fritzdect
2021-09-04 19:09:46.899 - info: host.raspberrypi iobroker upload [4] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/words.js words.js application/javascript
2021-09-04 19:09:47.019 - info: host.raspberrypi iobroker upload [3] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/style.css style.css text/css
2021-09-04 19:09:47.082 - info: host.raspberrypi iobroker upload [2] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/index_m.html index_m.html text/html
2021-09-04 19:09:47.221 - info: host.raspberrypi iobroker upload [1] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/fritzdect_logo.png fritzdect_logo.png image/png
2021-09-04 19:09:47.338 - info: host.raspberrypi iobroker upload [0] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/admin.d.ts admin.d.ts video/mp2t
2021-09-04 19:09:48.780 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect created/updated
2021-09-04 19:09:49.953 - info: host.raspberrypi iobroker exit 0

Manual Install

2021-09-04 19:34:20.024 - info: host.raspberrypi iobroker add fritzdect --host raspberrypi
2021-09-04 19:34:24.479 - info: host.raspberrypi iobroker NPM version: 6.14.9
2021-09-04 19:34:24.481 - info: host.raspberrypi iobroker npm install [email protected] --loglevel error --prefix "/opt/iobroker" (System call)
2021-09-04 19:35:00.996 - info: host.raspberrypi instance system.adapter.dwd.0 started with pid 23927
2021-09-04 19:35:09.432 - info: host.raspberrypi instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
2021-09-04 19:36:10.621 - info: host.raspberrypi iobroker host.raspberrypi install adapter fritzdect
2021-09-04 19:36:10.681 - info: host.raspberrypi iobroker upload [4] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/words.js words.js application/javascript
2021-09-04 19:36:10.803 - info: host.raspberrypi iobroker upload [3] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/style.css style.css text/css
2021-09-04 19:36:10.864 - info: host.raspberrypi iobroker upload [2] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/index_m.html index_m.html text/html
2021-09-04 19:36:10.925 - info: host.raspberrypi iobroker upload [1] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/fritzdect_logo.png fritzdect_logo.png image/png
2021-09-04 19:36:10.985 - info: host.raspberrypi iobroker upload [0] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/admin.d.ts admin.d.ts video/mp2t
2021-09-04 19:36:11.933 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect created/updated
2021-09-04 19:36:12.565 - info: host.raspberrypi iobroker host.raspberrypi create instance fritzdect
2021-09-04 19:36:12.595 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.logLevel created
2021-09-04 19:36:12.666 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.sigKill created
2021-09-04 19:36:12.697 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.eventLoopLag created
2021-09-04 19:36:12.747 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.outputCount created
2021-09-04 19:36:12.785 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.inputCount created
2021-09-04 19:36:12.830 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.uptime created
2021-09-04 19:36:12.868 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.memRss created
2021-09-04 19:36:12.907 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.memHeapTotal created
2021-09-04 19:36:12.947 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.memHeapUsed created
2021-09-04 19:36:12.986 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.cputime created
2021-09-04 19:36:13.026 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.cpu created
2021-09-04 19:36:13.064 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.compactMode created
2021-09-04 19:36:13.106 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.connected created
2021-09-04 19:36:13.145 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0.alive created
2021-09-04 19:36:13.200 - debug: host.raspberrypi object change system.adapter.fritzdect.0 (from: system.host.raspberrypi.cli)
2021-09-04 19:36:13.211 - info: host.raspberrypi iobroker host.raspberrypi object system.adapter.fritzdect.0 created
2021-09-04 19:36:14.405 - info: host.raspberrypi iobroker exit 0

Versions:

  • Adapter version: <2.7.2>
  • JS-Controller version: <3.3.15>
  • Node version: <v14.15.3>
  • Operating system:

Installation error in combination of discovery 2.6.2 and hue 3.5.19

Can't uprade to doscovery 2.6.2 and hue 3.5.19 at the same time. When upgrading one of both, the other falls back to previous version:

Would you like to upgrade discovery from @2.6.1 to @2.6.2 now? [(y)es, (n)o]: y Update discovery from @2.6.1 to @2.6.2 NPM version: 6.14.12 npm install [email protected] --loglevel error --prefix "/opt/iobroker" (System call) node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.8.0/canvas-v2.8.0-node-v72-linux-glibc-arm.tar.gz In file included from ../src/backend/PdfBackend.h:4, from ../src/backend/PdfBackend.cc:1: ../src/backend/../closure.h:8:10: fatal error: jpeglib.h: Datei oder Verzeichnis nicht gefunden #include <jpeglib.h> ^~~~~~~~~~~ compilation terminated. make: *** [canvas.target.mk:158: Release/obj.target/canvas/src/backend/PdfBackend.o] Fehler 1 gyp ERR! build error gyp ERR! stack Error: makefailed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23) gyp ERR! stack at ChildProcess.emit (events.js:314:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12) gyp ERR! System Linux 5.10.17-v7l+ gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72" gyp ERR! cwd /opt/iobroker/node_modules/canvas gyp ERR! node -v v12.22.1 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/opt/iobroker/node_modules/canvas/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:314:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1022:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5) node-pre-gyp ERR! System Linux 5.10.17-v7l+ node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas node-pre-gyp ERR! node -v v12.22.1 node-pre-gyp ERR! node-pre-gyp -v v1.0.5 node-pre-gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install:node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2021-07-09T08_33_47_772Z-debug.log
upload [6] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/words.js words.js application/javascript
upload [5] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/translateTools.js translateTools.js application/javascript
upload [4] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings_m.html settings_m.html text/html
upload [3] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/settings.html settings.html text/html
upload [2] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index_m.html index_m.html text/html
upload [1] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/index.html index.html text/html
upload [0] discovery.admin /opt/iobroker/node_modules/iobroker.discovery/admin/discovery.png discovery.png image/png
Adapter "discovery" updated
`

Any idea?

Thanks,

-jayvee

Release script: Action required

Hi, it looks like you are using @alcalzone/release-script to manage your releases.
When updating to the latest version, you need to remove the following line from your .github/workflows/test-and-release.yml if you want the releases to keep working:

  deploy:
    # Trigger this step only when a commit on master is tagged with a version number
    if: |
      contains(github.event.head_commit.message, '[skip ci]') == false &&
      github.event_name == 'push' &&
-     github.event.base_ref == 'refs/heads/master' &&
      startsWith(github.ref, 'refs/tags/v')

It may also look like this one:

  deploy:
    # Trigger this step only when a commit on master is tagged with a version number
    if: |
      contains(github.event.head_commit.message, '[skip ci]') == false &&
      github.event_name == 'push' &&
-     github.event.base_ref == 'refs/heads/main' &&
      startsWith(github.ref, 'refs/tags/v')

Error: "Send this information to developer : loadProfileType : SLP"

Hello,

I get following error since today:

discovergy.0 | 2019-09-01 09:13:48.971 | error | Send this information to developer : loadProfileType : SLP
-- | -- | -- | --
discovergy.0 | 2019-09-01 09:13:48.971 | error | Information received from Discovergy which is not yet part of this adapter
discovergy.0 | 2019-09-01 09:13:48.965 | error | Send this information to developer : fullSerialNumber : XXXXXXXXXX

I restarted the instance, but this did not help. I can logon at the discovergy homepage without problems. I hope you can help?

Scan process stuck at x%

Running discovery with version 2.3.1 the scan phase is not finishing at all. At some point between 91 and 98% it is stuck and nothing is happening anymore. Also the last search time is never updated:

image

In the log I can see the following entries:

discovery.0 2020-04-18 07:48:31.138 info (9936) starting. Version 2.3.1 in /opt/iobroker/node_modules/iobroker.discovery, node: v10.19.0
host.iobroker 2020-04-18 07:48:29.694 info instance system.adapter.discovery.0 started with pid 9936
host.iobroker 2020-04-18 07:47:59.661 info Restart adapter system.adapter.discovery.0 because enabled
host.iobroker 2020-04-18 07:47:59.661 info instance system.adapter.discovery.0 terminated with code 0 (NO_ERROR)
host.iobroker 2020-04-18 07:47:59.660 error Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:68:7)
host.iobroker 2020-04-18 07:47:59.660 error Caught by controller[0]: at promise.then (/opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49)
host.iobroker 2020-04-18 07:47:59.660 error Caught by controller[0]: at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
host.iobroker 2020-04-18 07:47:59.660 error Caught by controller[0]: at (anonymous function).(anonymous function) (/opt/iobroker/node_modules/iobroker.objects-redis/index.js:17:71697)
host.iobroker 2020-04-18 07:47:59.660 error Caught by controller[0]: at objects.getObject (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:2491:65)
host.iobroker 2020-04-18 07:47:59.660 error Caught by controller[0]: at adapter.getForeignObject (/opt/iobroker/node_modules/iobroker.discovery/main.js:388:13)
host.iobroker 2020-04-18 07:47:59.660 error Caught by controller[0]: at enumAdapters (/opt/iobroker/node_modules/iobroker.discovery/main.js:70:35)
host.iobroker 2020-04-18 07:47:59.659 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:25:18)
host.iobroker 2020-04-18 07:47:59.659 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:692:17)
host.iobroker 2020-04-18 07:47:59.659 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:585:3)
host.iobroker 2020-04-18 07:47:59.659 error Caught by controller[0]: at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
host.iobroker 2020-04-18 07:47:59.659 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:653:32)
host.iobroker 2020-04-18 07:47:59.658 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
host.iobroker 2020-04-18 07:47:59.658 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:723:23)
host.iobroker 2020-04-18 07:47:59.658 error Caught by controller[0]: SyntaxError: Unexpected token throw
host.iobroker 2020-04-18 07:47:59.658 error Caught by controller[0]: ^^^^^
host.iobroker 2020-04-18 07:47:59.657 error Caught by controller[0]: server.send(Buffer.from(request), 0, request.length, 3671, ip, (err, bytes) => err && throw err);
host.iobroker 2020-04-18 07:47:59.656 error Caught by controller[0]: /opt/iobroker/node_modules/iobroker.discovery/lib/adapters/knx.js:47
discovery.0 2020-04-18 07:47:59.117 info (9664) Terminated (NO_ERROR): Without reason
discovery.0 2020-04-18 07:47:59.115 info (9664) terminating
discovery.0 2020-04-18 07:47:58.607 error (9664) /opt/iobroker/node_modules/iobroker.discovery/lib/adapters/knx.js:47 server.send(Buffer.from(request), 0, request.length, 3671, ip, (err, bytes) => err && throw err);
discovery.0 2020-04-18 07:47:58.606 error (9664) uncaught exception: Unexpected token throw
discovery.0 2020-04-18 07:47:58.356 info (9664) Found 47 addresses
discovery.0 2020-04-18 07:47:58.245 info (9664) Done discovering upnp devices. 70 packages received
discovery.0 2020-04-18 07:47:58.164 info (9664) Done discovering mdns devices. 14 packages received
discovery.0 2020-04-18 07:47:57.918 info (9664) Done discovering ping devices. 34 packages received
discovery.0 2020-04-18 07:47:48.181 info (9664) Done discovering udp devices. 1 packages received
discovery.0 2020-04-18 07:47:43.244 info (9664) Discovering UPnP devices...
discovery.0 2020-04-18 07:47:43.165 info (9664) Discovering ping devices...
discovery.0 2020-04-18 07:47:43.160 info (9664) Discovering mDNS devices...
discovery.0 2020-04-18 07:42:27.788 info (9664) starting. Version 2.3.1 in /opt/iobroker/node_modules/iobroker.discovery, node: v10.19.0
host.iobroker 2020-04-18 07:42:26.428 info instance system.adapter.discovery.0 started with pid 9664

Support for rpi2 adapter

It would be very nice if I run the discovery on a Raspberry Pi, the list of suggested adapters would also show rpi2.

adapter stops at discover..

hi,
at the first start, the adapter freeze after it start search for services..
Devices are found really fast, but there found no services and freeze.
I start the debug-level with the adapter, and start discover again, now are no services, no new devices.. ( in the past there are some broadlink found.)
sorry for the big log
`

discovery.0 2018-07-28 17:44:32.603 debug system.adapter.admin.0: logging true
discovery.0 2018-07-28 17:44:06.467 debug sendTo "browse" to system.adapter.admin.0 from system.adapter.discovery.0
discovery.0 2018-07-28 17:44:06.467 debug Browse finished
discovery.0 2018-07-28 17:44:06.466 info Discovery finished
discovery.0 2018-07-28 17:44:06.443 info Discovery finished. Found new or modified 0 instances
discovery.0 2018-07-28 17:44:05.994 info Found 139 addresses
discovery.0 2018-07-28 17:44:05.950 info Done discovering upnp devices. 17 packages received
discovery.0 2018-07-28 17:44:05.878 info Done discovering mdns devices. 16 packages received
discovery.0 2018-07-28 17:43:59.959 info Done discovering wifi-mi-light devices. 11 packages received
discovery.0 2018-07-28 17:43:59.958 debug main.addDevice: ip=192.168.178.118 source=wifi-mi-light
discovery.0 2018-07-28 17:43:59.958 debug main.addDevice: ip=192.168.178.132 source=wifi-mi-light
discovery.0 2018-07-28 17:43:59.958 debug main.addDevice: ip=192.168.178.125 source=wifi-mi-light
discovery.0 2018-07-28 17:43:59.958 debug main.addDevice: ip=192.168.178.111 source=wifi-mi-light
discovery.0 2018-07-28 17:43:59.957 debug main.addDevice: ip=192.168.178.119 source=wifi-mi-light
discovery.0 2018-07-28 17:43:59.957 debug main.addDevice: ip=192.168.178.131 source=wifi-mi-light
discovery.0 2018-07-28 17:43:59.957 debug main.addDevice: ip=192.168.178.142 source=wifi-mi-light
discovery.0 2018-07-28 17:43:59.957 debug main.addDevice: ip=192.168.178.130 source=wifi-mi-light
discovery.0 2018-07-28 17:43:59.956 debug main.addDevice: ip=192.168.178.144 source=wifi-mi-light
discovery.0 2018-07-28 17:43:59.956 debug main.addDevice: ip=192.168.178.143 source=wifi-mi-light
discovery.0 2018-07-28 17:43:59.955 debug main.addDevice: ip=192.168.178.129 source=wifi-mi-light
discovery.0 2018-07-28 17:43:52.528 debug main.addDevice: ip=192.168.178.128 source=upnp
discovery.0 2018-07-28 17:43:52.527 debug UPNP Answer from 192.168.178.128 : {"_addr":"192.168.178.128","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.128:80
discovery.0 2018-07-28 17:43:52.525 debug main.addDevice: ip=192.168.49.1 source=upnp
discovery.0 2018-07-28 17:43:52.525 debug UPNP Answer from 192.168.49.1 : {"_addr":"192.168.49.1","_name":"","_upnp":{"USN":"uuid:2d122f5a-5b60-57f4-ffff-ffff903158e9::upnp:rootdevice","CACHE-CONTROL":"max-age=1800","EXT":"","ST":"upnp:rootd
discovery.0 2018-07-28 17:43:52.525 debug main.addDevice: ip=192.168.178.83 source=upnp
discovery.0 2018-07-28 17:43:52.525 debug UPNP Answer from 192.168.178.83 : {"_addr":"192.168.178.83","_name":"","_upnp":{"USN":"uuid:2d122f5a-5b60-57f4-ffff-ffff903158e9::upnp:rootdevice","CACHE-CONTROL":"max-age=1800","EXT":"","ST":"upnp:r
discovery.0 2018-07-28 17:43:52.521 debug main.addDevice: ip=192.168.178.127 source=upnp
discovery.0 2018-07-28 17:43:52.521 debug UPNP Answer from 192.168.178.127 : {"_addr":"192.168.178.127","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.127:80
discovery.0 2018-07-28 17:43:52.521 debug main.addDevice: ip=192.168.178.122 source=upnp
discovery.0 2018-07-28 17:43:52.521 debug UPNP Answer from 192.168.178.122 : {"_addr":"192.168.178.122","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.122:80
discovery.0 2018-07-28 17:43:52.520 debug main.addDevice: ip=192.168.178.139 source=upnp
discovery.0 2018-07-28 17:43:52.520 debug UPNP Answer from 192.168.178.139 : {"_addr":"192.168.178.139","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.139:80
discovery.0 2018-07-28 17:43:52.520 debug main.addDevice: ip=192.168.178.123 source=upnp
discovery.0 2018-07-28 17:43:52.520 debug UPNP Answer from 192.168.178.123 : {"_addr":"192.168.178.123","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.123:80
discovery.0 2018-07-28 17:43:52.520 debug main.addDevice: ip=192.168.178.126 source=upnp
discovery.0 2018-07-28 17:43:52.519 debug UPNP Answer from 192.168.178.126 : {"_addr":"192.168.178.126","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.126:80
discovery.0 2018-07-28 17:43:52.519 debug main.addDevice: ip=192.168.178.108 source=upnp
discovery.0 2018-07-28 17:43:52.519 debug UPNP Answer from 192.168.178.108 : {"_addr":"192.168.178.108","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.108:80
discovery.0 2018-07-28 17:43:52.519 debug main.addDevice: ip=192.168.178.103 source=upnp
discovery.0 2018-07-28 17:43:52.518 debug UPNP Answer from 192.168.178.103 : {"_addr":"192.168.178.103","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.103:80
discovery.0 2018-07-28 17:43:52.518 debug main.addDevice: ip=192.168.178.137 source=upnp
discovery.0 2018-07-28 17:43:52.517 debug UPNP Answer from 192.168.178.137 : {"_addr":"192.168.178.137","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.137:80
discovery.0 2018-07-28 17:43:52.517 debug main.addDevice: ip=192.168.178.112 source=upnp
discovery.0 2018-07-28 17:43:52.517 debug UPNP Answer from 192.168.178.112 : {"_addr":"192.168.178.112","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.112:80
discovery.0 2018-07-28 17:43:52.503 debug main.addDevice: ip=192.168.178.121 source=upnp
discovery.0 2018-07-28 17:43:52.503 debug UPNP Answer from 192.168.178.121 : {"_addr":"192.168.178.121","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.121:80
discovery.0 2018-07-28 17:43:52.503 debug main.addDevice: ip=192.168.178.135 source=upnp
discovery.0 2018-07-28 17:43:52.502 debug UPNP Answer from 192.168.178.135 : {"_addr":"192.168.178.135","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.135:80
discovery.0 2018-07-28 17:43:52.500 debug main.addDevice: ip=192.168.178.134 source=upnp
discovery.0 2018-07-28 17:43:52.500 debug UPNP Answer from 192.168.178.134 : {"_addr":"192.168.178.134","_name":"","_upnp":{"CACHE-CONTROL":"max-age=86400","DATE":"Fri, 15 Apr 2016 04:56:29 GMT","EXT":"","LOCATION":"http://192.168.178.134:80
discovery.0 2018-07-28 17:43:52.193 info Done discovering ping devices. 0 packages received
discovery.0 2018-07-28 17:43:52.193 warn halt
discovery.0 2018-07-28 17:43:51.929 debug main.addDevice: ip=192.168.178.85 source=upnp
discovery.0 2018-07-28 17:43:51.928 debug UPNP Answer from 192.168.178.85 : {"_addr":"192.168.178.85","_name":"","_upnp":{"USN":"uuid:d8f8059a-306e-21c9-ffff-ffffad7a5c5b","CACHE-CONTROL":"max-age=1800","EXT":"","ST":"uuid:d8f8059a-306e-21c9
discovery.0 2018-07-28 17:43:51.784 debug ping: 4%, devices - 0
discovery.0 2018-07-28 17:43:51.726 debug main.addDevice: ip=192.168.178.29 source=mdns
discovery.0 2018-07-28 17:43:51.726 debug main.addDevice: ip=192.168.178.29 source=mdns
discovery.0 2018-07-28 17:43:51.724 debug main.addDevice: ip=192.168.178.29 source=mdns
discovery.0 2018-07-28 17:43:51.181 debug main.addDevice: ip=192.168.178.28 source=mdns
discovery.0 2018-07-28 17:43:51.181 debug main.addDevice: ip=192.168.178.28 source=mdns
discovery.0 2018-07-28 17:43:51.175 debug main.addDevice: ip=192.168.178.32 source=mdns
discovery.0 2018-07-28 17:43:51.175 debug main.addDevice: ip=192.168.178.32 source=mdns
discovery.0 2018-07-28 17:43:51.174 debug main.addDevice: ip=192.168.178.32 source=mdns
discovery.0 2018-07-28 17:43:51.173 debug main.addDevice: ip=192.168.178.32 source=mdns
discovery.0 2018-07-28 17:43:51.171 debug main.addDevice: ip=192.168.178.25 source=mdns
discovery.0 2018-07-28 17:43:51.112 debug main.addDevice: ip=192.168.178.28 source=mdns
discovery.0 2018-07-28 17:43:51.112 debug main.addDevice: ip=192.168.178.28 source=mdns
discovery.0 2018-07-28 17:43:51.112 debug main.addDevice: ip=192.168.178.28 source=mdns
discovery.0 2018-07-28 17:43:51.111 debug main.addDevice: ip=192.168.178.28 source=mdns
discovery.0 2018-07-28 17:43:51.110 debug main.addDevice: ip=192.168.178.28 source=mdns
discovery.0 2018-07-28 17:43:51.014 info Done discovering tr064 devices. 106 packages received
discovery.0 2018-07-28 17:43:51.013 debug main.addDevice: ip=192.168.178.37 source=tr064
discovery.0 2018-07-28 17:43:51.013 debug main.addDevice: ip=192.168.178.28 source=tr064
discovery.0 2018-07-28 17:43:51.013 debug main.addDevice: ip=192.168.178.13 source=tr064
discovery.0 2018-07-28 17:43:51.013 debug main.addDevice: ip=192.168.178.32 source=tr064
discovery.0 2018-07-28 17:43:51.013 debug main.addDevice: ip=192.168.178.39 source=tr064
discovery.0 2018-07-28 17:43:51.013 debug main.addDevice: ip=192.168.178.41 source=tr064
discovery.0 2018-07-28 17:43:51.013 debug main.addDevice: ip=192.168.178.12 source=tr064
discovery.0 2018-07-28 17:43:51.012 debug main.addDevice: ip=192.168.178.10 source=tr064
discovery.0 2018-07-28 17:43:51.012 debug main.addDevice: ip=192.168.178.1 source=tr064
discovery.0 2018-07-28 17:43:51.012 debug main.addDevice: ip=192.168.178.44 source=tr064
discovery.0 2018-07-28 17:43:51.012 debug main.addDevice: ip=192.168.178.40 source=tr064
discovery.0 2018-07-28 17:43:51.012 debug main.addDevice: ip=192.168.178.153 source=tr064
discovery.0 2018-07-28 17:43:51.012 debug main.addDevice: ip=192.168.178.152 source=tr064
discovery.0 2018-07-28 17:43:51.011 debug main.addDevice: ip=192.168.178.145 source=tr064
discovery.0 2018-07-28 17:43:51.011 debug main.addDevice: ip=192.168.178.133 source=tr064
discovery.0 2018-07-28 17:43:51.011 debug main.addDevice: ip=192.168.178.134 source=tr064
discovery.0 2018-07-28 17:43:51.011 debug main.addDevice: ip=192.168.178.42 source=tr064
discovery.0 2018-07-28 17:43:51.011 debug main.addDevice: ip=192.168.178.120 source=tr064
discovery.0 2018-07-28 17:43:51.011 debug main.addDevice: ip=192.168.178.151 source=tr064
discovery.0 2018-07-28 17:43:51.011 debug main.addDevice: ip=192.168.178.128 source=tr064
discovery.0 2018-07-28 17:43:51.010 debug main.addDevice: ip=192.168.178.126 source=tr064
discovery.0 2018-07-28 17:43:51.010 debug main.addDevice: ip=192.168.178.114 source=tr064
discovery.0 2018-07-28 17:43:51.010 debug main.addDevice: ip=192.168.178.139 source=tr064
discovery.0 2018-07-28 17:43:51.009 debug main.addDevice: ip=192.168.178.35 source=tr064
discovery.0 2018-07-28 17:43:51.009 debug main.addDevice: ip=192.168.178.23 source=tr064
discovery.0 2018-07-28 17:43:51.008 debug main.addDevice: ip=192.168.178.163 source=tr064
discovery.0 2018-07-28 17:43:51.007 debug main.addDevice: ip=192.168.178.168 source=tr064
discovery.0 2018-07-28 17:43:51.006 debug main.addDevice: ip=192.168.178.165 source=tr064
discovery.0 2018-07-28 17:43:51.006 debug main.addDevice: ip=192.168.178.167 source=tr064
discovery.0 2018-07-28 17:43:51.006 debug main.addDevice: ip=192.168.178.164 source=tr064
discovery.0 2018-07-28 17:43:51.006 debug main.addDevice: ip=192.168.178.166 source=tr064
discovery.0 2018-07-28 17:43:51.004 debug main.addDevice: ip=192.168.178.149 source=tr064
discovery.0 2018-07-28 17:43:51.004 debug main.addDevice: ip=192.168.178.148 source=tr064
discovery.0 2018-07-28 17:43:51.003 debug main.addDevice: ip=192.168.178.147 source=tr064
discovery.0 2018-07-28 17:43:51.003 debug main.addDevice: ip=192.168.178.30 source=tr064
discovery.0 2018-07-28 17:43:51.003 debug main.addDevice: ip=192.168.178.38 source=tr064
discovery.0 2018-07-28 17:43:51.003 debug main.addDevice: ip=192.168.178.124 source=tr064
discovery.0 2018-07-28 17:43:51.003 debug main.addDevice: ip=192.168.178.127 source=tr064
discovery.0 2018-07-28 17:43:51.003 debug main.addDevice: ip=192.168.178.81 source=tr064
discovery.0 2018-07-28 17:43:51.003 debug main.addDevice: ip=192.168.178.80 source=tr064
discovery.0 2018-07-28 17:43:51.003 debug main.addDevice: ip=192.168.178.95 source=tr064
discovery.0 2018-07-28 17:43:51.002 debug main.addDevice: ip=192.168.178.170 source=tr064
discovery.0 2018-07-28 17:43:51.002 debug main.addDevice: ip=192.168.178.157 source=tr064
discovery.0 2018-07-28 17:43:51.002 debug main.addDevice: ip=192.168.178.156 source=tr064
discovery.0 2018-07-28 17:43:51.002 debug main.addDevice: ip=192.168.178.141 source=tr064
discovery.0 2018-07-28 17:43:51.002 debug main.addDevice: ip=192.168.178.140 source=tr064
discovery.0 2018-07-28 17:43:51.002 debug main.addDevice: ip=192.168.178.112 source=tr064
discovery.0 2018-07-28 17:43:51.002 debug main.addDevice: ip=192.168.178.108 source=tr064
discovery.0 2018-07-28 17:43:51.002 debug main.addDevice: ip=192.168.178.130 source=tr064
discovery.0 2018-07-28 17:43:51.002 debug main.addDevice: ip=192.168.178.115 source=tr064
discovery.0 2018-07-28 17:43:51.001 debug main.addDevice: ip=192.168.178.107 source=tr064
discovery.0 2018-07-28 17:43:51.001 debug main.addDevice: ip=192.168.178.125 source=tr064
discovery.0 2018-07-28 17:43:51.001 debug main.addDevice: ip=192.168.178.111 source=tr064
discovery.0 2018-07-28 17:43:51.001 debug main.addDevice: ip=192.168.178.121 source=tr064
discovery.0 2018-07-28 17:43:51.001 debug main.addDevice: ip=192.168.178.117 source=tr064
discovery.0 2018-07-28 17:43:51.001 debug main.addDevice: ip=192.168.178.132 source=tr064
discovery.0 2018-07-28 17:43:50.998 debug main.addDevice: ip=192.168.178.41 source=tr064
discovery.0 2018-07-28 17:43:50.996 debug main.addDevice: ip=192.168.178.150 source=tr064
discovery.0 2018-07-28 17:43:50.996 debug main.addDevice: ip=192.168.178.109 source=tr064
discovery.0 2018-07-28 17:43:50.996 debug main.addDevice: ip=192.168.178.116 source=tr064
discovery.0 2018-07-28 17:43:50.996 debug main.addDevice: ip=192.168.178.144 source=tr064
discovery.0 2018-07-28 17:43:50.995 debug main.addDevice: ip=192.168.178.143 source=tr064
discovery.0 2018-07-28 17:43:50.995 debug main.addDevice: ip=192.168.178.175 source=tr064
discovery.0 2018-07-28 17:43:50.995 debug main.addDevice: ip=192.168.178.119 source=tr064
discovery.0 2018-07-28 17:43:50.995 debug main.addDevice: ip=192.168.178.118 source=tr064
discovery.0 2018-07-28 17:43:50.994 debug main.addDevice: ip=192.168.178.106 source=tr064
discovery.0 2018-07-28 17:43:50.994 debug main.addDevice: ip=192.168.178.142 source=tr064
discovery.0 2018-07-28 17:43:50.994 debug main.addDevice: ip=192.168.178.122 source=tr064
discovery.0 2018-07-28 17:43:50.994 debug main.addDevice: ip=192.168.178.131 source=tr064
discovery.0 2018-07-28 17:43:50.994 debug main.addDevice: ip=192.168.178.105 source=tr064
discovery.0 2018-07-28 17:43:50.994 debug main.addDevice: ip=192.168.178.103 source=tr064
discovery.0 2018-07-28 17:43:50.994 debug main.addDevice: ip=192.168.178.129 source=tr064
discovery.0 2018-07-28 17:43:50.994 debug main.addDevice: ip=192.168.178.173 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.174 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.123 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.104 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.137 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.146 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.135 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.136 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.34 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.83 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.85 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.25 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.205 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.204 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.206 source=tr064
discovery.0 2018-07-28 17:43:50.993 debug main.addDevice: ip=192.168.178.200 source=tr064
discovery.0 2018-07-28 17:43:50.992 debug main.addDevice: ip=192.168.178.203 source=tr064
discovery.0 2018-07-28 17:43:50.992 debug main.addDevice: ip=192.168.178.202 source=tr064
discovery.0 2018-07-28 17:43:50.992 debug main.addDevice: ip=192.168.178.201 source=tr064
discovery.0 2018-07-28 17:43:50.992 debug main.addDevice: ip=192.168.178.43 source=tr064
discovery.0 2018-07-28 17:43:50.992 debug main.addDevice: ip=192.168.178.113 source=tr064
discovery.0 2018-07-28 17:43:50.992 debug main.addDevice: ip=192.168.178.29 source=tr064
discovery.0 2018-07-28 17:43:50.992 debug main.addDevice: ip=192.168.178.97 source=tr064
discovery.0 2018-07-28 17:43:50.991 debug main.addDevice: ip=192.168.178.96 source=tr064
discovery.0 2018-07-28 17:43:50.991 debug main.addDevice: ip=192.168.178.99 source=tr064
discovery.0 2018-07-28 17:43:50.991 debug main.addDevice: ip=192.168.178.98 source=tr064
discovery.0 2018-07-28 17:43:50.991 debug main.addDevice: ip=192.168.178.101 source=tr064
discovery.0 2018-07-28 17:43:50.991 debug main.addDevice: ip=192.168.178.11 source=tr064
discovery.0 2018-07-28 17:43:50.991 debug main.addDevice: ip=192.168.178.138 source=tr064
discovery.0 2018-07-28 17:43:50.991 debug main.addDevice: ip=192.168.178.162 source=tr064
discovery.0 2018-07-28 17:43:50.991 debug main.addDevice: ip=192.168.178.161 source=tr064
discovery.0 2018-07-28 17:43:50.991 debug main.addDevice: ip=192.168.178.160 source=tr064
discovery.0 2018-07-28 17:43:50.991 debug main.addDevice: ip=192.168.178.159 source=tr064
discovery.0 2018-07-28 17:43:50.990 debug main.addDevice: ip=192.168.178.158 source=tr064
discovery.0 2018-07-28 17:43:50.982 debug sendTo "discovery" to system.adapter.tr-064.0 from system.adapter.discovery.0
discovery.0 2018-07-28 17:43:50.972 debug main.addDevice: ip=192.168.178.28 source=mdns
discovery.0 2018-07-28 17:43:50.965 debug main.addDevice: ip=192.168.178.12 source=upnp
discovery.0 2018-07-28 17:43:50.965 debug UPNP Answer from 192.168.178.12 : {"_addr":"192.168.178.12","_name":"","_upnp":{"LOCATION":"http://192.168.178.12:49000/igddesc.xml","SERVER":"FRITZ!Box 7590 (UI) UPnP/1.0 AVM FRITZ!Box 7590 (UI) 154
discovery.0 2018-07-28 17:43:50.949 info Discovering wifi-mi-light devices...
discovery.0 2018-07-28 17:43:50.948 info Discovering UPnP devices...
discovery.0 2018-07-28 17:43:50.889 info Done discovering serial devices. 32 packages received
discovery.0 2018-07-28 17:43:50.889 debug main.addDevice: ip=/dev/ttyS9 source=serial
discovery.0 2018-07-28 17:43:50.889 debug main.addDevice: ip=/dev/ttyS8 source=serial
discovery.0 2018-07-28 17:43:50.889 debug main.addDevice: ip=/dev/ttyS7 source=serial
discovery.0 2018-07-28 17:43:50.889 debug main.addDevice: ip=/dev/ttyS6 source=serial
discovery.0 2018-07-28 17:43:50.888 debug main.addDevice: ip=/dev/ttyS5 source=serial
discovery.0 2018-07-28 17:43:50.888 debug main.addDevice: ip=/dev/ttyS4 source=serial
discovery.0 2018-07-28 17:43:50.888 debug main.addDevice: ip=/dev/ttyS31 source=serial
discovery.0 2018-07-28 17:43:50.888 debug main.addDevice: ip=/dev/ttyS30 source=serial
discovery.0 2018-07-28 17:43:50.888 debug main.addDevice: ip=/dev/ttyS3 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS29 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS28 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS27 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS26 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS25 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS24 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS23 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS22 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS21 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS20 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS2 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS19 source=serial
discovery.0 2018-07-28 17:43:50.887 debug main.addDevice: ip=/dev/ttyS18 source=serial
discovery.0 2018-07-28 17:43:50.886 debug main.addDevice: ip=/dev/ttyS17 source=serial
discovery.0 2018-07-28 17:43:50.886 debug main.addDevice: ip=/dev/ttyS16 source=serial
discovery.0 2018-07-28 17:43:50.886 debug main.addDevice: ip=/dev/ttyS15 source=serial
discovery.0 2018-07-28 17:43:50.886 debug main.addDevice: ip=/dev/ttyS14 source=serial
discovery.0 2018-07-28 17:43:50.886 debug main.addDevice: ip=/dev/ttyS13 source=serial
discovery.0 2018-07-28 17:43:50.886 debug main.addDevice: ip=/dev/ttyS12 source=serial
discovery.0 2018-07-28 17:43:50.886 debug main.addDevice: ip=/dev/ttyS11 source=serial
discovery.0 2018-07-28 17:43:50.886 debug main.addDevice: ip=/dev/ttyS10 source=serial
discovery.0 2018-07-28 17:43:50.886 debug main.addDevice: ip=/dev/ttyS1 source=serial
discovery.0 2018-07-28 17:43:50.886 debug main.addDevice: ip=/dev/ttyS0 source=serial
discovery.0 2018-07-28 17:43:50.880 debug ping: 0%, devices - 0
discovery.0 2018-07-28 17:43:50.876 info Discovering ping devices...
discovery.0 2018-07-28 17:43:50.873 info Discovering mDNS devices...
discovery.0 2018-07-28 17:43:50.859 debug Received "browse" event
discovery.0 2018-07-28 17:43:47.043 debug sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
discovery.0 2018-07-28 17:43:47.027 debug Received "listMethods" event
discovery.0 2018-07-28 17:43:42.669 info starting. Version 1.2.0 in /opt/iobroker/node_modules/iobroker.discovery, node: v6.14.3
discovery.0 2018-07-28 17:43:42.545 debug statesDB connected
discovery.0 2018-07-28 17:43:42.525 debug objectDB connected
discovery.0 2018-07-28 17:43:39.763 info terminating

`

Error State type: phase1/2/3Voltage & phase1/2/3Power

ioBroker Logfile Snap

discovergy.0 2021-05-07 15:05:54.757 error (1030) State type : phase3Voltage unknown, send this information to the developer ==> phase3Voltage : 235800
discovergy.0 2021-05-07 15:05:54.757 error (1030) State type : phase2Voltage unknown, send this information to the developer ==> phase2Voltage : 234400
discovergy.0 2021-05-07 15:05:54.757 error (1030) State type : phase1Voltage unknown, send this information to the developer ==> phase1Voltage : 235400
discovergy.0 2021-05-07 15:05:54.757 error (1030) State type : phase3Power unknown, send this information to the developer ==> phase3Power : -283540
discovergy.0 2021-05-07 15:05:54.757 error (1030) State type : phase1Power unknown, send this information to the developer ==> phase1Power : 630210
discovergy.0 2021-05-07 15:05:54.757 error (1030) State type : phase2Power unknown, send this information to the developer ==> phase2Power : 166830

2.2.2 Not work UPnP

       
discovery.0 2020-04-14 00:43:39.647 debug (11128) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
discovery.0 2020-04-14 00:43:39.647 debug (11128) Received "listMethods" event
discovery.0 2020-04-14 00:43:39.646 debug (11128) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
discovery.0 2020-04-14 00:43:39.646 debug (11128) Received "listMethods" event
discovery.0 2020-04-14 00:43:39.586 debug (11128) sendTo "browse" to system.adapter.admin.0 from system.adapter.discovery.0
discovery.0 2020-04-14 00:43:39.586 debug (11128) Browse finished
discovery.0 2020-04-14 00:43:39.585 info (11128) Discovery finished
discovery.0 2020-04-14 00:43:39.552 info (11128) Discovery finished. Found new or modified 4 instances
discovery.0 2020-04-14 00:43:39.550 debug (11128) Added suggested adapter: mobile.0
discovery.0 2020-04-14 00:43:39.550 debug (11128) Added suggested adapter: info.0
discovery.0 2020-04-14 00:43:39.549 debug (11128) Added suggested adapter: flot.0
discovery.0 2020-04-14 00:43:39.548 debug (11128) Added suggested adapter: cloud.0
discovery.0 2020-04-14 00:43:39.388 info (11128) Found 1 addresses
discovery.0 2020-04-14 00:43:39.387 info (11128) Done discovering upnp devices. 0 packages received
discovery.0 2020-04-14 00:43:24.386 debug (11128) Discover Test 2
discovery.0 2020-04-14 00:43:24.386 info (11128) Discovering UPnP devices...
discovery.0 2020-04-14 00:43:24.319 debug (11128) Received "browse" event

discovery should save passwords encrypted

Adapters can use discovery to ask user for a password (input of type "password"). It will be a password field in browser with typo-check by repeating entry in a second field (i.e. you can not see the typed password).

Currently the discovery adapter writes those passwords into the adapter configurations as plain text. It would be much preferably if it would support encryption. To be backward compatible this probably should only be an option at first (i.e. a property of 'input' like 'encrypt = true' -> will be stored encrypted).
Because the adapter can not detect if the password stored in its config is encrypted or not, this should be optional at first. There are quite some adapters using an input of type password:

  • landroid
  • loxone
  • lupusec
  • sql
  • tr-064
  • mydlink (not yet merged)

mDNS cannot be compiled on default linux and windows

discovery uses mDNS module and it must be compiled. But discovery is used by the first installation and users get many errors. It can scary for the first time.

How we can solve this? Is there any some npm silence mode? Or may special discovery version by the first time?

Discovery using broadcast

Some applications / devices can be discovered using UDP broadcasts. This can be achieved for example by mDNS (Apple's Bonjour) or a proprietary protocol (e.g. Logitech Squeezebox Server).

Right now (if I understand the code of this adapter correctly) we are "brute force" testing every adapter on every found IP address.

It would be nice if we could have another category (besides "ip" and "serial") for such adapters. It would be much faster and we wouldn't be bombarding devices on the local network with "unnecessary" TCP requests. My suggestion would be a category "broadcast" that is only called once (similar to "advice").

I can imagine besides my Squeezebox adapter, there could be others that can profit from such a feature.

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/ioBroker/ioBroker.discovery

  • [E605] No actual year found in copyright. Please add "Copyright (c) 2017-2020 bluefox [email protected]" at the end of README.md
  • [E701] No actual year found in LICENSE. Please add "Copyright (c) 2017-2020 bluefox [email protected]" at the start of LICENSE

Thanks,
your automatic adapter checker.

Update stable version in repo to 2.2.2

Think about update stable version to 2.2.2

Version: stable=1.3.0 (324 days old) => latest=2.2.2 (20 days old)
Installs: stable=21013 (65.97%), latest=3953 (12.41%), total=31853
Click to edit

Adding support for e3dc-rscp

I would like to provide discovery for ioBroker.e3dc-rscp, but need some guidance / how-to:

  • discovery interface documentation (which functions to implement, parameters, semantics)
  • how to test a new detect() function in my environment

I verified (using gupnp-tools) that the device is UPnP discoverable (see below).
grafik
Since e3dc-rscp installations are assumed to remain below 1000, perhaps it's not worth implementing discovery?

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.