Commit graph

2739 commits

Author SHA1 Message Date
26ffc0b0e1
Use Redis instead of an in-process map to store the entity/plugin registry
This is particularly useful when we want to access the registry from
another process, like the web server or an external script.
2022-04-07 00:18:11 +02:00
7b1a63e287
Make sure that flake8 and black don't step on each other's toes 2022-04-07 00:17:39 +02:00
1c6ff2fa49
(actually, the other way around is better) 2022-04-06 23:56:10 +02:00
d311629403
black validation should run before flake8 2022-04-06 23:48:27 +02:00
d52ae2fb80
Implemented RunnablePlugin.wait_stop() utility method 2022-04-05 23:33:02 +02:00
061268cdaf
Support for direct actions on native entities [WIP] 2022-04-05 23:22:54 +02:00
91ff47167b
Don't terminate the entities engine thread if a batch of entity records fails 2022-04-05 23:04:57 +02:00
fe0f3202fe
columns should be a property of the Entity object 2022-04-05 23:04:19 +02:00
8a70f1d38e
Replaced deprecated sqlalchemy.ext.declarative with sqlalchemy.orm 2022-04-05 22:47:44 +02:00
4b7eeaa4ed
Smarter merging of entities with the same key before they are committed 2022-04-05 21:17:58 +02:00
b43ed169c7
Added support for switches as native entities to zwave.mqtt plugin 2022-04-05 20:22:47 +02:00
0dac2c0e92
Fixed handling of possible null device definition in zigbee.mqtt 2022-04-05 00:31:04 +02:00
28b3672432
Added native support for switch entities to the zigbee.mqtt plugin. 2022-04-05 00:07:55 +02:00
9f2793118b
black fix 2022-04-04 22:43:04 +02:00
9d9ec1dc59
Added native support for switch entities to the smartthings plugin 2022-04-04 22:41:04 +02:00
b9c78ad913
Added native support for switch entities to switchbot.bluetooth plugin 2022-04-04 21:12:59 +02:00
91ff8d811f
Added native entities support in switchbot plugin 2022-04-04 20:56:28 +02:00
783238642d
Skip string and underscore normalization in black 2022-04-04 20:56:28 +02:00
ca25607262
Skip string and underscore normalization in black 2022-04-04 20:55:10 +02:00
53da19b638
Added entities engine support to WeMo switch plugin 2022-04-04 17:22:55 +02:00
7459f0115b
Added more pre-commit hooks 2022-04-04 17:22:54 +02:00
2c4c27855d
Added .exception action to logger plugin 2022-04-04 17:22:54 +02:00
9c25a131fa
get_bus() should return a default RedisBus() instance if the main bus is not registered 2022-04-04 17:22:54 +02:00
1b30bfc454
Added more pre-commit hooks 2022-04-04 17:21:47 +02:00
4ee7e4db29
Basic support for entities on the local db and implemented support for switch entities on the tplink plugin 2022-04-04 16:50:17 +02:00
486801653a
Added .exception action to logger plugin 2022-04-03 00:26:39 +02:00
f7c594cc3f
get_bus() should return a default RedisBus() instance if the main bus is not registered 2022-04-02 22:47:23 +02:00
b1491b8048
Better style for scrollbars 2022-03-30 17:42:09 +02:00
96a2d8bef0
Fixed size for nav icons with static images 2022-03-30 13:53:10 +02:00
e261dcc27a
More UI fixes 2022-03-30 01:43:59 +02:00
d0790aaba3
Better style for toggle switches 2022-03-29 23:45:57 +02:00
bb28617cc9
Refactored slider and range-slider components 2022-03-29 14:36:17 +02:00
e1e6da9307
Fixed icon size for img tags in nav bar 2022-03-28 16:00:18 +02:00
f6ce0d7200
Fixed broken paddings after bulma removal 2022-03-28 13:13:31 +02:00
ed5f7070a2
Removed bulma dependency from frontend
The UI is now much faster, the build process completes within one minute
(it used to take >15 minutes), and the size of the bundles has been
reduced by ~70%.
2022-03-28 12:54:36 +02:00
5ee47902f4
Refactored camera stream route 2022-03-28 12:44:04 +02:00
128b45686a
Updated Vue dependencies for the webapp 2022-03-28 01:19:21 +02:00
3d192a9733
Removed unused import 2022-03-27 22:01:25 +02:00
08acaad218
Merge pull request #284 from BlackLight/dependabot/npm_and_yarn/platypush/backend/http/webapp/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6 in /platypush/backend/http/webapp
2022-03-27 18:36:51 +02:00
385914c04a
Added missing docs for gpio events 2022-03-27 18:30:46 +02:00
dependabot[bot]
b72c9a19ae
Bump minimist from 1.2.5 to 1.2.6 in /platypush/backend/http/webapp
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-27 14:45:19 +00:00
2e33d3b3c5
Bump version: 0.23.1 → 0.23.2 2022-03-27 16:43:36 +02:00
c5395cc9e5 Merge branch '212-starting-cronjob-with-high-pin' into 'master'
Resolve "Starting Cronjob with High Pin"

Closes #212

See merge request platypush/platypush!11
2022-03-27 16:30:54 +02:00
88846aa8f8 Updated CHANGELOG 2022-03-27 16:28:26 +02:00
ffd23cf04d [#212] Support for asynchronous event monitoring on the GPIO plugin 2022-03-27 16:14:30 +02:00
34e1e673e8
CHANGELOG update and LINT fixes 2022-03-12 02:04:07 +01:00
c3934e2a7e
Script API for platform variables [closes #206]
Added utility `platypush.context.Variable` class to simplify the
interaction with platform variables in custom Python scripts.
2022-03-12 01:51:18 +01:00
b3b2a7a805
Generating the README TOC via pre-commit script [closes #209] 2022-03-09 23:43:10 +01:00
747e7f3e5d
Fixed table of contents in README [closes #209] 2022-03-09 21:35:47 +01:00
fdf6d8fb4e
Better auto-generated documentation and fixed docstring warnings 2022-03-03 20:26:25 +01:00