Zur not führe doch einfach nach dem Erstellen der neuen Ordner ein iobroker fix durch.
Dann hat alles seine Richtigkeit.
LG
Zur not führe doch einfach nach dem Erstellen der neuen Ordner ein iobroker fix durch.
Dann hat alles seine Richtigkeit.
LG
Nabend Zusammen,
Kurzes Feedback zum Porblem mit dem CC2531 Stick.
Alte Stick ist Platt keine Ahnung wie das Passiert ist.
Neuer Stick ran und siehe da läuft Sofort mit Adapter ( Zigbee 1.1.1 ) und folgende Komponenten.
JS controller: 3.1.5
Node : v12.18.0
Node.js: v12.18.0
NPM: 6.14.4
Ich möchte mich bei allem sehr bedanken für die Hilfestellung
lg
@Thomas-Braun said in Zigbee Adapter Fehler nach Update auf JS-Controller 3.1.5:
@gifftstaub
Deaktivier mal den 'discovery' Adapter. Soweit ich weiß fragt der auch den serialport an.
nein das liegt nicht am 'discovery' Adapter Serial ist nicht angehackt.
lg
Edit: Morgen kommt ein neuer USB Stick bericht folgt.
liste der Installierten Adapter
Used repository: latest
hash unchanged, use cached sources
update done
Adapter "accuweather" : 1.1.3
Adapter "admin" : 4.1.1 , installed 4.1.1
Adapter "alarm" : 0.7.5
Adapter "alexa2" : 3.1.2 , installed 3.1.2
Adapter "alpha2" : 1.0.0
Adapter "amazon-dash" : 1.1.0
Adapter "artnet" : 1.2.2
Adapter "asterisk" : 1.0.6
Adapter "asuswrt" : 1.0.1
Adapter "b-control-em" : 0.2.1
Adapter "backitup" : 1.5.8 , installed 1.5.8
Adapter "beckhoff" : 1.2.2
Adapter "benq" : 0.2.2
Adapter "binance" : 1.1.2
Adapter "ble" : 0.11.6
Adapter "blink4home" : 0.1.1
Adapter "bmw" : 1.4.0
Adapter "boblight" : 0.0.1
Adapter "bosesoundtouch": 0.9.2
Adapter "botvac" : 1.0.0
Adapter "bring" : 1.7.2
Adapter "broadlink2" : 2.0.3
Adapter "bsblan" : 0.1.2
Adapter "bshb" : 0.1.10
Adapter "calendar" : 1.2.0
Adapter "cameras" : 0.1.2
Adapter "chromecast" : 2.3.1
Adapter "cloud" : 3.0.3
Adapter "comfoair" : 1.1.1
Adapter "contact" : 1.1.3
Adapter "contactid" : 1.0.0
Adapter "coronavirus-statistics": 0.5.9
Adapter "corrently" : 0.0.2
Adapter "countdown" : 1.1.0
Adapter "cul" : 1.2.1
Adapter "daikin" : 1.0.5
Adapter "daswetter" : 3.0.1
Adapter "deconz" : 1.3.9
Adapter "denon" : 1.7.7
Adapter "devices" : 0.3.6
Adapter "digitalstrom" : 2.0.5
Adapter "discovergy" : 0.5.4
Adapter "discovery" : 2.3.7 , installed 2.3.7
Adapter "doorbird" : 0.1.5
Adapter "ds18b20" : 1.1.4
Adapter "dwd" : 2.4.10
Adapter "ebus" : 2.0.0
Adapter "ecovacs-deebot": 1.0.3
Adapter "egigeozone" : 0.1.2
Adapter "ekey" : 1.1.0
Adapter "email" : 1.0.7 , installed 1.0.7
Adapter "emby" : 1.0.2
Adapter "energymanager" : 1.2.2
Adapter "enet" : 1.0.1
Adapter "epson_stylus_px830": 0.2.1
Adapter "exchangerates" : 0.0.13
Adapter "fakeroku" : 0.2.1
Adapter "fb-checkpresence": 1.0.3
Adapter "feiertage" : 1.0.19
Adapter "fhem" : 1.5.2
Adapter "find-my-iphone": 0.2.17
Adapter "firetv" : 1.0.0
Adapter "fitbit-api" : 0.1.1
Adapter "flot" : 1.10.0
Adapter "foobar2000" : 2.0.3
Adapter "fritzbox" : 0.2.1
Adapter "fritzdect" : 0.3.2
Adapter "fronius" : 1.0.5
Adapter "fullcalendar" : 1.1.0
Adapter "fullybrowser" : 1.0.3
Adapter "g-homa" : 0.5.3
Adapter "geofency" : 0.3.2
Adapter "gruenbeck" : 0.0.18
Adapter "habpanel" : 0.4.1
Adapter "haier" : 1.0.3
Adapter "ham" : 1.1.2
Adapter "ham-wemo" : 1.0.1
Adapter "harmony" : 1.2.2
Adapter "hass-mqtt" : 0.0.7
Adapter "heatingcontrol": 0.5.6
Adapter "heytech" : 0.2.0
Adapter "hid" : 0.1.17
Adapter "hilink" : 0.2.7
Adapter "history" : 1.9.8 , installed 1.9.8
Adapter "hm-rega" : 2.6.14
Adapter "hm-rpc" : 1.14.10
Adapter "hmip" : 1.0.1
Adapter "hombot" : 0.1.3
Adapter "homeconnect" : 0.0.30
Adapter "homee" : 1.0.7
Adapter "homepilot" : 1.1.4
Adapter "hp-ilo" : 1.0.5
Adapter "hs100" : 2.0.0
Adapter "hue" : 3.3.5
Adapter "hue-extended" : 1.3.2
Adapter "hyperion" : 0.0.9
Adapter "i2c" : 0.0.6
Adapter "ical" : 1.7.0 , installed 1.7.0
Adapter "icons-addictive-flavour-png": 0.1.0
Adapter "icons-fatcow-hosting": 0.1.0
Adapter "icons-icons8" : 0.0.1
Adapter "icons-material-png": 0.1.0
Adapter "icons-material-svg": 0.1.0
Adapter "icons-mfd-png" : 1.0.2
Adapter "icons-mfd-svg" : 1.0.2
Adapter "icons-open-icon-library-png": 0.1.2
Adapter "icons-ultimate-png": 1.0.1
Adapter "influxdb" : 1.8.6
Adapter "info" : 1.7.5 , installed 1.7.5
Adapter "innogy-smarthome": 0.3.4
Adapter "intesishome" : 0.1.2
Adapter "iogo" : 0.5.10
Adapter "iot" : 1.5.3 , installed 1.5.3
Adapter "iqontrol" : 1.1.0 , installed 1.1.0
Adapter "javascript" : 4.6.17 , installed 4.6.17
Adapter "jeelink" : 0.1.3
Controller "js-controller" : 3.1.5 , installed 3.1.5
Adapter "js2fs" : 0.1.5
Adapter "kecontact" : 0.1.0
Adapter "klf200" : 0.9.5
Adapter "km200" : 2.0.3
Adapter "knmi-weather" : 0.2.0
Adapter "knx" : 1.0.41
Adapter "kodi" : 2.0.4
Adapter "kress" : 2.5.5
Adapter "lametric" : 0.0.9
Adapter "landroid" : 1.0.3
Adapter "lcn" : 0.6.3
Adapter "legrand-ecocompteur": 0.0.4
Adapter "letrika_comgw" : 0.0.5
Adapter "lgtv" : 1.1.6
Adapter "lgtv-rs" : 0.1.0
Adapter "lgtv11" : 1.0.5
Adapter "lifx" : 0.1.1
Adapter "lightify" : 0.2.16
Adapter "link" : 0.5.9
Adapter "linkeddevices" : 1.1.4
Adapter "logparser" : 0.4.11
Adapter "lovelace" : 1.1.0
Adapter "loxone" : 1.0.0
Adapter "luftdaten" : 0.0.15
Adapter "lupusec" : 1.2.7
Adapter "luxtronik1" : 0.2.3
Adapter "material" : 0.13.8
Adapter "maxcube" : 0.1.2
Adapter "maxcul" : 1.3.0
Adapter "mbus" : 2.2.0
Adapter "mclighting" : 0.1.1
Adapter "megad" : 1.2.1
Adapter "megadd" : 0.2.0
Adapter "megaesp" : 0.1.0
Adapter "mercedesme" : 0.0.21
Adapter "mercury" : 0.1.1
Adapter "meross" : 1.4.1
Adapter "meteoalarm" : 1.1.0
Adapter "midea" : 0.0.6
Adapter "miele" : 0.1.5
Adapter "mielecloudservice": 1.2.4
Adapter "mihome" : 1.3.0
Adapter "mihome-airpurifier": 0.1.8
Adapter "mihome-lamp" : 1.1.0
Adapter "mihome-plug" : 0.2.1
Adapter "mihome-vacuum" : 2.0.7
Adapter "miio" : 0.0.13
Adapter "mikrotik" : 1.0.12
Adapter "milight" : 0.3.6
Adapter "milight-smart-light": 0.6.0
Adapter "mobile" : 0.5.0
Adapter "modbus" : 3.1.3
Adapter "moma" : 1.2.6
Adapter "mpd" : 1.0.5
Adapter "mqtt" : 2.1.3
Adapter "mqtt-client" : 1.3.1
Adapter "multicast" : 0.1.5
Adapter "musiccast" : 0.1.3
Adapter "mydlink" : 1.1.2
Adapter "myq" : 0.1.1
Adapter "mysensors" : 2.0.1
Adapter "myvbus" : 0.0.6
Adapter "nanoleaf-lightpanels": 0.8.2
Adapter "nello" : 2.0.8
Adapter "netatmo" : 1.3.1
Adapter "nibeuplink" : 0.3.0
Adapter "nina" : 0.0.23
Adapter "node-red" : 1.17.2
Adapter "noolitef" : 0.0.2
Adapter "nuki" : 1.2.3
Adapter "nuki-extended" : 2.2.5 , installed 2.2.5
Adapter "nut" : 1.1.3
Adapter "octoprint" : 0.0.4
Adapter "odl" : 1.0.5
Adapter "oilfox" : 2.1.0
Adapter "onkyo" : 2.0.3
Adapter "onvif" : 0.4.3
Adapter "openhab" : 1.1.0
Adapter "openligadb" : 1.2.0
Adapter "opentherm" : 0.1.9
Adapter "openweathermap": 0.1.0
Adapter "opi" : 0.1.1
Adapter "oppoplayer" : 0.2.1
Adapter "owfs" : 0.6.4
Adapter "owntracks" : 0.6.3
Adapter "panasonic-viera": 1.0.2
Adapter "parser" : 1.0.7
Adapter "paw" : 0.3.2
Adapter "phantomjs" : 1.0.1
Adapter "pi-hole" : 1.2.3
Adapter "piface" : 1.0.0
Adapter "pimatic" : 0.3.0
Adapter "ping" : 1.4.7
Adapter "places" : 0.7.0
Adapter "plenticore" : 2.1.3
Adapter "plex" : 0.8.11
Adapter "plexconnect" : 0.0.7
Adapter "pollenflug" : 1.0.6
Adapter "primelab" : 1.0.2
Adapter "proxmox" : 1.0.2
Adapter "proxy" : 1.2.1
Adapter "pushbullet" : 0.0.11
Adapter "pushover" : 2.0.2
Adapter "pushsafer" : 0.1.8
Adapter "radar2" : 2.0.1
Adapter "radiohead" : 1.0.7
Adapter "rainbird" : 0.2.2
Adapter "rflink" : 2.1.5
Adapter "rickshaw" : 1.0.0
Adapter "ring" : 1.1.3
Adapter "roadtraffic" : 0.2.0
Adapter "robonect" : 0.1.3
Adapter "roomba" : 1.1.1
Adapter "rpi2" : 1.2.0 , installed 1.2.0
Adapter "rssfeed" : 0.0.28
Adapter "s7" : 1.1.8
Adapter "samsung" : 0.2.9
Adapter "sanext" : 0.0.4
Adapter "sayit" : 1.9.8
Adapter "sbfspot" : 3.0.0
Adapter "scenes" : 2.0.7 , installed 1.1.0 [Updateable]
Adapter "schoolfree" : 0.6.2
Adapter "senec" : 1.0.9
Adapter "shelly" : 3.3.1
Adapter "shuttercontrol": 0.6.2
Adapter "sia" : 1.0.4
Adapter "siegenia" : 1.0.0
Adapter "simple-api" : 2.4.6 , installed 2.4.6
Adapter "sma-em" : 0.5.7
Adapter "smappee" : 0.2.2
Adapter "smartmeter" : 3.1.2
Adapter "snips" : 1.5.0
Adapter "snmp" : 0.5.0
Adapter "socketio" : 3.0.9 , installed 3.0.9
Adapter "solarlog" : 2.0.0
Adapter "solarviewdatareader": 0.2.1
Adapter "solarwetter" : 1.0.0
Adapter "sonnen" : 1.5.2
Adapter "sonoff" : 2.3.3 , installed 2.3.3
Adapter "sonos" : 2.1.0 , installed 2.1.0
Adapter "sonus" : 0.1.1
Adapter "sony-bravia" : 1.0.1
Adapter "sourceanalytix": 0.4.2
Adapter "spotify-premium": 1.0.0
Adapter "sql" : 1.13.1
Adapter "squeezebox" : 1.0.0
Adapter "squeezeboxrpc" : 1.2.1
Adapter "starline" : 1.0.0
Adapter "statistics" : 0.2.2
Adapter "stiebel-isg" : 1.4.11
Adapter "stockmarket" : 0.0.2
Adapter "sunnyportal" : 0.1.5
Adapter "swiss-weather-api": 0.2.0
Adapter "synology" : 0.1.18
Adapter "systeminfo" : 0.3.1
Adapter "tado" : 0.1.9
Adapter "tahoma" : 0.3.3
Adapter "tankerkoenig" : 2.0.9
Adapter "telegram" : 1.5.9 , installed 1.5.9
Adapter "terminal" : 0.1.2
Adapter "tesla-motors" : 0.2.3
Adapter "text2command" : 1.3.0 , installed 1.3.0
Adapter "tileboard" : 0.1.1
Adapter "tinker" : 1.1.0
Adapter "tino" : 0.1.3
Adapter "tinyrx4" : 0.1.5
Adapter "tr-064" : 4.0.7
Adapter "tradfri" : 2.6.3
Adapter "trashschedule" : 0.0.9 , installed 0.0.9
Adapter "tunnelbroker-endpoint-updater": 0.0.1
Adapter "tuya" : 3.3.5
Adapter "tvspielfilm" : 2.0.1
Adapter "unifi" : 0.5.5
Adapter "unifi-protect" : 0.0.11
Adapter "upnp" : 1.0.16
Adapter "vaillant" : 0.0.10
Adapter "valloxmv" : 1.0.3
Adapter "vcard" : 0.0.9
Adapter "vedirect" : 0.1.0
Adapter "velux" : 0.0.6
Adapter "viessmann" : 1.2.4
Adapter "viessmannapi" : 1.3.2
Adapter "virtualpowermeter": 1.2.1
Adapter "vis" : 1.2.6 , installed 1.2.6
Adapter "vis-bars" : 0.1.4
Adapter "vis-canvas-gauges": 0.1.5
Adapter "vis-colorpicker": 1.2.0
Adapter "vis-fancyswitch": 1.1.0
Adapter "vis-google-fonts": 0.1.0
Adapter "vis-history" : 1.0.0
Adapter "vis-hqwidgets" : 1.1.4 , installed 1.1.4
Adapter "vis-inventwo" : 1.3.8
Adapter "vis-jqui-mfd" : 1.0.12
Adapter "vis-justgage" : 1.0.2
Adapter "vis-keyboard" : 0.0.2
Adapter "vis-lcars" : 1.0.4
Adapter "vis-map" : 1.0.4
Adapter "vis-material" : 0.1.3
Adapter "vis-material-webfont": 0.0.3
Adapter "vis-materialdesign": 0.3.14
Adapter "vis-metro" : 1.1.2
Adapter "vis-players" : 0.1.6
Adapter "vis-plumb" : 1.0.2
Adapter "vis-rgraph" : 0.0.2
Adapter "vis-timeandweather": 1.1.7
Adapter "vis-weather" : 2.5.2
Adapter "vodafone-speedtest": 0.0.5
Adapter "volvo" : 0.0.2
Adapter "vr200" : 1.0.0
Adapter "vw-connect" : 0.0.16
Adapter "weatherunderground": 3.2.1
Adapter "web" : 3.0.9 , installed 3.0.9
Adapter "web-speedy" : 0.2.0
Adapter "weishaupt-wem" : 0.0.8
Adapter "wiffi-wz" : 2.2.0
Adapter "wifilight" : 1.1.0
Adapter "windows-control": 0.1.3
Adapter "wlanthermo-nano": 0.1.1
Adapter "wled" : 0.5.0
Adapter "wm-bus" : 0.3.1
Adapter "wolf" : 1.2.0
Adapter "worx" : 1.0.2
Adapter "xbox" : 0.6.5
Adapter "xs1" : 1.0.2
Adapter "yahka" : 0.11.0
Adapter "yamaha" : 0.3.19
Adapter "yeelight-2" : 1.0.3
Adapter "youtube" : 0.0.11
Adapter "yr" : 2.0.3
Adapter "zigbee" : 1.1.1 , installed 1.1.1
Adapter "zoneminder" : 0.3.3
Adapter "zont" : 0.5.4
Adapter "zwave" : 2.0.1
Adapter "zwave2" : 1.3.3
da ist auch nichts dabei was mein usb blockieren sollte.
lg
eingentlich ja am serialport war ich nocch nie dran.
ich habe das mal proformer gemacht wie du beschrieben hast, nach einem reboot immer noch die gleichen Meldungen.
zigbee.0 2020-06-16 14:21:14.793 error at /opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:242:12
zigbee.0 2020-06-16 14:21:14.793 error at SerialPort._error (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/stream/lib/index.js:198:14)
zigbee.0 2020-06-16 14:21:14.793 error at SerialPort.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:111:49)
zigbee.0 2020-06-16 14:21:14.793 error at __awaiter (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:4:12)
zigbee.0 2020-06-16 14:21:14.793 error at new Promise (<anonymous>)
zigbee.0 2020-06-16 14:21:14.793 error at /opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:8:71
zigbee.0 2020-06-16 14:21:14.793 error at Generator.next (<anonymous>)
zigbee.0 2020-06-16 14:21:14.793 error at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:113:32)
zigbee.0 2020-06-16 14:21:14.793 error (2686) Error: Error while opening serialport 'Error: Error Resource temporarily unavailable Cannot lock port'
zigbee.0 2020-06-16 14:21:14.792 error (2686) Failed to start Zigbee
zigbee.0 2020-06-16 14:21:14.554 info (2686) Starting Zigbee...
lg
könnte der Stick defekt sein?
pi@raspberrypi:/opt/iobroker $ npm ls serialport
iobroker.inst@2.0.3 /opt/iobroker
├─┬ iobroker.discovery@2.3.7
│ └── serialport@8.0.8
└─┬ iobroker.zigbee@1.0.0
└─┬ zigbee-herdsman@0.12.95
└── serialport@8.0.7
lg
Push
Ich habe nun folgendes gemacht.
pi@raspberrypi:/opt/iobroker/node_modules/serialport $ npm install --production
> @serialport/bindings@8.0.8 install /opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings
> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
prebuild-install WARN install No prebuilt binaries found (target=12.18.0 runtime=node arch=arm libc= platform=linux)
make: Verzeichnis „/opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings/build“ wird betreten
CXX(target) Release/obj.target/bindings/src/serialport.o
In file included from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:78:69: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen);
^~~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:135:71: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate);
^~~~~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:175:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose);
^~~~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:215:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush);
^~~~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:270:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet);
^~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:314:68: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet);
^~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:363:76: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate);
^~~~~~~~~~~~~~~~~~~~
../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/serialport.cpp:409:70: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain);
^~~~~~~~~~~~~~
../src/serialport.cpp: At global scope:
../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses]
SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local<v8::String>& v8str)) {
^
../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses]
SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) {
^
In file included from ../../../nan/nan.h:56,
from ../src/./serialport.h:6,
from ../src/serialport.cpp:1:
/home/iobroker/.cache/node-gyp/12.18.0/include/node/node.h:608:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
(node::addon_register_func) (regfunc), \
^
/home/iobroker/.cache/node-gyp/12.18.0/include/node/node.h:642:3: note: in expansion of macro ‘NODE_MODULE_X’
NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
^~~~~~~~~~~~~
../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’
NODE_MODULE(serialport, init);
^~~~~~~~~~~
CXX(target) Release/obj.target/bindings/src/serialport_unix.o
In file included from ../src/serialport.h:6,
from ../src/serialport_unix.cpp:2:
../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
^~~~~~~~~~~~~~~~~~~~~~~~~
../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024
snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CXX(target) Release/obj.target/bindings/src/poller.o
In file included from ../src/poller.cpp:1:
../../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
../../../nan/nan.h:2294:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
, reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
^
CXX(target) Release/obj.target/bindings/src/serialport_linux.o
SOLINK_MODULE(target) Release/obj.target/bindings.node
COPY Release/bindings.node
make: Verzeichnis „/opt/iobroker/node_modules/serialport/node_modules/@serialport/bindings/build“ wird verlassen
> serialport@8.0.8 postinstall /opt/iobroker/node_modules/serialport
> node thank-you.js
Thank you for using serialport!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/serialport/donate
npm notice created a lockfile as package-lock.json. You should commit this file.
added 73 packages from 43 contributors and audited 78 packages in 16.172s
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
pi@raspberrypi:/opt/iobroker/node_modules/serialport $ npm fund
serialport@8.0.8
└─┬ https://github.com/sponsors/sindresorhus
└── mimic-response@2.1.0
liegt das Problem an der 12.18.0?
prebuild-install WARN install No prebuilt binaries found (target=12.18.0 runtime=node arch=arm libc= platform=linux)
lg
Platform: linux
os: linux
Architecture: arm
CPUs: 4
Speed: 1500 MHz
Model: ARMv7 Processor rev 3 (v7l)
RAM: 1.8 GB
Node.js: v12.18.0
NPM: 6.14.0
Hallo,
Der Adapter lässt sich mit Version 2.0.6 und Firefox nicht öffnen.
Des weiteren ist ein Downgrade auf 2.0.3 und 1.1.1 nicht möglich, hier fehlen die Versionen.
$ ./iobroker upgrade scenes@1.1.1
Update scenes from @2.0.6 to @1.1.1
NPM version: 6.14.0
npm install iobroker.scenes@1.1.1 --loglevel error --prefix "/opt/iobroker" (System call)
npm
ERR! code ETARGET
npm
ERR! notarget No matching version found for iobroker.scenes@1.1.1.npm ERR!
notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm
ERR!
A complete log of this run can be found in:
npm
ERR!
/home/iobroker/.npm/_logs/2020-06-15T06_30_13_859Z-debug.log
upload [18] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/tab.html tab.html text/html
Update "system.adapter.scenes.0"
upload [17] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/style.css style.css text/css
upload [16] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/js/runtime-main.8cdd9b0f.js.map static/js/runtime-main.8cdd9b0f.js.map application/json
upload [15] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/js/runtime-main.8cdd9b0f.js static/js/runtime-main.8cdd9b0f.js application/javascript
upload [14] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/js/main.9106b860.chunk.js.map static/js/main.9106b860.chunk.js.map application/json
upload [13] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/js/main.9106b860.chunk.js static/js/main.9106b860.chunk.js application/javascript
upload [12] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/js/2.61ad3432.chunk.js.map static/js/2.61ad3432.chunk.js.map application/json
upload [11] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/js/2.61ad3432.chunk.js.LICENSE.txt static/js/2.61ad3432.chunk.js.LICENSE.txt text/plain
upload [10] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/js/2.61ad3432.chunk.js static/js/2.61ad3432.chunk.js application/javascript
upload [9] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/css/main.d4bed9c6.chunk.css.map static/css/main.d4bed9c6.chunk.css.map application/json
upload [8] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/css/main.d4bed9c6.chunk.css static/css/main.d4bed9c6.chunk.css text/css
upload [7] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/css/2.9ba4c952.chunk.css.map static/css/2.9ba4c952.chunk.css.map application/json
upload [6] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/static/css/2.9ba4c952.chunk.css static/css/2.9ba4c952.chunk.css text/css
upload [5] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/service-worker.js service-worker.js application/javascript
upload [4] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/scenes.png scenes.png image/png
upload [3] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/precache-manifest.3c513461a139bf5c7ec7249fd8bd97e1.js precache-manifest.3c513461a139bf5c7ec7249fd8bd97e1.js application/javascript
upload [2] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/manifest.json manifest.json application/json
upload [1] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
upload [0] scenes.admin /opt/iobroker/node_modules/iobroker.scenes/admin/asset-manifest.json asset-manifest.json application/json
Adapter "scenes" updated
process exited with code 0
lg