Closed Omega236 closed 5 years ago
Bitte eher https://github.com/ioBroker/ioBroker.template lesen
Die Beschreibung: "This is a collection of templates for ioBroker developers to create adapters or VIS widgets. Just select the template you need, copy its contents from the sub directory and begin working on your project." ist schon etwas wenig und mehr infos finde ich nicht. oder übersehe ich irgendwas total?
Also: Du willst mal in Files reinschauen um zu sehen wie Dinge gehen, dann schau die dir Struktur und die Files an. Eigener Adapter: Alternatively you can use @iobroker/create-adapter to generate a custom skeleton based on your exact needs. We recommended that way if you start developing an adapter or widget.
Auch das hier ist gut als Basis zum Start. https://forum.iobroker.net/topic/6006/hm-usertreffen-vortrag-adapterentwicklung-lange-fassung Auch viele Links zu weiterer Doku drin!
Was brauchst Du sonst denn? Was genau interessiert dich?
Ok da war ich wohl zu fixiert auf den ioBroker.template
mit dem iobroker/create-adapter komm ich schon mal gut voran
Super. Wenn noch fragen kommen dann am besten im Forum im Entwickler Bereich stellen.
Ich verstehe nicht wie man einen Adapter erstellt.
Auch die Anleitung von https://www.npmjs.com/package/iobroker.template funktioniert nicht, Fehlermeldung:
[22:31:27] Using gulpfile /opt/iobroker/node_modules/iobroker.virtualpowermeter/gulpfile.js [22:31:27] Task never defined: rename [22:31:27] To list available tasks, try running: gulp --tasks
und nun die gulp --tasks gulp --tasks [22:31:54] Tasks for /opt/iobroker/node_modules/iobroker.virtualpowermeter/gulpfile.js [22:31:54] ├── adminWords2languages [22:31:54] ├── adminWords2languagesFlat [22:31:54] ├── adminLanguagesFlat2words [22:31:54] ├── adminLanguages2words [22:31:54] ├── updatePackages [22:31:54] ├── updateReadme [22:31:54] ├── translate [22:31:54] ├─┬ translateAndUpdateWordsJS [22:31:54] │ └─┬
[22:31:54] │ ├── translate
[22:31:54] │ ├── adminLanguages2words
[22:31:54] │ └── adminWords2languages
[22:31:54] └─┬ default
[22:31:54] └─┬
[22:31:54] ├── updatePackages
[22:31:54] └── updateReadme