diff --git a/README.md b/README.md index 58fb77c..9493168 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ The following values could be in `face.X.images.uploadResult`: --> ## Changelog -### **WORK IN PROGRESS** +### 0.0.2 (2025-01-01) * (@GermanBluefox) Initial commit ## License diff --git a/io-package.json b/io-package.json index 7df1e50..1b937ee 100644 --- a/io-package.json +++ b/io-package.json @@ -1,162 +1,187 @@ { - "common": { - "name": "face", - "version": "0.0.1", - "news": {}, - "title": "Face detection", - "titleLang": { - "en": "Face detection" - }, - "desc": { - "en": "Face detection" - }, - "authors": ["Denis Haev "], - "license": "MIT", - "platform": "Javascript/Node.js", - "mode": "daemon", - "nogit": true, - "loglevel": "info", - "readme": "https://github.com/ioBroker/ioBroker.face/blob/master/README.md", - "icon": "face.png", - "connectionType": "local", - "dataSource": "push", - "adminUI": { - "config": "materialize" - }, - "tier": 3, - "keywords": ["face", "face-detection", "detection"], - "stopTimeout": 5000, - "enabled": true, - "compact": true, - "extIcon": "https://raw.githubusercontent.com/ioBroker/ioBroker.face/master/admin/face.png", - "type": "utils", - "messagebox": true, - "plugins": { - "sentry": { - "dsn1": "https://de38f4a20c964ce395d2e236c64aa075@sentry.iobroker.net/234" - } - }, - "licenseInformation": { - "type": "free", - "license": "MIT" - }, - "supportedMessages": { - "deviceManager": true - } + "common": { + "name": "face", + "version": "0.0.2", + "news": { + "0.0.2": { + "en": "Initial commit", + "de": "Ursprüngliche Verpflichtung", + "ru": "Первоначальное обязательство", + "pt": "Compromisso inicial", + "nl": "Eerste commit", + "fr": "Engagement initial", + "it": "Impegno iniziale", + "es": "Composición inicial", + "pl": "Początkowe zobowiązanie", + "uk": "Початкова комісія", + "zh-cn": "初步承诺" + } }, - "protectedNative": ["password", "login"], - "encryptedNative": ["password"], - "native": { - "engine": "iobroker", - "login": "", - "password": "", - "persons": [] + "title": "Face detection", + "titleLang": { + "en": "Face detection" }, - "objects": [], - "instanceObjects": [ - { - "_id": "info", - "type": "folder", - "common": { - "name": "Information" - }, - "native": {} - }, - { - "_id": "info.tokens", - "type": "state", - "common": { - "expert": true, - "name": "Tokens", - "type": "json", - "role": "state" - }, - "native": {} - }, - { - "_id": "persons", - "type": "folder", - "common": { - "name": "Persons" - }, - "native": {} - }, - { - "_id": "images", - "type": "folder", - "common": { - "name": "Upload images" - }, - "native": {} - }, - { - "_id": "images.upload", - "type": "state", - "common": { - "name": "Data URL image", - "type": "string", - "role": "state", - "write": true, - "read": true, - "def": "" - }, - "native": {} - }, - { - "_id": "images.uploaded", - "type": "state", - "common": { - "name": "Uploaded images", - "desc": "Number of uploaded images to perform verification or training", - "type": "number", - "role": "state", - "write": false, - "read": true, - "def": 0 - }, - "native": {} - }, - { - "_id": "images.verify", - "type": "state", - "common": { - "name": "Verify", - "desc": "Trigger verification of uploaded images against known persons", - "type": "boolean", - "role": "button", - "write": true, - "read": false, - "def": false - }, - "native": {} - }, - { - "_id": "images.enroll", - "type": "state", - "common": { - "name": "Train person", - "desc": "Write person name to enroll", - "type": "string", - "role": "state", - "write": true, - "read": false, - "def": "" - }, - "native": {} - }, - { - "_id": "images.lastResult", - "type": "state", - "common": { - "name": "Last result", - "desc": "Last result of enroll or verify. Errors starts with '<' and ends with '>'", - "type": "string", - "role": "state", - "write": false, - "read": true, - "def": "" - }, - "native": {} - } - ] + "desc": { + "en": "Face detection" + }, + "authors": [ + "Denis Haev " + ], + "license": "MIT", + "platform": "Javascript/Node.js", + "mode": "daemon", + "nogit": true, + "loglevel": "info", + "readme": "https://github.com/ioBroker/ioBroker.face/blob/master/README.md", + "icon": "face.png", + "connectionType": "local", + "dataSource": "push", + "adminUI": { + "config": "materialize" + }, + "tier": 3, + "keywords": [ + "face", + "face-detection", + "detection" + ], + "stopTimeout": 5000, + "enabled": true, + "compact": true, + "extIcon": "https://raw.githubusercontent.com/ioBroker/ioBroker.face/master/admin/face.png", + "type": "utils", + "messagebox": true, + "plugins": { + "sentry": { + "dsn1": "https://de38f4a20c964ce395d2e236c64aa075@sentry.iobroker.net/234" + } + }, + "licenseInformation": { + "type": "free", + "license": "MIT" + }, + "supportedMessages": { + "deviceManager": true + } + }, + "protectedNative": [ + "password", + "login" + ], + "encryptedNative": [ + "password" + ], + "native": { + "engine": "iobroker", + "login": "", + "password": "", + "persons": [] + }, + "objects": [], + "instanceObjects": [ + { + "_id": "info", + "type": "folder", + "common": { + "name": "Information" + }, + "native": {} + }, + { + "_id": "info.tokens", + "type": "state", + "common": { + "expert": true, + "name": "Tokens", + "type": "json", + "role": "state" + }, + "native": {} + }, + { + "_id": "persons", + "type": "folder", + "common": { + "name": "Persons" + }, + "native": {} + }, + { + "_id": "images", + "type": "folder", + "common": { + "name": "Upload images" + }, + "native": {} + }, + { + "_id": "images.upload", + "type": "state", + "common": { + "name": "Data URL image", + "type": "string", + "role": "state", + "write": true, + "read": true, + "def": "" + }, + "native": {} + }, + { + "_id": "images.uploaded", + "type": "state", + "common": { + "name": "Uploaded images", + "desc": "Number of uploaded images to perform verification or training", + "type": "number", + "role": "state", + "write": false, + "read": true, + "def": 0 + }, + "native": {} + }, + { + "_id": "images.verify", + "type": "state", + "common": { + "name": "Verify", + "desc": "Trigger verification of uploaded images against known persons", + "type": "boolean", + "role": "button", + "write": true, + "read": false, + "def": false + }, + "native": {} + }, + { + "_id": "images.enroll", + "type": "state", + "common": { + "name": "Train person", + "desc": "Write person name to enroll", + "type": "string", + "role": "state", + "write": true, + "read": false, + "def": "" + }, + "native": {} + }, + { + "_id": "images.lastResult", + "type": "state", + "common": { + "name": "Last result", + "desc": "Last result of enroll or verify. Errors starts with '<' and ends with '>'", + "type": "string", + "role": "state", + "write": false, + "read": true, + "def": "" + }, + "native": {} + } + ] } diff --git a/package.json b/package.json index dd21428..0f4c733 100644 --- a/package.json +++ b/package.json @@ -1,74 +1,74 @@ { - "name": "iobroker.face", - "version": "0.0.1", - "description": "Controlling and simulation of face devices", - "author": { - "name": "Denis Haev", - "email": "dogafox@gmail.com" - }, - "homepage": "https://github.com/ioBroker/ioBroker.face", - "keywords": [ - "ioBroker", - "face-detection" - ], - "engines": { - "node": ">=18" - }, - "repository": { - "type": "git", - "url": "https://github.com/ioBroker/ioBroker.face" - }, - "optionalDependencies": { - "face-api.js": "^0.22.2" - }, - "dependencies": { - "@iobroker/adapter-core": "^3.2.2", - "axios": "^1.7.8" - }, - "devDependencies": { - "@alcalzone/release-script": "^3.8.0", - "@alcalzone/release-script-plugin-iobroker": "^3.7.2", - "@alcalzone/release-script-plugin-license": "^3.7.0", - "@iobroker/build-tools": "^2.0.9", - "@iobroker/eslint-config": "^1.0.0", - "@iobroker/types": "^7.0.6", - "@types/node": "^22.9.4", - "@types/jsonwebtoken": "^9.0.7", - "jsonwebtoken": "^9.0.2", - "chai": "^4.5.0", - "mocha": "^10.8.2", - "typescript": "~5.7.2" - }, - "bugs": { - "url": "https://github.com/ioBroker/ioBroker.face/issues" - }, - "main": "build/main.js", - "files": [ - "admin/", - "io-package.json", - "LICENSE", - "build/" - ], - "scripts": { - "test": "mocha --exit", - "prepublishOnly": "npm run build", - "npm": "npm i && cd src-admin && npm i", - "lint": "eslint -c eslint.config.mjs", - "lint-frontend": "cd src-admin && eslint -c eslint.config.mjs", - "build": "npm run build:backend && npm run build:gui", - "build:gui": "node tasks.js --build", - "build:backend": "tsc -p tsconfig.build.json", - "release": "release-script", - "release-patch": "release-script patch --yes", - "release-minor": "release-script minor --yes", - "release-major": "release-script major --yes", - "update-packages": "ncu --upgrade && cd src-admin && ncu --upgrade", - "0-clean": "node tasks.js --0-clean", - "1-npm": "node tasks.js --1-npm", - "2-build": "node tasks.js --2-build", - "3-copy": "node tasks.js --3-copy", - "4-patch": "node tasks.js --4-patch" - }, - "license": "Apache-2.0", - "readmeFilename": "README.md" + "name": "iobroker.face", + "version": "0.0.2", + "description": "Controlling and simulation of face devices", + "author": { + "name": "Denis Haev", + "email": "dogafox@gmail.com" + }, + "homepage": "https://github.com/ioBroker/ioBroker.face", + "keywords": [ + "ioBroker", + "face-detection" + ], + "engines": { + "node": ">=18" + }, + "repository": { + "type": "git", + "url": "https://github.com/ioBroker/ioBroker.face" + }, + "optionalDependencies": { + "face-api.js": "^0.22.2" + }, + "dependencies": { + "@iobroker/adapter-core": "^3.2.2", + "axios": "^1.7.8" + }, + "devDependencies": { + "@alcalzone/release-script": "^3.8.0", + "@alcalzone/release-script-plugin-iobroker": "^3.7.2", + "@alcalzone/release-script-plugin-license": "^3.7.0", + "@iobroker/build-tools": "^2.0.9", + "@iobroker/eslint-config": "^1.0.0", + "@iobroker/types": "^7.0.6", + "@types/node": "^22.9.4", + "@types/jsonwebtoken": "^9.0.7", + "jsonwebtoken": "^9.0.2", + "chai": "^4.5.0", + "mocha": "^10.8.2", + "typescript": "~5.7.2" + }, + "bugs": { + "url": "https://github.com/ioBroker/ioBroker.face/issues" + }, + "main": "build/main.js", + "files": [ + "admin/", + "io-package.json", + "LICENSE", + "build/" + ], + "scripts": { + "test": "mocha --exit", + "prepublishOnly": "npm run build", + "npm": "npm i && cd src-admin && npm i", + "lint": "eslint -c eslint.config.mjs", + "lint-frontend": "cd src-admin && eslint -c eslint.config.mjs", + "build": "npm run build:backend && npm run build:gui", + "build:gui": "node tasks.js --build", + "build:backend": "tsc -p tsconfig.build.json", + "release": "release-script", + "release-patch": "release-script patch --yes", + "release-minor": "release-script minor --yes", + "release-major": "release-script major --yes", + "update-packages": "ncu --upgrade && cd src-admin && ncu --upgrade", + "0-clean": "node tasks.js --0-clean", + "1-npm": "node tasks.js --1-npm", + "2-build": "node tasks.js --2-build", + "3-copy": "node tasks.js --3-copy", + "4-patch": "node tasks.js --4-patch" + }, + "license": "Apache-2.0", + "readmeFilename": "README.md" } diff --git a/src-admin/package.json b/src-admin/package.json index 4dd7449..60b19c9 100644 --- a/src-admin/package.json +++ b/src-admin/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.matter", - "version": "0.1.13", + "version": "0.0.2", "private": true, "dependencies": { "@iobroker/adapter-react-v5": "^7.4.8", @@ -40,4 +40,4 @@ } ] ] -} +} \ No newline at end of file