Commit graph

1002 commits

Author SHA1 Message Date
Fabio Manganiello
4a04e51da7 Major refactoring #2 2017-12-18 01:10:51 +01:00
Fabio Manganiello
546ea1b9b9 Removed unneeded imports 2017-12-17 16:52:22 +01:00
Fabio Manganiello
1a6d726b19 Passing arguments to the plugin 2017-12-17 16:41:52 +01:00
Fabio Manganiello
339e7b73a5 Major refactoring.
Solves, among the others, #2, #18 and #22
2017-12-17 16:15:44 +01:00
Fabio Manganiello
cb423dab03 Removed short circuit on the response 2017-12-16 07:01:25 +01:00
Fabio Manganiello
6c7c08f7aa Version bump 2017-12-16 05:00:29 +01:00
Fabio Manganiello
8c89a10710 Simplified backend interface, fixed some bugs with response management 2017-12-16 04:56:43 +01:00
Fabio Manganiello
97f2733308 Fixed mpd package name 2017-12-16 02:27:51 +01:00
Fabio Manganiello
ea3eef379a No reference to self in static method 2017-12-14 01:58:42 +01:00
Fabio Manganiello
ee5b8e21a0 * If we get a push tickle on PushBullet, get that latest push
* Fixed device_id attribute name clash
2017-12-13 23:55:38 +01:00
Fabio Manganiello
dfb4620e0a Added __init__.py 2017-12-13 04:24:59 +01:00
Fabio Manganiello
33c4d9fb52 s/platypush.response/platypush.message.response/g 2017-12-13 04:21:26 +01:00
Fabio Manganiello
462dc2f1c9 * Sending responses back on the backend channel
* Version bump
2017-12-13 04:14:46 +01:00
Fabio Manganiello
491c2cd571 * More consistent management of responses
* Better per-plugin/per-backend logging management
2017-12-13 03:37:28 +01:00
Fabio Manganiello
91cf4478d0 Version bump 2017-12-13 01:17:52 +01:00
Fabio Manganiello
bf49fb8af3 #11 Kafka topics are now in the format topic.device_id so messages aren't broadcast to all the listeners of the same topic 2017-12-13 01:07:46 +01:00
Fabio Manganiello
c62a1a2bd3 Initialize the local fifo only when the backend is run 2017-12-13 01:04:04 +01:00
Fabio Manganiello
898a4ffdef Syntax error 2017-12-12 20:16:00 +01:00
Fabio Manganiello
f7202fd205 * PushbulletBackend.send_msg method refactored and removed pushbullet.py dependency
* Management of optional dependencies moved to setup.py
2017-12-12 20:14:02 +01:00
Fabio Manganiello
4b0706380e Consistent logging info 2017-12-12 19:26:23 +01:00
Fabio Manganiello
7a58add0ad #5 pusher script moved to its own module and entrypoint 2017-12-11 23:09:45 +01:00
Fabio Manganiello
00e9965305 setup.cfg 2017-12-11 20:41:50 +01:00
Fabio Manganiello
598ab223ab Ignore .pypirc 2017-12-11 20:39:46 +01:00
Fabio Manganiello
ca68aeb0e9 Installation notes 2017-12-11 20:34:13 +01:00
Fabio Manganiello
a8eead4327 Installation notes 2017-12-11 20:33:36 +01:00
Fabio Manganiello
d533052a33 Version bump 2017-12-11 20:31:42 +01:00
Fabio Manganiello
6c2ea3767c s/runbullet/platypush/g 2017-12-11 20:30:57 +01:00
Fabio Manganiello
50413dd89d Implemented send_msg on Pushbullet backend 2017-12-11 19:49:08 +01:00
Fabio Manganiello
e9e0512a52 Implemented local backend 2017-12-11 16:48:28 +01:00
Fabio Manganiello
3b74ed2bb7 Don't include disabled sections in the config 2017-12-11 10:05:45 +01:00
Fabio Manganiello
b4c445ecec Implemented retry mechanism 2017-12-11 04:45:55 +01:00
Fabio Manganiello
ab9e86dc25 Updated README 2017-12-11 04:24:05 +01:00
Fabio Manganiello
bc1289f2a9 Removed a debug print 2017-12-11 04:18:47 +01:00
Fabio Manganiello
687a91dad3 Support for Philips Hue scenes 2017-12-11 04:18:25 +01:00
Fabio Manganiello
1e75d2bda1 Implemented Philips Hue plugin 2017-12-11 03:53:26 +01:00
Fabio Manganiello
9183599664 Supporting multiple backends on pusher script 2017-12-11 01:23:22 +01:00
Fabio Manganiello
47e289ed8f Fixed method name 2017-11-29 03:37:33 +01:00
Fabio Manganiello
9790541362 Should flush the connection before exiting 2017-11-29 03:18:01 +01:00
Fabio Manganiello
83cbbb26ac Doing proper message encoding on kafka producer 2017-11-29 03:12:50 +01:00
Fabio Manganiello
9a868fc875 Remove extra pusher attribute on consumer side 2017-11-29 03:01:12 +01:00
Fabio Manganiello
8d32426554 Remove extra pusher attribute on consumer side 2017-11-29 02:59:56 +01:00
Fabio Manganiello
c4dc0fd9ae Fixed constructor 2017-11-29 02:53:34 +01:00
Fabio Manganiello
57519ed114 - Implemented Kafka backend, as a variant of #6
- pusher changed to use either Pushbullet or Kafka as a backend
(whatever is specified with pusher=True in the main config file). Still
a lot of dirty code to refactor there tho.
2017-11-29 02:44:03 +01:00
Fabio Manganiello
fcc136ae18 Cleanup websocket on error 2017-11-27 09:57:05 +01:00
Fabio Manganiello
81d879c9ee Removed unused modules 2017-11-09 05:37:05 +01:00
Fabio Manganiello
425ff8a285 Version bump 2017-11-09 05:10:25 +01:00
Fabio Manganiello
9dfe7ae7b1 Need to pass device too 2017-11-09 05:10:15 +01:00
Fabio Manganiello
a91ad43a30 Version bump 2017-11-09 05:05:23 +01:00
Fabio Manganiello
661ff9a0b8 #6: Made a more general purpose backend infrastructure 2017-11-09 05:04:48 +01:00
Fabio Manganiello
4d636386bf Doing things in a more sane way 2017-11-09 01:43:17 +01:00