Commit Graph

40 Commits (ff7fe26a6ca254f6d9cacc06ad502b93ca759e61)

Author SHA1 Message Date
connor rigby ff7fe26a6c Work on mitigating the random Firmware timeout bug.
* added initialization flag for the firmware for its first sync.
* Added tags to the command timeouts
2018-03-08 09:50:06 -08:00
connor rigby d372c5d1d9 Update deps 2018-02-26 13:17:35 -08:00
connor rigby 4ab651ece7 Fix missed merge conflict issue 2018-02-15 07:59:14 -08:00
connor rigby 5f57b46ee2 Fix compiler warning 2018-02-15 07:58:49 -08:00
connor rigby b6d8c77f93 Pull staging, fix merge conflicts 2018-02-15 07:57:39 -08:00
connor rigby dfb0afbd78 Finish up dl fw settings 2018-02-15 07:51:40 -08:00
connor rigby 1c3907a4c5 [WIP] Everything is broken 2018-02-15 07:51:40 -08:00
connor rigby 45a7ce57c4 Use api for fw storage. 2018-02-15 07:51:40 -08:00
connor rigby 5ae6b01c7b Fix missing var 2018-02-13 10:22:59 -08:00
connor rigby 1875a1bcb5 Add special setting to ignore settings updates. 2018-02-13 09:25:29 -08:00
Connor Rigby b68a28da47 Fix updating from amqp 2018-01-26 18:48:11 -08:00
connor rigby 168d90c6f9 Download/Upload settings from API.
* `config_update` for the os is depricated.
* Add new bootstrap task to download or upload settings.
* Factory reset will `delete` settings from the API. (Or at least try
too)
* Add `DELETE` and `PUT` methods to HTTP adapter.
* Download settings on `sync`
2018-01-22 10:12:43 -08:00
connor rigby 48eeb7d67b Merge staging 2018-01-11 10:42:47 -08:00
connor rigby 5bf711302d Allow flashing firmware from runtime. 2018-01-10 09:04:59 -08:00
connor rigby 9eeae7abea Misc cleanup prep and hack removal 2018-01-08 09:09:42 -08:00
connor rigby 43a5233060 Squash more ugly logs 2018-01-02 12:35:15 -08:00
connor rigby cea08a2826 Cleanup 2018-01-02 12:28:35 -08:00
connor rigby cea71b2305 Fix firmware command queuing. (needs log cleanup) 2018-01-02 11:32:11 -08:00
Connor Rigby 99fbfd4256 Squash ugly logs 2018-01-01 22:11:54 -08:00
Connor Rigby dcd9528456 Fix long lines in amqp 2017-12-28 21:23:31 -08:00
Connor Rigby 85532cf946 Fix runaway open connections on token refresh 2017-12-28 21:23:31 -08:00
Connor Rigby de120e558e move logs for bot up and runnning, reenable farmevents 2017-12-28 21:23:31 -08:00
Connor Rigby 3a35ec345a Fix credo 2017-12-28 21:23:31 -08:00
Connor Rigby 74b6bcb292 Add log for bot being connected 2017-12-28 21:23:31 -08:00
Connor Rigby 44ed6b5be2 Fix messages not being ack'd.
* [ugh](https://github.com/pma/amqp/blob/master/lib/amqp/basic.ex#L241)
2017-12-20 13:41:51 -08:00
connor rigby e3ddadc9fd Clean up amqp 2017-12-19 14:05:39 -08:00
connor rigby 532cc9f97f Clean up amqp 2017-12-19 14:01:44 -08:00
connor rigby 344d0c0c49 use stored state cache. 2017-12-13 12:45:30 -08:00
Connor Rigby e66bce633b Refresh token more often if disconnected 2017-12-11 19:15:02 -08:00
Connor Rigby dd4b62f507 Add version to logs.meta and remove mqtt botstate transport 2017-12-06 12:41:01 -08:00
connor rigby d04b8c6e2a Add log verbosity to amqp client. 2017-12-04 09:46:53 -08:00
Connor Rigby 37fa89ac4f Misc credo cleanup and elixir formatter. 2017-11-30 09:45:05 -08:00
connor rigby 31ea283015 amqp-mqtt swap now enabled 2017-11-27 13:48:07 -08:00
connor rigby 1662ad94ee Fix moveing to a point. 2017-11-22 08:43:27 -08:00
connor rigby e7beaa5f2a clean up logs 2017-11-15 09:59:28 -08:00
connor rigby 6a2c3ebc26 fix amqp transport with new sync_cmd. 2017-11-15 09:47:52 -08:00
connor rigby a67508eac5 fix celeryscript ast encodeing. 2017-11-13 12:29:34 -08:00
connor rigby 1407d25bf6 fix bad psk not factory resetting bot 2017-11-13 11:55:37 -08:00
connor rigby 60b6da11e3 Use auth 2017-11-13 10:27:25 -08:00
connor rigby 0ae5cf927f New AMQP transport to replace MQTT. 2017-11-13 10:20:51 -08:00