Comments (15)
Hallo Ingo und Danke, den einen icon-namen hab ich vergessen umzubenennen!
Auch die Methode mit info.connection ist super, habe beim XS1 eine permanente Verbindung mit dem xs1 wo es die Änderungen der States meldet und muss das jetzt für den compact mode umbauen denn bis jetzt wird bei Abbruch der Verbindung der Adapter restartet, was wir beide nicht wollen! Aber auch beim radar2 hab ich ein offenes dgram.socket welches auf DNS-Anfragen horcht und hoffe das richtig machen zu können dass internal neu gestartet wird...
Übrigens, wer betreut eigentlich discovery? Hätte einige Änderungen vorzuschlagen welche die Erkennung von vielen Geräten leicher macht (hab ja jetzt einiges mit radar2 experimentiert).
Discovery hatte bei mir nur die homematic und die fritzbox erkannt, kein hue, keine alexas, keine broadlinks (das hab ich jetzt korrigiert und einen pull request erzeugt) und auch kein harmony und schon gar nicht die Drucker und Samsung Fernseher. Will dann XS1 und KM200 dazunehmen.
from iobroker.broadlink2.
How can I setup a test install to test compact mode. I asked this now already 5 times, the info in the forum did not work!
from iobroker.broadlink2.
Info in Forum https://forum.iobroker.net/topic/18338/experimentell-js-controller-compact-mode/1 should work, do not forget steps 4 and 5!! ... Maybe the important info is that 1.6.0-dev branch no longer exists. User master instead
npm install ioBroker/ioBroker.js-controller
I asked this now already 5 times
Where? I can not find any of those 5 questions
from iobroker.broadlink2.
Ingo,
I asked in the forum and the answers I got did not work, then I asked in all the issue requests (km200,radar, broadlink2). radar/radar2 geht nicht im compact mode wegen noble. km200, bmw und broadlink2 hab ich eigentlich schon umgebaut aber konnte es noch nicht testen, systeminfo, xs1 und statemachine kommen dann dran, aber vorher will ich wissen ob mein Umbau OK ist.
from iobroker.broadlink2.
Was genau ist denn das Problem?
Wenn es der nicht mehr existierend 1.6.0-dev Branch ist dann siehe letzter Kommentar. Was ist es ggf sonst? Was genau geht nicht?
from iobroker.broadlink2.
Ingo, the log below is what I get when I want tu update js-controller (in this case V1.4.2) with sudo npm install ioBroker/ioBroker.js-controller
:
`
Cannot write file. Not critical: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../reinstall.js'
Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat'
Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat'
Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../iob.bat'
fs.js:885
return binding.mkdir(pathModule._makeLong(path),
^
Error: EACCES: permission denied, mkdir '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../tmp'
at Object.fs.mkdirSync (fs.js:885:18)
at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:398:58)
at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:219:23)
at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2303:5)
at Object. (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:86)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/xpc-connection):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/unix-dgram):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/diskusage):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node iobroker.js setup first
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/frank/.npm/_logs/2019-03-25T17_48_09_691Z-debug.log
`
from iobroker.broadlink2.
The same when I want to go to the 1.6.0-dev, in both cases iobroker is killed and need to be freshly installed. I test now on VM where I can backup an older snapshot instead of reinstallation.
from iobroker.broadlink2.
Then please run latest version of Fixer Skript and try again do it work then?
There is something with your rights and yes this looks like whatever fixed roughly 10 days ago in installer and Fixer.
from iobroker.broadlink2.
Ok, I bite the bullet and did a fresh install, and stopped iobroker immediately after install and did then 'npm install ioBroker/ioBroker.js-controller#1.6.0-dev'
js-controller shows now v2.0.0.
How can I set now than an adapter runs in compact mode or not? Is there an beta-admin for it?
from iobroker.broadlink2.
Please see step 4 in forum. It is in iobroker-data/iobroker.json you need to add compact: true in commen when I remember correctly.
Additionally please remember: 1.6.0-dev is not updated anymore. 2.0.0 is now in Master branch! Somit could be that you muss latest changes now!
from iobroker.broadlink2.
Ingo, have now radar2, bmw, km200 and broadlink2 on Admin 3 und except for radar2 set all to compact mode (but could still not test it).
All of the 4 adapters succeed also adapter checker and Travis (with the exeption of radar2 warning for compact mode). But I have a problem with this, the broadlink2-Adapter in the checker. Like with all other I set the extIcon and the link to it works, but adapter checker complains with [E112] extIcon must be the same as an icon but with github path
! I tried everything but could not get it away...
p.s.: I would like to use this connection state in some adapters who are connected to devices (xs1 for example, the next adapter I need to update). Is there somewhere a description what I need to do in adapter to reflect connection state and potentially restart adapter if disconnected? I may use it also in radar2 in case noble's connection to bluetoothdrivers are lost!
from iobroker.broadlink2.
Habe noch immer keine Antwort für oben aber ich schließe das jetzt mal da der adapter den compact mode jetzt unterstützen sollte.
from iobroker.broadlink2.
Frank, you know how to else reach me ... And expecting answers within a day is somewhat unrealistic ...
To the icon: broadlink.png vs broadlink2.png?! Different files referenced ... use same file please
For connection: you create a channel "info" and a state connection in that, e.g. by defining as instanceObjects as https://github.com/Apollon77/ioBroker.meross/blob/master/io-package.json#L74 ... when you now set this state to "false" the light will be yellow (means Adapter is running but not connected) and if set to "true" the ligh is green.
Restarting adapter when disconnected (in fact not best practice because reconnection could be handled adapter internally!) you can do by calling adapter.stop/terminate/process.exit
from iobroker.broadlink2.
Discovery: Bluefox, Ich und alle anderen die mit Issues und PRs helfen ;-))
PR habe ich gesehen. Am Wochenende waren wir alle auf Homematic-Usertreffen in kassel ... also gib uns ein bissl zum durchatmen und reagieren bitte :-) Wir sehen das
from iobroker.broadlink2.
Nochmal zu Discovery: Ja alle Adapter sind noch nicht drin
from iobroker.broadlink2.
Related Issues (20)
- Neu DeviceType for Rm4 Mini HOT 2
- Problems link RM4 Pro HOT 1
- error beim Beenden seit JS-Controller 3.2.x HOT 1
- RM4(pro) - RF-Leaning funzt net HOT 2
- RM4Pro not working HOT 8
- Synology/Docker --> IoBroker --> Broadlink2
- RM3 buntes Gehäuse von Amazon mit 0x6507 S/N:RM7...klappen nicht HOT 2
- Think about to fix the issues found by adapter checker
- Compatibility check to js-controller 3.3 and Admin5 React UI HOT 1
- Compatibility check and testing for Node.js 14 and 16 HOT 1
- RM3 Mini wird nicht korrekt erkannt HOT 5
- Eingelernte Signale werden nicht mehr angelegt
- Compatibility check to js-controller 4.0 HOT 1
- RF commands learned with iobroker do not work. HOT 1
- Code wird nicht gesendet HOT 3
- RM3 mini does not learn codes HOT 1
- Device discovered which operates in cloud mode and could not be authenticated RM4pro HOT 4
- [QA] activate eslint checks and fix source
- This object will not be created in future versions. Please report this to the developer. HOT 1
- Help: How to connect an RM4C Mini HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iobroker.broadlink2.