23 Commits

Author SHA1 Message Date
Michael Zanetti
343d4a8c86 Remove cloud push notifications
Note: This doesn't remove 100% of the related code yet, just keeps
the minimum required to emit autoThingDisappeared() for all the
things and clean up users setups.

The rest of the CloudNotifications class code shall be removed
with 0.31 (or soonish after that).
2021-11-18 00:12:05 +01:00
Michael Zanetti
5964bfc598 Fix AWS reconnect if connecting stalls unexpectedly 2021-05-06 22:40:26 +02:00
Michael Zanetti
8f5536ba1a Update copyright 2020-01-23 20:07:26 +01:00
Michael Zanetti
7d615293c5 Use a more unique nonce for the remote connection 2020-01-10 13:31:31 +01:00
Michael Zanetti
7374652121 Subscribe to the entire device namespace in nymea:cloud NQTT
This allows the REST proxy to establish remote connections.
2020-01-05 20:37:13 +01:00
Michael Zanetti
b1d1a89261 Drop logic to retrieve dynamic turn credentials 2019-04-22 22:37:58 +02:00
Michael Zanetti
948eff8319 Drop Janus and WebRTC support 2019-04-08 13:55:15 +02:00
Michael Zanetti
309240ed47 Support providing a custom remote proxy url 2019-04-08 13:55:15 +02:00
Michael Zanetti
69de953d5e make it more solid 2019-04-08 13:55:15 +02:00
Michael Zanetti
bd84f5c633 revert part of the fix, it makes it crash 2019-04-08 13:55:15 +02:00
Michael Zanetti
1094f589d1 Small fixes in AWS connection
* Fix uncategorized debug print
* Disable the mqtt lib's autoreconnect feature as AWS doesn't support that
* Manually reconnect on errors too
2019-04-08 13:55:15 +02:00
Michael Zanetti
1d903862ed replace emqtt with nymea-mqtt 2019-04-08 13:55:15 +02:00
Michael Zanetti
f243d383e4 Revert "add a hack for meeting the zapf deadline"
This reverts commit 8df8d70535e08dcc949e7839f216a8a48bcb9f54.
2019-04-08 13:55:15 +02:00
Michael Zanetti
6d2ab278a8 don't emit connected() when we've already been connected 2019-04-08 13:55:15 +02:00
Michael Zanetti
83168772f3 fix issues from code review 2019-04-08 13:55:15 +02:00
Michael Zanetti
699065f689 update to use nonce 2019-04-08 13:55:15 +02:00
Michael Zanetti
922ee3ce49 clean up some remaining old stuff 2019-04-08 13:55:15 +02:00
Michael Zanetti
55b4c8a798 reduce keep alive timeout 2019-04-08 13:55:15 +02:00
Michael Zanetti
2f2787fb98 enable auto reconnect 2019-04-08 13:55:15 +02:00
Michael Zanetti
096a285212 switch from aws sdk to qmqtt 2019-04-08 13:55:15 +02:00
Michael Zanetti
637a30700b cleanups and dedupe mqtt packets 2019-04-08 13:55:15 +02:00
Michael Zanetti
4e3ab48e58 it's somewhat working 2019-04-08 13:55:15 +02:00
Michael Zanetti
c5f4c9dc51 an initial take on a alternative remote connection 2019-04-08 13:55:15 +02:00