Commit Graph

68 Commits (46a61e3ccc00709d21f2d739556412c321d4d95c)

Author SHA1 Message Date
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
Michael Zanetti d1cf89e3db improve logging 2019-04-02 01:02:45 +02:00
Michael Zanetti 01d2cb4407 update code to use real ids instead of dummies (client id still hardcoded) 2019-04-02 01:02:45 +02:00
Michael Zanetti 8990697c4e add some more logging, also hack-subscribe for the current tests 2019-04-02 01:02:45 +02:00
Michael Zanetti 94c2b90e4a skip crearte/device logic for now 2019-04-02 01:02:45 +02:00
Michael Zanetti a2cffbc5fc +use real id 2019-04-02 01:02:45 +02:00
Michael Zanetti 896f5e73a7 make it build with older qt 2019-04-02 01:02:45 +02:00
Michael Zanetti c040a71cdb some more work for latest api changes 2019-04-02 01:02:45 +02:00
Michael Zanetti 002882e085 update create/device call according to latest api specs 2019-04-02 01:02:45 +02:00
Michael Zanetti b4eb5fb423 update create/device call according to latest api change 2019-04-02 01:02:45 +02:00
Michael Zanetti 949583ed93 introduce "Traffic" and "Debug" categories and change command line parsing to allow override -p 2019-04-02 01:02:45 +02:00
Michael Zanetti 43eba94b87 unify server and device uuid 2019-04-02 01:02:45 +02:00
Michael Zanetti 7a409f7aa9 use proper id 2019-04-02 01:02:45 +02:00
Michael Zanetti 53b804d0f3 bump json api version 2019-04-02 01:02:45 +02:00
Michael Zanetti 48dd6a5347 add missing license headers 2019-04-02 01:02:45 +02:00
Michael Zanetti a31adc5a18 more stabilizing, new api changes added 2019-04-02 01:02:45 +02:00
Michael Zanetti cef689c292 fixes 2019-04-02 01:02:45 +02:00
Michael Zanetti 0f262116b6 implement node js bridge, mostly working, some issues still 2019-04-02 01:02:45 +02:00
Michael Zanetti 275e3b3921 added cloud connection 2019-04-02 01:02:45 +02:00
Michael Zanetti 211cb3f637 add aws connection 2019-04-02 01:02:45 +02:00
Michael Zanetti 00787accf7 fix nasty tcp server buffer bug 2019-04-02 01:02:45 +02:00
Michael Zanetti 0c4289b92c add JSONRPC.Hello method
it might happen that the auto-sent welcome message is lost.
this is a way for the client to retrieve it again.
2019-04-02 01:02:45 +02:00
Michael Zanetti e468fc13d8 make it build on stretch 2019-04-02 01:02:45 +02:00
Simon Stürz 951ad27e89 Fix db version error message 2019-04-02 01:02:45 +02:00
Simon Stürz e5756587a3 add log database loading tests 2019-04-02 01:02:45 +02:00
Simon Stürz 3e3bf83422 add timeevent tests for state based rules 2019-04-02 01:02:45 +02:00
Simon Stürz 74397da6c1 add state/calendarItem/event tests 2019-04-02 01:02:45 +02:00
Simon Stürz bf2c94469e remove maximum of warnings 2019-04-02 01:02:45 +02:00
Simon Stürz 497c710ae1 add tests for time and state based rules 2019-04-02 01:02:45 +02:00
Simon Stürz 511b43828b fix tests and libguh-core project file 2019-04-02 01:02:45 +02:00
Simon Stürz ba526eee11 add database serialization and variant string converting to jsonrpc 2019-04-02 01:02:45 +02:00
Simon Stürz 163402e158 add database migration and variant serialization for log db 2019-04-02 01:02:45 +02:00
Simon Stürz 858846897c fix inline comments 2019-04-02 01:02:45 +02:00
Simon Stürz 5dd930ebee fix testbase and improve settings behaviour 2019-04-02 01:02:45 +02:00
Michael Zanetti 7aa6ab2795 make it build in jessie again 2019-04-02 01:02:45 +02:00
Michael Zanetti 5691e3ed9b fix evaluation for timer events 2019-04-02 01:02:45 +02:00
Michael Zanetti 1d832fad84 make sure rule statesActive is properly initialized 2019-04-02 01:02:45 +02:00