John Doe
26326f71a6
stateChange event brodcasts complete entity state ( #6473 )
2021-02-27 09:46:33 +01:00
Nonsense112
1ff4be4600
Fix state.json not pretty printed ( #4943 )
...
* state.json format
Since 9774031
the state.json file is not formatted anymore, it's just 1 line.
* Update state.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
2020-11-11 18:36:15 +01:00
qm3ster
f26ddd93ff
Replace "problematic" depenencies
...
Also one comment typo lol
`node-static` was abandoned and vulnerable, which might matter since
it's used in production usage and not development.
replaced with popular `serve-static` + `finalhandler`
`json-stable-stringify` depended on an unneeded and unlicensed
polyfill for JSON builtin.
2020-09-25 15:58:45 +02:00
Koen Kanters
206f02b200
Updates for scenes. https://github.com/Koenkk/zigbee-herdsman-converters/pull/1531
2020-09-19 11:07:54 +02:00
Koen Kanters
7fe3167e97
Fix crash when saving state.json fails. #4388
2020-09-19 10:59:12 +02:00
Koen Kanters
9774031169
Sort logged and published JSON objects alphabetically. #4091
2020-08-13 20:00:35 +02:00
Koen Kanters
852bca5a08
Implement update state for new api. https://github.com/Koenkk/zigbee2mqtt/issues/3634 https://github.com/Koenkk/zigbee2mqtt/issues/3281
2020-08-02 23:09:43 +02:00
Koen Kanters
b1a4926a30
Add cache_state_persistent and cache_state_send_on_startup options. #3496
2020-07-10 22:09:16 +02:00
Koen Kanters
9df1589361
Move stateChange event to event bus.
2020-04-05 15:48:23 +02:00
Koen Kanters
1e6f99d88f
Don't cache properties which start with action_
2020-04-05 15:41:48 +02:00
Koen Kanters
c8eb503ae7
Simplify group optimistic mode. https://github.com/Koenkk/zigbee2mqtt/issues/764
2019-09-29 14:35:05 +02:00
Pauline Middelink
7507ad6dcb
Remove caching for to_side
and from_side
. ( #2048 )
...
Stop caching `to_side` and `from_side` which only have meaning during the `flip90` action of the MFKZQ01LM Smart Cube.
Fixes #641
2019-09-29 13:42:58 +02:00
Koen Kanters
d4011fabc7
Implement group optimistic ‘group_devices’ mode. https://github.com/Koenkk/zigbee2mqtt/issues/764#issuecomment-534146878
2019-09-25 12:51:17 +02:00
Koen Kanters
1a7331609a
Fix lint.
2019-09-17 18:38:25 +02:00
Koenkk
ff83840f76
Change group state when device state changes. https://github.com/Koenkk/zigbee2mqtt/issues/1971
2019-09-17 18:33:27 +02:00
Koen Kanters
9c5b3bf4d1
Use lastSeen from zigbee-herdsman.
2019-09-12 22:48:23 +02:00
Koen Kanters
d83085ea7f
Zigbee-herdsman ( #1945 )
...
* Update zigbee-herdsman and zigbee-shepherd-converters.
* Force Aqara S2 Lock endvices (#1764 )
* Start on zigbee-herdsman controller refactor.
* More updates.
* Cleanup zapp.
* updates.
* Propagate adapter disconnected event.
* Updates.
* Initial refactor to zigbee-herdsman.
* Refactor deviceReceive to zigbee-herdsman.
* Rename
* Refactor deviceConfigure.
* Finish bridge config.
* Refactor availability.
* Active homeassistant extension and more refactors.
* Refactor groups.
* Enable soft reset.
* Activate group membership
* Start on tests.
* Enable reporting.
* Add more controller tests.
* Add more tests
* Fix linting error.
* Data en deviceReceive tests.
* Move to zigbee-herdsman-converters.
* More device publish tests.
* Cleanup dependencies.
* Bring device publish coverage to 100.
* Bring home assistant test coverage to 100.
* Device configure tests.
* Attempt to fix tests.
* Another attempt.
* Another one.
* Another one.
* Another.
* Add wait.
* Longer wait.
* Debug.
* Update dependencies.
* Another.
* Begin on availability tests.
* Improve availability tests.
* Complete deviceAvailability tests.
* Device bind tests.
* More tests.
* Begin networkmap refactors.
* start on networkmap tests.
* Network map tests.
* Add utils tests.
* Logger tests.
* Settings and logger tests.
* Ignore some stuff for coverage and add todos.
* Add remaining missing tests.
* Enforce 100% test coverage.
* Start on groups test and refactor entityPublish to resolveEntity
* Remove joinPathStorage, not used anymore as group information is stored into zigbee-herdsman database.
* Fix linting issues.
* Improve tests.
* Add groups.
* fix group membership.
* Group: log names.
* Convert MQTT message to string by default.
* Fix group name.
* Updates.
* Revert configuration.yaml.
* Add new line.
* Fixes.
* Updates.
* Fix tests.
* Ignore soft reset extension.
2019-09-09 19:48:09 +02:00
Koen Kanters
c2b4d63e12
Don’t cache elapsed. https://github.com/Koenkk/zigbee2mqtt/issues/1576
2019-05-26 20:03:43 +02:00
Koen Kanters
ee9584121a
Update zigbee-shepherd-converters to 9.0.4.
2019-05-10 18:25:08 +02:00
Koen Kanters
26d8d27e85
Update zigbee-shepherd-converters to 9.0.1.
2019-05-02 19:59:23 +02:00
Koen Kanters
a54e256b40
Group configuration via configuration.yaml and group state ( #1464 )
...
Group configuration via configuration.yaml and group state.
2019-04-29 20:38:40 +02:00
Koen Kanters
7461fec28b
Update zigbee-shepherd-converters to 8.0.4.
2019-03-15 23:33:24 +01:00
Koen Kanters
8b4b9bea19
Refactor property cache responsibility to state.
2019-03-15 23:18:19 +01:00
Koen Kanters
ea7a4b1955
Remove last_seen from state when last_seen is disabled. https://github.com/Koenkk/zigbee2mqtt/issues/1075
2019-02-23 16:22:01 +01:00
Andreas Brett
25448f823e
Fix typo ( #1124 )
2019-02-19 19:16:18 +01:00
Koenkk
698b40554e
Improve tests.
2018-12-06 21:27:41 +01:00
Koenkk
6df4e39f18
Refactor!
2018-12-06 21:27:36 +01:00
Koenkk
04b2f24d6b
Persist devices state across restarts. #249
2018-08-13 19:21:55 +02:00