Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# 1.0.0 (2022-10-10) ### Bug Fixes * add bind-tools to Docker image ([5ca01e2](5ca01e2)) * Add ClusterModule to EntitiesModule dependencies ([b7de024](b7de024)) * Added missing interface definition ([989b765](989b765)) * **bluetooth-classic:** adapt timeouts to match shorter interval ([e2c83bf](e2c83bf)) * **bluetooth-classic:** align device_tracker discovery ([#493](https://github.com/legovaer/room-assistant2/issues/493)) ([9e1be95](9e1be95)) * **bluetooth-classic:** enforce time limit for inquiries ([f9a1ae4](f9a1ae4)) * **bluetooth-classic:** exclude I/O errors from logs and healthcheck ([dcb1cf1](dcb1cf1)) * **bluetooth-classic:** exclude old measurements from preservation ([10b0e21](10b0e21)) * **bluetooth-classic:** filter only active nodes ([3e7cf6e](3e7cf6e)) * **bluetooth-classic:** fix device rotation logic ([15f5f89](15f5f89)), closes [#288](#288) * **bluetooth-classic:** fix health indicator when device not in reach ([a23065f](a23065f)), closes [#284](#284) * **bluetooth-classic:** give hciconfig proper permissions ([29c4406](29c4406)) * **bluetooth-classic:** handle exceptions more elegantly ([241a251](241a251)) * **bluetooth-classic:** ignore requests for undefined addresses ([ed733a3](ed733a3)), closes [#136](#136) * **bluetooth-classic:** improve signal strength estimation ([418ab35](418ab35)) * **bluetooth-classic:** increase change detection speed ([6325937](6325937)), closes [#775](https://github.com/legovaer/room-assistant2/issues/775) * **bluetooth-classic:** increase default interval ([ce64847](ce64847)), closes [#351](#351) * **bluetooth-classic:** increased the timeout ([b18b812](b18b812)) * **bluetooth-classic:** Publish RSSI even for local inquiries ([025ceb1](025ceb1)) * **bluetooth-classic:** request info only on current instance ([9ae5cca](9ae5cca)) * **bluetooth-classic:** trim the name output ([072809a](072809a)) * **bluetooth-classic:** tuned filter parameters ([58f79ab](58f79ab)) * **bluetooth-classic:** uses the device address as default name ([cc5b8a9](cc5b8a9)) * **bluetooth-low-energy:** add timeout for app discovery ([16922ac](16922ac)) * **bluetooth-low-energy:** end app discovery on disconnect ([ac2c13d](ac2c13d)) * **bluetooth-low-energy:** fix EALREADY errors ([ace9be2](ace9be2)), closes [#316](#316) [#302](#302) * **bluetooth-low-energy:** fix id override for ibeacons ([c84c1f8](c84c1f8)), closes [#732](https://github.com/legovaer/room-assistant2/issues/732) * **bluetooth-low-energy:** handle id override for app properly ([aab8757](aab8757)), closes [#649](https://github.com/legovaer/room-assistant2/issues/649) * **bluetooth-low-energy:** improve app id sharing ([b0b2f7c](b0b2f7c)) * **bluetooth-low-energy:** interpret allowlist as strings ([7a442e1](7a442e1)), closes [#534](https://github.com/legovaer/room-assistant2/issues/534) * **bluetooth-low-energy:** log warnings from BLE adapter ([dccbce5](dccbce5)) * **bluetooth-low-energy:** make distance measurements less twitchy ([12bcafb](12bcafb)) * **bluetooth-low-energy:** match overrides in case insensitive manner ([2eafe63](2eafe63)), closes [#732](https://github.com/legovaer/room-assistant2/issues/732) * **bluetooth-low-energy:** only disconnect from connected devices ([d54c53d](d54c53d)) * **bluetooth-low-energy:** remove usage of txPowerLevel ([a4425ba](a4425ba)) * **bluetooth-low-energy:** removes uom from room presence sensors ([4d9a2ec](4d9a2ec)) * **bluetooth-low-energy:** retry on immediate disconnects ([37000b8](37000b8)), closes [#508](https://github.com/legovaer/room-assistant2/issues/508) * **bluetooth-low-energy:** stall discovery till integrations are ready ([a186368](a186368)), closes [#120](#120) * **bluetooth-low-energy:** tuned filter parameters ([cbea490](cbea490)) * **bluetooth-low-energy:** use original id for allowlist check ([6a5d0cc](6a5d0cc)), closes [#596](https://github.com/legovaer/room-assistant2/issues/596) * **bluetooth:** attempt adapter reset on LE timeouts ([386ef37](386ef37)) * **bluetooth:** await reset before unlocking adapter ([c026ac3](c026ac3)) * **bluetooth:** disallow parallel resets ([09d55bd](09d55bd)) * **bluetooth:** further improve adapter stability ([fef1a2c](fef1a2c)) * **bluetooth:** hard reset adapter on timeouts ([112441b](112441b)) * **bluetooth:** improve adapter stability ([1c99d05](1c99d05)) * **bluetooth:** improve adapter stability ([27112a0](27112a0)) * **bluetooth:** improve adapter state handling ([7a8fa44](7a8fa44)), closes [#316](#316) [#302](#302) * **bluetooth:** respect connecting state during retry ([8f36d87](8f36d87)) * **cluster:** catch mdns discovery issues ([31174db](31174db)), closes [#107](#107) * **cluster:** ensure there is only one leader ([286adc2](286adc2)), closes [#195](#195) * **cluster:** improve null safety ([c02269c](c02269c)), closes [#308](#308) * **cluster:** increase timeout ([bcb0d5a](bcb0d5a)) * **cluster:** log leader election events on all nodes ([ab87ef5](ab87ef5)) * **cluster:** prevent complete removal of configured peers ([87d74c0](87d74c0)) * **cluster:** resolve localhost with digResolver as well ([5b076de](5b076de)), closes [#171](#171) * **cluster:** use instance name as node id ([e028414](e028414)) * **config:** log configuration sources ([0d47a54](0d47a54)) * D6T component now adheres to new integration loading mechanism ([2357f83](2357f83)) * **docker:** include heatmap dependencies in image ([7cf5de1](7cf5de1)), closes [#826](https://github.com/legovaer/room-assistant2/issues/826) * **entities:** do not refresh non-locked entities ([7c031d4](7c031d4)), closes [#532](https://github.com/legovaer/room-assistant2/issues/532) * **entities:** prevent dates from being proxied ([d861486](d861486)) * **entities:** re-publish all entity states when elected ([be380cd](be380cd)) * **home-assistant:** clear retained old style status messages ([d33d6e3](d33d6e3)) * **home-assistant:** connect to broker correctly on init ([4ad5872](4ad5872)) * **home-assistant:** correctly format array in entity configs ([0f0dc24](0f0dc24)), closes [#728](https://github.com/legovaer/room-assistant2/issues/728) * **home-assistant:** do not log binary state updates ([a96b566](a96b566)) * **home-assistant:** Do not make distributed sensors unavailable on shutdown ([29ffddc](29ffddc)) * **home-assistant:** fix message formatting for primitive types ([ef5af5e](ef5af5e)) * **home-assistant:** fix MQTT options ([931b223](931b223)), closes [#321](#321) * **home-assistant:** log undefined for unkown message receivers ([45f3232](45f3232)) * **home-assistant:** no availability msgs for distributed child devices ([1b82c55](1b82c55)) * **home-assistant:** only end connection if connected ([8950cca](8950cca)) * **home-assistant:** replace apostrophes with dashes ([#282](#282)) ([b1fd7ae](b1fd7ae)) * **home-assistant:** retain availability messages ([3093154](3093154)), closes [#102](#102) * **home-assistant:** retain state updates ([382deed](382deed)) * **home-assistant:** switch to different device identifier ([227da0b](227da0b)) * **home-assistant:** use consistent id for instance availability ([6781619](6781619)), closes [#728](https://github.com/legovaer/room-assistant2/issues/728) * **home-assistant:** use correct instance status topic for local entities ([9199fcd](9199fcd)) * improve companion app detection ([4e75511](4e75511)) * include distances in API for room presence sensors ([567327d](567327d)) * limit classic inquiry lock time ([c1412cb](c1412cb)), closes [#327](#327) * Load application correctly even when launched via bin ([4b948bd](4b948bd)) * localisation algorithms for thermopile sensors ([cc67cf1](cc67cf1)) * Make room-assistant read default config even when run from somewhere else ([5ef1321](5ef1321)) * Only emit updates for distributed entities on leader again ([6c5fd43](6c5fd43)) * Pass isLeader to EntityProxyHandler with correct context ([7672882](7672882)) * prevent Loki log transport from interfering ([1a4d662](1a4d662)) * remove confusing error logs for optional deps ([f948141](f948141)) * remove vulnerable class-transformer dependency ([0fe2a38](0fe2a38)) * set leader status to none if not picked yet ([8025011](8025011)) * solve memory issues during install w/ npm v7 ([53525db](53525db)), closes [#514](https://github.com/legovaer/room-assistant2/issues/514) * speed up heatmap generation ([0da4ff6](0da4ff6)), closes [#721](https://github.com/legovaer/room-assistant2/issues/721) * stop attribute updates when not_home ([6e9f31a](6e9f31a)), closes [#113](#113) * update leader status when local node is elected ([2a51603](2a51603)), closes [#195](#195) * use base image compatible with Raspbian Buster ([75ea381](75ea381)), closes [#917](https://github.com/legovaer/room-assistant2/issues/917) * use new room presence logic for timeout check ([872c766](872c766)) * use Tini for process management in Docker ([932d603](932d603)), closes [#157](#157) * **xiaomi-mi:** fix auto-discovery information ([982a4c3](982a4c3)), closes [#304](#304) * **xiaomi-mi:** fix auto-discovery information ([24d1460](24d1460)), closes [#304](#304) ### Features * add Docker healthchecks ([a8cffec](a8cffec)) * add generic MQTT integration ([848a25b](848a25b)), closes [#434](https://github.com/legovaer/room-assistant2/issues/434) * add new Xiaomi Mi integration ([#184](#184)) ([0be912b](0be912b)), closes [#176](#176) * add sensors for cluster state ([b8249e8](b8249e8)), closes [#127](#127) * add toggle for heatmap ([60afaa5](60afaa5)) * add update notifications ([a54cee9](a54cee9)) * Added Bluetooth Classic integration ([69fd4a3](69fd4a3)) * added Docker configuration ([546fe62](546fe62)) * Added Grid-EYE thermopile integration ([134c98b](134c98b)) * Added Kalman filtering of BLE RSSI values ([ef5583c](ef5583c)) * advertise API via mDNS ([8a6f86c](8a6f86c)) * allow state updates to be debounced ([3a93728](3a93728)) * **bluetooth-classic:** adapts closest instance detection to be instant ([3966ab6](3966ab6)) * **bluetooth-classic:** add default state setting for inquiries switch ([dd464c9](dd464c9)), closes [#275](#275) * **bluetooth-classic:** add name override option ([d0c5c52](d0c5c52)), closes [#596](https://github.com/legovaer/room-assistant2/issues/596) * **bluetooth-classic:** add option for preserving sensor state ([7cd2afe](7cd2afe)), closes [#156](#156) * **bluetooth-classic:** add options for interval and timeout ([c5b181f](c5b181f)), closes [#147](#147) [#142](#142) * **bluetooth-classic:** add rssi factor option ([74aed6e](74aed6e)), closes [#606](https://github.com/legovaer/room-assistant2/issues/606) * **bluetooth-classic:** add scan time limit option ([ae40009](ae40009)), closes [#179](#179) * **bluetooth-classic:** added inquiries switch ([8f4d7f4](8f4d7f4)) * **bluetooth-classic:** adds minRssi option ([2051e8e](2051e8e)) * **bluetooth-classic:** allow device-specific minRssi values ([cf3ddc5](cf3ddc5)), closes [#168](#168) * **bluetooth-classic:** allow id overrides ([f5fc88d](f5fc88d)) * **bluetooth-classic:** apply Kalman filter to RSSI values ([f3566f5](f3566f5)) * **bluetooth-classic:** individual devices per peripheral ([1a3c470](1a3c470)) * **bluetooth-classic:** monitor command health ([37ae1e4](37ae1e4)), closes [#194](#194) * **bluetooth-classic:** reduce interval to 6 seconds ([4b77868](4b77868)) * **bluetooth-low-energy:** adapts closest instance detection ([655c51f](655c51f)) * **bluetooth-low-energy:** add batteryMask for iBeacons ([#337](#337)) ([ac9717f](ac9717f)) * **bluetooth-low-energy:** add blacklist option ([0f6eac4](0f6eac4)), closes [#99](#99) * **bluetooth-low-energy:** add health indicator for advertisement timeouts ([f0cea61](f0cea61)) * **bluetooth-low-energy:** add option for reducing discovery log entries ([#853](https://github.com/legovaer/room-assistant2/issues/853)) ([e405558](e405558)) * **bluetooth-low-energy:** add RSSI and measuredPower to entity ([ec48507](ec48507)), closes [#140](#140) [#177](#177) [#203](#203) * **bluetooth-low-energy:** add rssi factor option ([5285b1a](5285b1a)), closes [#606](https://github.com/legovaer/room-assistant2/issues/606) * **bluetooth-low-energy:** added max distance option ([c7098cc](c7098cc)) * **bluetooth-low-energy:** allow id overrides ([e41034e](e41034e)), closes [#433](https://github.com/legovaer/room-assistant2/issues/433) * **bluetooth-low-energy:** allow iOS tracking via BLE ([17d537d](17d537d)), closes [#309](#309) * **bluetooth-low-energy:** allow tag names to be overriden ([649d207](649d207)), closes [#102](#102) * **bluetooth-low-energy:** allow the update frequency to be throttled ([0143309](0143309)), closes [#125](#125) * **bluetooth-low-energy:** always enforce whitelist ([8807e89](8807e89)) * **bluetooth-low-energy:** auto-attempt to recover scanning states ([df72629](df72629)) * **bluetooth-low-energy:** emit instance iBeacons ([eb89c9f](eb89c9f)) * **bluetooth-low-energy:** improve resilience of inquiry mode ([#887](https://github.com/legovaer/room-assistant2/issues/887)) ([9fc0eec](9fc0eec)) * **bluetooth-low-energy:** individual devices per peripheral ([fadd9be](fadd9be)) * **bluetooth-low-energy:** log newly discovered peripherals ([814c4ad](814c4ad)) * **bluetooth-low-energy:** make regular lists case insensitive ([286bd22](286bd22)) * **bluetooth-low-energy:** only connect to companion app devices ([adc3f23](adc3f23)) * **bluetooth-low-energy:** removed individual distance sensors ([af9e639](af9e639)), closes [#102](#102) * **bluetooth-low-energy:** share discovered apps with cluster ([188e76c](188e76c)) * **bluetooth:** add configuration options for noise filter ([85981ee](85981ee)), closes [#775](https://github.com/legovaer/room-assistant2/issues/775) * **bluetooth:** allow BLE and Classic to run on same adapter ([b0c0671](b0c0671)), closes [#209](#209) * **bluetooth:** reset deadlocked Bluetooth adapters ([4cdeb24](4cdeb24)) * **bluetooth:** reset stuck Bluetooth adapters ([ab4e940](ab4e940)) * **cli:** added config dir option ([56d3f4a](56d3f4a)) * **cli:** added verbose option ([09ceab3](09ceab3)) * **cluster:** add an option to resolve mdns hostnames with dig ([67593d4](67593d4)) * **cluster:** add peer syncing ([56cfe34](56cfe34)) * **cluster:** adds option for disabling auto discovery ([6777e10](6777e10)) * **cluster:** adds quorum option ([868d676](868d676)) * **cluster:** allows configuration of timeout and weight ([2173ca5](2173ca5)) * **config:** add config validation ([#555](https://github.com/legovaer/room-assistant2/issues/555)) ([7acc37f](7acc37f)) * document API with OpenAPI ([4d6d4de](4d6d4de)) * draw temperature values on heatmaps ([d2ad9bf](d2ad9bf)) * **entities:** add debounce edge options ([d5b92cf](d5b92cf)), closes [#329](#329) * **entities:** add http API for listing all entities ([2bff076](2bff076)) * **entities:** add rolling average behavior ([3acacf5](3acacf5)), closes [#285](#285) * **entities:** added a switch entity ([52eaef5](52eaef5)) * **entities:** added binary sensors ([bbd4c40](bbd4c40)) * **entities:** apply behaviors for REST API as well ([471620b](471620b)) * **entities:** bunch entity updates together ([52f0197](52f0197)) * expose some config options as env variables ([#1099](https://github.com/legovaer/room-assistant2/issues/1099)) ([3ae8e9a](3ae8e9a)), closes [#1094](https://github.com/legovaer/room-assistant2/issues/1094) * generate heatmaps w/o native dependencies ([ee8310c](ee8310c)) * **gpio:** add option to configure switches ([9d8b7c4](9d8b7c4)) * **gpio:** added gpio binary sensors ([47e66ff](47e66ff)) * **grid-eye:** add heatmap camera entity ([ac52e76](ac52e76)) * **grid-eye:** add option to mask zero based values ([#891](https://github.com/legovaer/room-assistant2/issues/891)) ([c8f5b95](c8f5b95)) * **home-assistant:** add device tracker discovery ([#425](https://github.com/legovaer/room-assistant2/issues/425)) ([5e3a727](5e3a727)) * **home-assistant:** add discoveryPrefix option ([#546](https://github.com/legovaer/room-assistant2/issues/546)) ([1056bb5](1056bb5)) * **home-assistant:** add health indicator ([2ab6e42](2ab6e42)) * **home-assistant:** add support for camera entities ([bc941ad](bc941ad)) * **home-assistant:** add support for MQTT device trackers ([3e50cd3](3e50cd3)), closes [#183](#183) * **home-assistant:** add support for MQTT Room ([acb0e1a](acb0e1a)), closes [#432](https://github.com/legovaer/room-assistant2/issues/432) * **home-assistant:** allow disabling of attribute updates ([9d2eb5b](9d2eb5b)) * **home-assistant:** moved topics into their own domain ([696e24b](696e24b)), closes [#102](#102) * **home-assistant:** refresh states after broker re-connect ([85064e6](85064e6)), closes [#218](#218) * **logger:** add Kibana log transporter ([076df21](076df21)) * **logger:** add Loki transport ([3eae74a](3eae74a)) * Made mdns module optional ([a3f2c33](a3f2c33)) * make api port configurable ([43da9da](43da9da)) * make hci device to be used configurable ([d8f9d59](d8f9d59)) * mark entities as unavailable on disconnect, shutdown & crash ([91b7cc1](91b7cc1)), closes [#181](#181) [#348](#348) * **omron-d6t:** add heatmap camera entity ([aee7f09](aee7f09)), closes [#199](#199) * Only send Bluetooth inquiries to participating nodes ([9a47a0e](9a47a0e)) * **prometheus:** add metrics ([d6a90ea](d6a90ea)) * publish entity updates via websocket ([4d36d0a](4d36d0a)) * Reworked the integration loading mechanism ([05c0fa3](05c0fa3)) * **shell:** add option to configure switches ([51b985f](51b985f)) * **shell:** added shell integration ([fdf759a](fdf759a)) * simplified entity ids ([dadaa0d](dadaa0d)), closes [#102](#102) * simplify log format ([0f90eaa](0f90eaa)), closes [#170](#170) * **status:** support systemd watchdog ([6d1816d](6d1816d)) * support NodeJS 16 ([b795995](b795995)) * update project info ([f85c5fc](f85c5fc)) * warn on outdated NodeJS versions ([36ceb79](36ceb79)) * **xiaomi-mi:** add device information ([#362](#362)) ([67427d5](67427d5)) * **xiaomi-mi:** add support for HA long-term statistics ([92bf8e8](92bf8e8)), closes [#869](https://github.com/legovaer/room-assistant2/issues/869) * **xiaomi-mi:** publish miflora battery state as sensors ([#852](https://github.com/legovaer/room-assistant2/issues/852)) ([1cdfcd2](1cdfcd2)) ### Performance Improvements * slim down Docker image ([0fc6d84](0fc6d84)) ### BREAKING CHANGES * Creates duplicated entries for all existing entities, as the ids have changed
- Loading branch information