Commit graph

3459 commits

Author SHA1 Message Date
ee7407a7cc Don't create an MQTT client connection if there are no topics to subscribe.
If we open multiple connections from multiple MQTT-based backends to the
same host, with some of them having no topics subscribed, Paho-MQTT can
mess up which client is supposed to receive which message and we may end
up with lost messages on the platypush_bus_mqt/<host> topic.
2021-02-15 22:05:08 +01:00
201bb5986f Don't create an MQTT client connection if there are no topics to subscribe.
If we open multiple connections from multiple MQTT-based backends to the
same host, with some of them having no topics subscribed, Paho-MQTT can
mess up which client is supposed to receive which message and we may end
up with lost messages on the platypush_bus_mqt/<host> topic.
2021-02-15 22:02:58 +01:00
51e6d95205 Fixed valueId lookup in Z-Wave filtered values 2021-02-14 22:02:17 +01:00
c78420749b More Z-Wave UI fixes [WIP] 2021-02-14 21:43:11 +01:00
adbde5a681 Z-Wave UI style fixes [WIP] 2021-02-14 21:08:29 +01:00
80aa9b968d More Z-Wave UI fixes [WIP] 2021-02-14 19:16:21 +01:00
b922f29bb8 Moar Z-Wave UI style fixes [WIP] 2021-02-14 18:53:59 +01:00
4dd5ea71d6 Style fixes for Z-Wave UI migration [WIP] 2021-02-14 18:07:40 +01:00
297c18e176 Fixed glitches in new Z-Wave panel [WIP] 2021-02-14 16:28:34 +01:00
a1e2bf9b3a Fixed font size and ratio on new dashboard 2021-02-14 15:31:24 +01:00
c2784c400f Added dist files for z-wave panel migration 2021-02-14 14:46:02 +01:00
b49865181b Z-Wave plugin UI migration [WIP] 2021-02-14 02:29:39 +01:00
77c6f699a0 Keep track of the last state of the Zigbee controller so that new messages on the bridge/state topic won't trigger new events unless the state has actually changed [see #183] 2021-02-13 15:55:29 +01:00
add1bd05cb Keep track of the last state of the Zigbee controller so that new messages on the bridge/state topic won't trigger new events unless the state has actually changed [see #183] 2021-02-13 15:54:21 +01:00
4c69a1e579 Merge branch 'master' into vuejs 2021-02-13 15:14:06 +01:00
5832bc68d5 Don't default on logging.INFO level if another level is set in the configuration, and apply the same logging level also to the web server [closes #162] 2021-02-13 15:13:53 +01:00
8168cd3ab3 Don't default on logging.INFO level if another level is set in the configuration, and apply the same logging level also to the web server [closes #162] 2021-02-13 15:13:07 +01:00
be497548c1 Merge branch 'master' into vuejs 2021-02-12 22:44:20 +01:00
b3c28f6773 Added support for JWT token-based authentication 2021-02-12 22:43:34 +01:00
9b9334682f Still support default host/port fallback on mqtt.publish 2021-02-12 02:20:04 +01:00
06ca5be54b Still support default host/port fallback on mqtt.publish 2021-02-12 02:19:36 +01:00
30d5cdcb00 Generated new dist files for the web app 2021-02-11 23:58:36 +01:00
2427cceb5e Migration completed for the zigbee.mqtt web panel 2021-02-11 23:53:05 +01:00
73cc742dfb Fixed backend.zigbee.mqtt to work with the new zigbee2mqtt API 2021-02-11 23:52:06 +01:00
ade04a6ea1 Refactored backend.mqtt to reuse connections whenever possible, as well as programmatically subscribe/unsubscribe topics at runtime 2021-02-11 23:52:06 +01:00
3cf91a3f27 Fixed backend.zigbee.mqtt to work with the new zigbee2mqtt API 2021-02-11 23:50:28 +01:00
f9598977db Refactored backend.mqtt to reuse connections whenever possible, as well as programmatically subscribe/unsubscribe topics at runtime 2021-02-10 22:31:33 +01:00
7325c87068 Fixed remaining Zigbee groups and binding methods to work with the new zigbee2mqtt API [see #163] 2021-02-10 02:01:30 +01:00
1a70c6ea0b Fixed remaining Zigbee groups and binding methods to work with the new zigbee2mqtt API [see #163] 2021-02-10 02:00:52 +01:00
021dd32190 Moved more zigbee2mqtt methods to the new API 2021-02-09 02:34:38 +01:00
db80240209 zigbee2mqtt web panel migration [WIP] 2021-02-09 02:33:56 +01:00
1eedcaf2be Moved more zigbee2mqtt methods to the new API 2021-02-09 02:33:43 +01:00
86e6ffd18d Zigbee web panel migration [WIP] 2021-02-08 02:04:59 +01:00
15d2e1116b Fixed device_get and device_rename to use the new zigbee2mqtt API 2021-02-08 01:46:18 +01:00
452533db17 Fixed MQTT over SSL default version spec in case the parameter is not a string 2021-02-08 01:46:18 +01:00
b8979040da Fixed device_get and device_rename to use the new zigbee2mqtt API 2021-02-08 01:45:21 +01:00
816492d3b2 Fixed MQTT over SSL default version spec in case the parameter is not a string 2021-02-08 01:44:26 +01:00
0bddbb0bca Merge branch 'master' into vuejs 2021-02-06 14:46:08 +01:00
314c01ef97 Refactored Zigbee backend and remove unused logic for keeping devices up-to-date 2021-02-06 14:45:50 +01:00
4c5a52417e Support for new zigbee2mqtt API and protocol (see #163) 2021-02-06 02:19:15 +01:00
23a5cd519a Merge branch 'master' into vuejs 2021-02-05 23:18:31 +01:00
b57a241f52 Changed base URL to platypush.tech 2021-02-05 23:18:18 +01:00
2abfb2964c Merge branch 'master' into vuejs 2021-02-04 01:57:36 +01:00
4858dbc060 Back/forward seek changed from 60 to 30 2021-02-04 01:56:28 +01:00
Fabio Manganiello
2834ed2a7c Refactored and fixed many bugs on the media.omxplayer plugin 2021-02-04 01:44:21 +01:00
Fabio Manganiello
165f85f8dc Added support for background shell commands 2021-02-04 01:43:51 +01:00
Fabio Manganiello
7f24b82281 Removed deprecated media.ctrl plugin 2021-02-03 22:13:10 +01:00
7e1d232942 Another fix bites the dust 2021-02-03 17:47:33 +01:00
31a7ecee03 Quick fix 2021-02-03 17:46:05 +01:00
346bd9602d The whole get_plugin/.status() block should be under try/except 2021-02-03 17:44:40 +01:00