From 958a2f7fec702f0da357ef8f3afeb7eae5d6abd7 Mon Sep 17 00:00:00 2001 From: ticaki Date: Thu, 21 Dec 2023 01:19:17 +0100 Subject: [PATCH] chore: release v0.1.2 * (ticaki) add common.name to states --- README.md | 2 +- build/lib/definition.js | 2 +- build/lib/definition.js.map | 2 +- io-package.json | 345 +++++++++++++++++++----------------- package-lock.json | 4 +- package.json | 2 +- 6 files changed, 185 insertions(+), 172 deletions(-) diff --git a/README.md b/README.md index ce417fb..2182804 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Noch zu tun Placeholder for the next version (at the beginning of the line): ### **WORK IN PROGRESS** --> -### **WORK IN PROGRESS** +### 0.1.2 (2023-12-21) * (ticaki) add common.name to states ### 0.1.1 (2023-12-20) diff --git a/build/lib/definition.js b/build/lib/definition.js index b1fa3a7..70d391f 100644 --- a/build/lib/definition.js +++ b/build/lib/definition.js @@ -840,7 +840,7 @@ const statesObjects = { _id: "", type: "state", common: { - name: "settings.config.name", + name: "devices.name", type: "string", role: "text", read: true, diff --git a/build/lib/definition.js.map b/build/lib/definition.js.map index 6ba7b00..9f8fd81 100644 --- a/build/lib/definition.js.map +++ b/build/lib/definition.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../../src/lib/definition.ts"], - "sourcesContent": ["import { settings, device, room } from './types-d';\n\nexport type ChangeTypeToChannelAndState = Obj extends object\n ? {\n [K in keyof Obj]-?: ChangeTypeToChannelAndState;\n } & customChannelType\n : ioBroker.StateObject;\nexport type ChangeToChannel = Obj extends object\n ? { [K in keyof Obj]-?: customChannelType & T }\n : ioBroker.StateObject;\n\nexport type ChangeTypeOfKeys = Obj extends object ? { [K in keyof Obj]-?: ChangeTypeOfKeys } : N;\n\nexport type customChannelType = {\n _channel: ioBroker.ChannelObject | ioBroker.DeviceObject;\n};\n\nexport const defaultChannel: ioBroker.ChannelObject = {\n _id: '',\n type: 'channel',\n common: {\n name: 'Hey no description... ',\n },\n native: {},\n};\n\nexport type statesObjectsType = {\n state: ioBroker.StateObject;\n rooms: customChannelType | ChangeTypeToChannelAndState;\n devices: customChannelType | ChangeTypeToChannelAndState;\n settings: customChannelType & { config: customChannelType | ChangeTypeToChannelAndState };\n};\n\nexport const genericStateObjects: {\n default: ioBroker.StateObject;\n customString: ioBroker.StateObject;\n devices: ioBroker.FolderObject;\n rooms: ioBroker.FolderObject;\n settings: ioBroker.FolderObject;\n presense: ioBroker.StateObject;\n} = {\n default: {\n _id: 'No_definition',\n type: 'state',\n common: {\n name: 'genericStateObjects.state',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n presense: {\n _id: '',\n type: 'state',\n common: {\n name: 'genericStateObjects.presense',\n type: 'boolean',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n customString: {\n _id: 'User_State',\n type: 'state',\n common: {\n name: 'genericStateObjects.customString',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n devices: {\n _id: '',\n type: 'folder',\n common: {\n name: 'devices.folder',\n },\n native: {},\n },\n rooms: {\n _id: '',\n type: 'folder',\n common: {\n name: 'rooms.folder',\n },\n native: {},\n },\n settings: {\n _id: '',\n type: 'folder',\n common: {\n name: 'settings.folder',\n },\n native: {},\n },\n};\nexport const statesObjects: statesObjectsType = {\n state: {\n _id: 'No_definition',\n type: 'state',\n common: {\n name: 'genericStateObjects.state',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n rooms: {\n _channel: {\n _id: '',\n type: 'device',\n common: {\n name: 'room.channel',\n },\n native: {},\n },\n known_irks: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.known_irks',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n known_macs: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.known_macs',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n query: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.query',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n exclude: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.exclude',\n type: 'string',\n role: 'text',\n read: true,\n write: true,\n },\n native: {},\n },\n status: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.status',\n type: 'string',\n role: 'text',\n read: true,\n write: true,\n },\n native: {},\n },\n max_distance: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.distance',\n type: 'number',\n role: 'value',\n unit: 'm',\n read: true,\n write: true,\n },\n native: {},\n },\n absorption: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.absorption',\n type: 'number',\n role: 'value',\n read: true,\n write: true,\n },\n native: {},\n },\n tx_ref_rssi: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.tx_ref_rssi',\n type: 'number',\n role: 'value',\n unit: 'db',\n read: true,\n write: false,\n },\n native: {},\n },\n rx_adj_rssi: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.rx_adj_rssi',\n type: 'number',\n role: 'value',\n unit: 'db',\n read: true,\n write: false,\n },\n native: {},\n },\n include: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.include',\n type: 'string',\n role: 'text',\n read: true,\n write: true,\n },\n native: {},\n },\n count_ids: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.count_ids',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n arduino_ota: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.arduino_ota',\n type: 'boolean',\n role: 'switch',\n read: true,\n write: true,\n },\n native: {\n convert: 'val ? \"ON\" : \"OFF\"',\n },\n },\n auto_update: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.auto_update',\n type: 'boolean',\n role: 'switch',\n read: true,\n write: true,\n },\n native: {\n convert: 'val ? \"ON\" : \"OFF\"',\n },\n },\n prerelease: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.prerelease',\n type: 'boolean',\n role: 'switch',\n read: true,\n write: true,\n },\n native: {\n convert: 'val ? \"ON\" : \"OFF\"',\n },\n },\n motion: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.motion',\n type: 'boolean',\n role: 'indicator',\n read: true,\n write: false,\n },\n native: {},\n },\n switch: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.switch',\n type: 'boolean',\n role: 'indicator',\n read: true,\n write: false,\n },\n native: {},\n },\n button: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.button',\n type: 'boolean',\n role: 'indicator',\n read: true,\n write: false,\n },\n native: {},\n },\n pir_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.pri_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n radar_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.radar_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n switch_1_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.switch_1_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n switch_2_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.switch_2_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n button_1_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.button_1_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n button_2_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.button_2_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n led_1: {\n _channel: {\n _id: '',\n type: 'channel',\n common: {\n name: 'room.led_1.channel',\n },\n native: {},\n },\n state: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.led_1.state',\n type: 'boolean',\n role: 'indicator',\n read: true,\n write: false,\n },\n native: {},\n },\n brightness: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.led_1.brightness',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n color: {\n _channel: {\n _id: '',\n type: 'channel',\n common: {\n name: 'room.led_1.color.channel',\n },\n native: {},\n },\n r: {\n _id: '',\n type: 'state',\n common: {\n name: 'red',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n g: {\n _id: '',\n type: 'state',\n common: {\n name: 'green',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n b: {\n _id: '',\n type: 'state',\n common: {\n name: 'blue',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n },\n },\n telemetry: {\n _channel: {\n _id: '',\n type: 'channel',\n common: {\n name: 'room.telemetry.channel',\n },\n native: {},\n },\n ip: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.ip',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n uptime: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.uptime',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n firm: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.firm',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n rssi: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.rssi',\n type: 'number',\n role: 'value',\n unit: 'db',\n read: true,\n write: false,\n },\n native: {},\n },\n ver: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.ver',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n count: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.count',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n adverts: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.adverts',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n seen: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.seen',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n reported: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.reported',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n freeHeap: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.freeheap',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n maxHeap: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.maxHeap',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n scanStack: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.scanStack',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n loopStack: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.loopStack',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n bleStack: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.bleStack',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n },\n },\n devices: {\n _channel: {\n _id: '',\n type: 'device',\n common: {\n name: 'devices.channel',\n },\n native: {},\n },\n mac: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.mac',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n id: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.id',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n name: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.name',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n disc: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.disc',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n idType: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.idType',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n 'rssi@1m': {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.rssi@1m',\n type: 'number',\n role: 'value',\n unit: 'db',\n read: true,\n write: false,\n },\n native: {},\n },\n rssi: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.rssi',\n type: 'number',\n role: 'value',\n unit: 'db',\n read: true,\n write: false,\n },\n native: {},\n },\n raw: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.raw',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n distance: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.distance',\n type: 'number',\n role: 'value',\n unit: 'm',\n read: true,\n write: false,\n },\n native: {},\n },\n int: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.int',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n close: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.close',\n type: 'boolean',\n role: 'indicator',\n read: true,\n write: false,\n },\n native: {},\n },\n },\n settings: {\n _channel: {\n _id: '',\n type: 'channel',\n common: {\n name: 'settings.channel',\n },\n native: {},\n },\n config: {\n _channel: {\n _id: '',\n type: 'channel',\n common: {\n name: 'settings.config.channel',\n },\n native: {},\n },\n id: {\n _id: '',\n type: 'state',\n common: {\n name: 'settings.config.id',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n name: {\n _id: '',\n type: 'state',\n common: {\n name: 'settings.config.name',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n },\n },\n};\n\nexport const Defaults = {\n state: {\n _id: 'No_definition',\n type: 'state',\n common: {\n name: 'No definition',\n\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n};\n"], + "sourcesContent": ["import { settings, device, room } from './types-d';\n\nexport type ChangeTypeToChannelAndState = Obj extends object\n ? {\n [K in keyof Obj]-?: ChangeTypeToChannelAndState;\n } & customChannelType\n : ioBroker.StateObject;\nexport type ChangeToChannel = Obj extends object\n ? { [K in keyof Obj]-?: customChannelType & T }\n : ioBroker.StateObject;\n\nexport type ChangeTypeOfKeys = Obj extends object ? { [K in keyof Obj]-?: ChangeTypeOfKeys } : N;\n\nexport type customChannelType = {\n _channel: ioBroker.ChannelObject | ioBroker.DeviceObject;\n};\n\nexport const defaultChannel: ioBroker.ChannelObject = {\n _id: '',\n type: 'channel',\n common: {\n name: 'Hey no description... ',\n },\n native: {},\n};\n\nexport type statesObjectsType = {\n state: ioBroker.StateObject;\n rooms: customChannelType | ChangeTypeToChannelAndState;\n devices: customChannelType | ChangeTypeToChannelAndState;\n settings: customChannelType & { config: customChannelType | ChangeTypeToChannelAndState };\n};\n\nexport const genericStateObjects: {\n default: ioBroker.StateObject;\n customString: ioBroker.StateObject;\n devices: ioBroker.FolderObject;\n rooms: ioBroker.FolderObject;\n settings: ioBroker.FolderObject;\n presense: ioBroker.StateObject;\n} = {\n default: {\n _id: 'No_definition',\n type: 'state',\n common: {\n name: 'genericStateObjects.state',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n presense: {\n _id: '',\n type: 'state',\n common: {\n name: 'genericStateObjects.presense',\n type: 'boolean',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n customString: {\n _id: 'User_State',\n type: 'state',\n common: {\n name: 'genericStateObjects.customString',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n devices: {\n _id: '',\n type: 'folder',\n common: {\n name: 'devices.folder',\n },\n native: {},\n },\n rooms: {\n _id: '',\n type: 'folder',\n common: {\n name: 'rooms.folder',\n },\n native: {},\n },\n settings: {\n _id: '',\n type: 'folder',\n common: {\n name: 'settings.folder',\n },\n native: {},\n },\n};\nexport const statesObjects: statesObjectsType = {\n state: {\n _id: 'No_definition',\n type: 'state',\n common: {\n name: 'genericStateObjects.state',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n rooms: {\n _channel: {\n _id: '',\n type: 'device',\n common: {\n name: 'room.channel',\n },\n native: {},\n },\n known_irks: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.known_irks',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n known_macs: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.known_macs',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n query: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.query',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n exclude: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.exclude',\n type: 'string',\n role: 'text',\n read: true,\n write: true,\n },\n native: {},\n },\n status: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.status',\n type: 'string',\n role: 'text',\n read: true,\n write: true,\n },\n native: {},\n },\n max_distance: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.distance',\n type: 'number',\n role: 'value',\n unit: 'm',\n read: true,\n write: true,\n },\n native: {},\n },\n absorption: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.absorption',\n type: 'number',\n role: 'value',\n read: true,\n write: true,\n },\n native: {},\n },\n tx_ref_rssi: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.tx_ref_rssi',\n type: 'number',\n role: 'value',\n unit: 'db',\n read: true,\n write: false,\n },\n native: {},\n },\n rx_adj_rssi: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.rx_adj_rssi',\n type: 'number',\n role: 'value',\n unit: 'db',\n read: true,\n write: false,\n },\n native: {},\n },\n include: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.include',\n type: 'string',\n role: 'text',\n read: true,\n write: true,\n },\n native: {},\n },\n count_ids: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.count_ids',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n arduino_ota: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.arduino_ota',\n type: 'boolean',\n role: 'switch',\n read: true,\n write: true,\n },\n native: {\n convert: 'val ? \"ON\" : \"OFF\"',\n },\n },\n auto_update: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.auto_update',\n type: 'boolean',\n role: 'switch',\n read: true,\n write: true,\n },\n native: {\n convert: 'val ? \"ON\" : \"OFF\"',\n },\n },\n prerelease: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.prerelease',\n type: 'boolean',\n role: 'switch',\n read: true,\n write: true,\n },\n native: {\n convert: 'val ? \"ON\" : \"OFF\"',\n },\n },\n motion: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.motion',\n type: 'boolean',\n role: 'indicator',\n read: true,\n write: false,\n },\n native: {},\n },\n switch: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.switch',\n type: 'boolean',\n role: 'indicator',\n read: true,\n write: false,\n },\n native: {},\n },\n button: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.button',\n type: 'boolean',\n role: 'indicator',\n read: true,\n write: false,\n },\n native: {},\n },\n pir_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.pri_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n radar_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.radar_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n switch_1_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.switch_1_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n switch_2_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.switch_2_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n button_1_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.button_1_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n button_2_timeout: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.button_2_timeout',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n led_1: {\n _channel: {\n _id: '',\n type: 'channel',\n common: {\n name: 'room.led_1.channel',\n },\n native: {},\n },\n state: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.led_1.state',\n type: 'boolean',\n role: 'indicator',\n read: true,\n write: false,\n },\n native: {},\n },\n brightness: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.led_1.brightness',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n color: {\n _channel: {\n _id: '',\n type: 'channel',\n common: {\n name: 'room.led_1.color.channel',\n },\n native: {},\n },\n r: {\n _id: '',\n type: 'state',\n common: {\n name: 'red',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n g: {\n _id: '',\n type: 'state',\n common: {\n name: 'green',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n b: {\n _id: '',\n type: 'state',\n common: {\n name: 'blue',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n },\n },\n telemetry: {\n _channel: {\n _id: '',\n type: 'channel',\n common: {\n name: 'room.telemetry.channel',\n },\n native: {},\n },\n ip: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.ip',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n uptime: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.uptime',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n firm: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.firm',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n rssi: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.rssi',\n type: 'number',\n role: 'value',\n unit: 'db',\n read: true,\n write: false,\n },\n native: {},\n },\n ver: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.ver',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n count: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.count',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n adverts: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.adverts',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n seen: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.seen',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n reported: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.reported',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n freeHeap: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.freeheap',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n maxHeap: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.maxHeap',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n scanStack: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.scanStack',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n loopStack: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.loopStack',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n bleStack: {\n _id: '',\n type: 'state',\n common: {\n name: 'room.telemetry.bleStack',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n },\n },\n devices: {\n _channel: {\n _id: '',\n type: 'device',\n common: {\n name: 'devices.channel',\n },\n native: {},\n },\n mac: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.mac',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n id: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.id',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n name: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.name',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n disc: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.disc',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n idType: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.idType',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n 'rssi@1m': {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.rssi@1m',\n type: 'number',\n role: 'value',\n unit: 'db',\n read: true,\n write: false,\n },\n native: {},\n },\n rssi: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.rssi',\n type: 'number',\n role: 'value',\n unit: 'db',\n read: true,\n write: false,\n },\n native: {},\n },\n raw: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.raw',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n distance: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.distance',\n type: 'number',\n role: 'value',\n unit: 'm',\n read: true,\n write: false,\n },\n native: {},\n },\n int: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.int',\n type: 'number',\n role: 'value',\n read: true,\n write: false,\n },\n native: {},\n },\n close: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.close',\n type: 'boolean',\n role: 'indicator',\n read: true,\n write: false,\n },\n native: {},\n },\n },\n settings: {\n _channel: {\n _id: '',\n type: 'channel',\n common: {\n name: 'settings.channel',\n },\n native: {},\n },\n config: {\n _channel: {\n _id: '',\n type: 'channel',\n common: {\n name: 'settings.config.channel',\n },\n native: {},\n },\n id: {\n _id: '',\n type: 'state',\n common: {\n name: 'settings.config.id',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n name: {\n _id: '',\n type: 'state',\n common: {\n name: 'devices.name',\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n },\n },\n};\n\nexport const Defaults = {\n state: {\n _id: 'No_definition',\n type: 'state',\n common: {\n name: 'No definition',\n\n type: 'string',\n role: 'text',\n read: true,\n write: false,\n },\n native: {},\n },\n};\n"], "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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,UACJ,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,UACN,MAAM;AAAA,UACN,OAAO;AAAA,QACX;AAAA,QACA,QAAQ,CAAC;AAAA,MACb;AAAA,IACJ;AAAA,EACJ;AACJ;AAEO,MAAM,WAAW;AAAA,EACpB,OAAO;AAAA,IACH,KAAK;AAAA,IACL,MAAM;AAAA,IACN,QAAQ;AAAA,MACJ,MAAM;AAAA,MAEN,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,MACN,OAAO;AAAA,IACX;AAAA,IACA,QAAQ,CAAC;AAAA,EACb;AACJ;", "names": [] } diff --git a/io-package.json b/io-package.json index 3af1f3c..a28f51e 100644 --- a/io-package.json +++ b/io-package.json @@ -1,172 +1,185 @@ { - "common": { - "name": "espresense", - "version": "0.1.1", - "news": { - "0.1.1": { - "en": "fixed: sometimes adapter crashed after login.", - "de": "fix: manchmal adapter abgestürzt nach anmeldung.", - "ru": "исправлено: иногда адаптер сбил после входа.", - "pt": "corrigido: às vezes o adaptador caiu após o login.", - "nl": "soms crashte adapter na login.", - "fr": "fixe: parfois l'adaptateur s'est écrasé après la connexion.", - "it": "fisso: a volte adattatore bloccato dopo il login.", - "es": "fijo: a veces el adaptador se estrelló después de iniciar sesión.", - "pl": "niekiedy adapter rozbił się po locie.", - "uk": "виправлено: іноді адаптер збитий після входу.", - "zh-cn": "固定:有时在伐木之后被拖进。." - }, - "0.1.0": { - "en": "Added: send configuration datapoints to esp", - "de": "Hinzugefügt: senden Sie Konfigurationsdatenpunkte zu esp", - "ru": "Добавлена: отправьте настройки данных точек в esp", - "pt": "Adicionado: envie datapoints de configuração para esp", - "nl": "Vertaling:", - "fr": "Ajouté : envoyer des points de données de configuration à esp", - "it": "Aggiunto: inviare datapoint di configurazione a esp", - "es": "Añadido: enviar datos de configuración a esp", - "pl": "Added: wysyłać konfiguracyjne punkty danych do esp", - "uk": "Додано: відправляйте конфігурацію даних точок доступу до електронної пошти", - "zh-cn": "增 编:将数据点发送给项目" - }, - "0.0.3": { - "en": "Added: Mqtt Server with file db", - "de": "Hinzugefügt: Mqt Server mit Datei db", - "ru": "Добавлена: Mqtt Server с файлом db", - "pt": "Adicionado: Mqtt Server with file db", - "nl": "Vertaling:", - "fr": "Ajouté: Mqtt Server avec fichier db", - "it": "Aggiunto: Mqtt Server con file db", - "es": "Añadido: Mqtt Server con archivo db", - "pl": "Added: Mqtt Server z plikiem db", - "uk": "Додано: Mqtt Server з файлом db", - "zh-cn": "增 编:有档案的Mqt Server" - }, - "0.0.2": { - "en": "initial release", - "de": "erstausstrahlung", - "ru": "начальный выпуск", - "pt": "lançamento inicial", - "nl": "niet", - "fr": "initial release", - "it": "rilascio iniziale", - "es": "liberación inicial", - "pl": "pierwsze wydanie", - "uk": "початковий реліз", - "zh-cn": "初步释放" - }, - "0.0.1": { - "en": "initial release", - "de": "Erstveröffentlichung", - "ru": "Начальная версия", - "pt": "lançamento inicial", - "nl": "Eerste uitgave", - "fr": "Première version", - "it": "Versione iniziale", - "es": "Versión inicial", - "pl": "Pierwsze wydanie", - "uk": "Початкова версія", - "zh-cn": "首次出版" - } - }, - "title": "ESPresense", - "titleLang": { - "en": "ESPresense", - "de": "ESPresense", - "ru": "ESPresense", - "pt": "ESPresense", - "nl": "ESPresense", - "fr": "ESPrésense", - "it": "ESPresense", - "es": "ESPresense", - "pl": "ESPresense", - "uk": "ESPresense", - "zh-cn": "ESPRESENSE" - }, - "desc": { - "en": "Connect to ESPresense", - "de": "Stellen Sie eine Verbindung zu ESPresense her", - "ru": "Подключиться к ESPresense", - "pt": "Conecte-se ao ESPresense", - "nl": "Maak verbinding met ESPresense", - "fr": "Connectez-vous à ESPresense", - "it": "Connettiti a ESPresense", - "es": "Conéctate a ESPresense", - "pl": "Połącz się z ESPresense", - "uk": "Підключіться до ESPresense", - "zh-cn": "连接至 ESPresense" - }, - "authors": [ - "ticaki " - ], - "keywords": [ - "esp", - "presense" - ], - "license": "MIT", - "platform": "Javascript/Node.js", - "main": "build/main.js", - "icon": "espresense.png", - "enabled": true, - "extIcon": "https://raw.githubusercontent.com/ticaki/ioBroker.espresense/main/admin/espresense.png", - "readme": "https://github.com/ticaki/ioBroker.espresense/blob/main/README.md", - "loglevel": "info", - "mode": "daemon", - "type": "geoposition", - "tier": 2, - "compact": true, - "connectionType": "local", - "dataSource": "push", - "adminUI": { - "config": "json" - }, - "dependencies": [ - { - "js-controller": ">=3.3.22" - } - ], - "globalDependencies": [ - { - "admin": ">=5.1.13" - } - ], - "messagebox": true + "common": { + "name": "espresense", + "version": "0.1.2", + "news": { + "0.1.2": { + "en": "add common.name to states", + "de": "fügen sie gemeinsam hinzu. name auf staaten", + "ru": "добавить общий. имя в государствах", + "pt": "adicionar comum. nome para estados", + "nl": "doe normaal. naam tot staat", + "fr": "ajouter commun. nom aux états", + "it": "aggiungere comune. nome agli stati", + "es": "añadir común. nombre a los estados", + "pl": "dodać powszechne. nazwa państwa", + "uk": "додати загальний. ім'я в держави", + "zh-cn": "增加共同之处。 姓名" + }, + "0.1.1": { + "en": "fixed: sometimes adapter crashed after login.", + "de": "fix: manchmal adapter abgestürzt nach anmeldung.", + "ru": "исправлено: иногда адаптер сбил после входа.", + "pt": "corrigido: às vezes o adaptador caiu após o login.", + "nl": "soms crashte adapter na login.", + "fr": "fixe: parfois l'adaptateur s'est écrasé après la connexion.", + "it": "fisso: a volte adattatore bloccato dopo il login.", + "es": "fijo: a veces el adaptador se estrelló después de iniciar sesión.", + "pl": "niekiedy adapter rozbił się po locie.", + "uk": "виправлено: іноді адаптер збитий після входу.", + "zh-cn": "固定:有时在伐木之后被拖进。." + }, + "0.1.0": { + "en": "Added: send configuration datapoints to esp", + "de": "Hinzugefügt: senden Sie Konfigurationsdatenpunkte zu esp", + "ru": "Добавлена: отправьте настройки данных точек в esp", + "pt": "Adicionado: envie datapoints de configuração para esp", + "nl": "Vertaling:", + "fr": "Ajouté : envoyer des points de données de configuration à esp", + "it": "Aggiunto: inviare datapoint di configurazione a esp", + "es": "Añadido: enviar datos de configuración a esp", + "pl": "Added: wysyłać konfiguracyjne punkty danych do esp", + "uk": "Додано: відправляйте конфігурацію даних точок доступу до електронної пошти", + "zh-cn": "增 编:将数据点发送给项目" + }, + "0.0.3": { + "en": "Added: Mqtt Server with file db", + "de": "Hinzugefügt: Mqt Server mit Datei db", + "ru": "Добавлена: Mqtt Server с файлом db", + "pt": "Adicionado: Mqtt Server with file db", + "nl": "Vertaling:", + "fr": "Ajouté: Mqtt Server avec fichier db", + "it": "Aggiunto: Mqtt Server con file db", + "es": "Añadido: Mqtt Server con archivo db", + "pl": "Added: Mqtt Server z plikiem db", + "uk": "Додано: Mqtt Server з файлом db", + "zh-cn": "增 编:有档案的Mqt Server" + }, + "0.0.2": { + "en": "initial release", + "de": "erstausstrahlung", + "ru": "начальный выпуск", + "pt": "lançamento inicial", + "nl": "niet", + "fr": "initial release", + "it": "rilascio iniziale", + "es": "liberación inicial", + "pl": "pierwsze wydanie", + "uk": "початковий реліз", + "zh-cn": "初步释放" + }, + "0.0.1": { + "en": "initial release", + "de": "Erstveröffentlichung", + "ru": "Начальная версия", + "pt": "lançamento inicial", + "nl": "Eerste uitgave", + "fr": "Première version", + "it": "Versione iniziale", + "es": "Versión inicial", + "pl": "Pierwsze wydanie", + "uk": "Початкова версія", + "zh-cn": "首次出版" + } }, - "protectedNative": [ - "MQTTPassword" + "title": "ESPresense", + "titleLang": { + "en": "ESPresense", + "de": "ESPresense", + "ru": "ESPresense", + "pt": "ESPresense", + "nl": "ESPresense", + "fr": "ESPrésense", + "it": "ESPresense", + "es": "ESPresense", + "pl": "ESPresense", + "uk": "ESPresense", + "zh-cn": "ESPRESENSE" + }, + "desc": { + "en": "Connect to ESPresense", + "de": "Stellen Sie eine Verbindung zu ESPresense her", + "ru": "Подключиться к ESPresense", + "pt": "Conecte-se ao ESPresense", + "nl": "Maak verbinding met ESPresense", + "fr": "Connectez-vous à ESPresense", + "it": "Connettiti a ESPresense", + "es": "Conéctate a ESPresense", + "pl": "Połącz się z ESPresense", + "uk": "Підключіться до ESPresense", + "zh-cn": "连接至 ESPresense" + }, + "authors": [ + "ticaki " + ], + "keywords": [ + "esp", + "presense" + ], + "license": "MIT", + "platform": "Javascript/Node.js", + "main": "build/main.js", + "icon": "espresense.png", + "enabled": true, + "extIcon": "https://raw.githubusercontent.com/ticaki/ioBroker.espresense/main/admin/espresense.png", + "readme": "https://github.com/ticaki/ioBroker.espresense/blob/main/README.md", + "loglevel": "info", + "mode": "daemon", + "type": "geoposition", + "tier": 2, + "compact": true, + "connectionType": "local", + "dataSource": "push", + "adminUI": { + "config": "json" + }, + "dependencies": [ + { + "js-controller": ">=3.3.22" + } ], - "encryptedNative": [ - "MQTTPassword" + "globalDependencies": [ + { + "admin": ">=5.1.13" + } ], - "native": { - "MQTTServerIp": "", - "MQTTUsername": "", - "MQTTPassword": "", - "MQTTUseServer": false, - "unseenTime": 30 + "messagebox": true + }, + "protectedNative": [ + "MQTTPassword" + ], + "encryptedNative": [ + "MQTTPassword" + ], + "native": { + "MQTTServerIp": "", + "MQTTUsername": "", + "MQTTPassword": "", + "MQTTUseServer": false, + "unseenTime": 30 + }, + "objects": [], + "instanceObjects": [ + { + "_id": "info", + "type": "channel", + "common": { + "name": "Information" + }, + "native": {} }, - "objects": [], - "instanceObjects": [ - { - "_id": "info", - "type": "channel", - "common": { - "name": "Information" - }, - "native": {} - }, - { - "_id": "info.connection", - "type": "state", - "common": { - "role": "indicator.connected", - "name": "Device or service connected", - "type": "boolean", - "read": true, - "write": false, - "def": false - }, - "native": {} - } - ] + { + "_id": "info.connection", + "type": "state", + "common": { + "role": "indicator.connected", + "name": "Device or service connected", + "type": "boolean", + "read": true, + "write": false, + "def": false + }, + "native": {} + } + ] } diff --git a/package-lock.json b/package-lock.json index 2cfd97b..11de944 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "iobroker.espresense", - "version": "0.1.1", + "version": "0.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "iobroker.espresense", - "version": "0.1.1", + "version": "0.1.2", "license": "MIT", "dependencies": { "@iobroker/adapter-core": "^3.0.4", diff --git a/package.json b/package.json index 738646d..bbf0006 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iobroker.espresense", - "version": "0.1.1", + "version": "0.1.2", "description": "Connect to ESPresense", "author": { "name": "ticaki",