Michael Zanetti
aede5f2afa
add a hack for meeting the zapf deadline
...
disable having a device per phone endpoint. instead just register a single device
and broadcast stuff to /everyone until the cloud and app are updated for this
2019-04-08 13:55:15 +02:00
Michael Zanetti
6334496c8c
update endpoints when a device is paired on the fly
2019-04-08 13:55:15 +02:00
Michael Zanetti
c1d4adea17
register the cloud service as a plugin in the devicemanager
...
implementing the notifications interface
2019-04-08 13:55:15 +02:00
Michael Zanetti
a1880c1be9
fix comparison of eventDescriptor params in rule evaluation
2019-04-08 13:55:15 +02:00
Michael Zanetti
58c83e9072
add support for interface based rules
2019-04-08 13:55:15 +02:00
Michael Zanetti
b043248e65
add displayName in json api
2019-04-08 13:55:15 +02:00
Simon Stürz
15a510b68d
Fix user authentication and details
2019-04-08 13:55:15 +02:00
Simon Stürz
8bfe69aada
Revert hardwaremanager dbus changes
2019-04-08 13:55:15 +02:00
Simon Stürz
2207ac317a
Update copyright headers
2019-04-08 13:55:15 +02:00
Simon Stürz
48a5c71bce
Fix bluetooth device signal redefinition
2019-04-08 13:55:15 +02:00
Simon Stürz
183e164ed3
Apply review comments and fix upnp
2019-04-08 13:55:15 +02:00
Michael Zanetti
9372c6d524
align debug prints on shutdown
2019-04-02 01:02:45 +02:00
Michael Zanetti
9716d1db7b
fix crash in shutdown
2019-04-02 01:02:45 +02:00
Michael Zanetti
b2db373c34
fix timer manager
2019-04-02 01:02:45 +02:00
Simon Stürz
044b7958ea
Fix upnp discovery
2019-04-02 01:02:45 +02:00
Simon Stürz
c2c7e0fbc2
First building version of hardware resource abstraction
2019-04-02 01:02:45 +02:00
Michael Zanetti
5799a8d7bc
contune refactoring
2019-04-02 01:02:45 +02:00
Simon Stürz
967d3fe5ff
Migrate plugintimer to libguh-core
2019-04-02 01:02:45 +02:00
Michael Zanetti
b97887b9fb
fix websocket disconnections
2019-04-02 01:02:45 +02:00
Michael Zanetti
99aa833ce8
add pushbutton auth
2019-04-02 01:02:45 +02:00
Michael Zanetti
68a5798cf9
fix a leak in janus connector
2019-04-02 01:02:45 +02:00
Michael Zanetti
3d93407307
disable the auto reconnect from AWS, use our own logic instead
...
hopefully this bypasses the SIGSEGV in the libaws when this happens
2019-04-02 01:02:45 +02:00
Michael Zanetti
9dcec7258d
fix logic when there are no paired devices yet
2019-04-02 01:02:45 +02:00
Michael Zanetti
3128860122
decrease keepalive timeout to 30 secs, now that aws billing has changed
2019-04-02 01:02:45 +02:00
Michael Zanetti
6353b5bc96
cache topics we're already subscribed to
2019-04-02 01:02:45 +02:00
Michael Zanetti
5b4b67454d
don't post ack's to Janus
...
he doesn't use them anyways and might cause it to print warnings
2019-04-02 01:02:45 +02:00
Michael Zanetti
01110ad0ba
fix a crash when an async reply comes in but the transpost has vanished meanwhile
2019-04-02 01:02:45 +02:00
Michael Zanetti
038b5036e3
fix caching the synced name
2019-04-02 01:02:45 +02:00
Michael Zanetti
afcd034596
fix IsCloudConnected call
...
which might return true even though we're not able to register the device
2019-04-02 01:02:45 +02:00
Michael Zanetti
87280f8cae
increase keep alive timeout to aws
2019-04-02 01:02:45 +02:00
Simon Stürz
1aa4fd3bba
Clean up debug output and duplicates
2019-04-02 01:02:45 +02:00
Simon Stürz
fff63c2b18
update avahi service if server name changes
2019-04-02 01:02:45 +02:00
Simon Stürz
39c7d9b0a1
Add update server name for avahi txt record
2019-04-02 01:02:45 +02:00
Michael Zanetti
b109992080
remember when the name in the cloud is set
2019-04-02 01:02:45 +02:00
Michael Zanetti
a054f6c9d7
implement setName functionality
2019-04-02 01:02:45 +02:00
Michael Zanetti
f563be8d40
AWS disconnect fixes
2019-04-02 01:02:45 +02:00
Michael Zanetti
46a61e3ccc
delay reconnecting a little bit to allow the cloud to settle things
2019-04-02 01:02:45 +02:00
Michael Zanetti
33095f4dbe
add API to check if cloud is connected
2019-04-02 01:02:45 +02:00
Michael Zanetti
61c20e2001
add more debug prints
2019-04-02 01:02:45 +02:00
Michael Zanetti
bb47abd585
fix subscribing to topic after first pairing
2019-04-02 01:02:45 +02:00
Michael Zanetti
5337f225eb
add keepalive api
2019-04-02 01:02:45 +02:00
Michael Zanetti
28ce8b8b24
decrease timeouts, fix initial subscription topic
2019-04-02 01:02:45 +02:00
Michael Zanetti
0b27f7f7d3
fix parsing of topics
2019-04-02 01:02:45 +02:00
Michael Zanetti
28b518107b
bump api version and clean up config methods
2019-04-02 01:02:45 +02:00
Michael Zanetti
072e93cbfc
cleanup comments from review
2019-04-02 01:02:45 +02:00
Michael Zanetti
2da8c937ab
fix method definition of SetCloudEnabled
2019-04-02 01:02:45 +02:00
Michael Zanetti
0078bd1d0c
fix another bug
2019-04-02 01:02:45 +02:00
Michael Zanetti
403a78d029
more work after testing with Luca
2019-04-02 01:02:45 +02:00
Michael Zanetti
a0371a0133
add a config option for enabling/disabling the cloud
2019-04-02 01:02:45 +02:00
Michael Zanetti
6aa8ad8a5d
rework AWS connection setup
...
should be much more robust now
2019-04-02 01:02:45 +02:00