connor rigby
8a1669002a
Make Estop snappier
2018-01-30 08:32:58 -08:00
Connor Rigby
5a1714df0f
Merge branch 'staging' into feature/api_settings
2018-01-29 13:33:16 -08:00
Connor Rigby
6da0fceda3
Cache http requests to prevent syncs from failing or taking forever
2018-01-29 12:32:41 -08:00
connor rigby
b4c51cfbd8
Add some helpful profiles for booting
2018-01-29 11:02:06 -08:00
Connor Rigby
be00a35c74
Merge branch 'staging' of github.com:farmbot/farmbot_os into feature/api_settings
2018-01-26 18:48:55 -08:00
Connor Rigby
b68a28da47
Fix updating from amqp
2018-01-26 18:48:11 -08:00
connor rigby
c169499c8f
Add interceptor for https://github.com/scouten/sqlite_ecto2/issues/204
2018-01-26 12:30:17 -08:00
connor rigby
724ded3e5c
Merge staging
2018-01-25 08:21:03 -08:00
connor rigby
dec778c085
Give illusion of snappier busy flag
2018-01-24 11:10:49 -08:00
connor rigby
bddf1294f0
Commit missing file
2018-01-24 09:28:17 -08:00
connor rigby
6398ee4f54
Merge branch 'staging' of github.com:Farmbot/farmbot_os into staging
2018-01-24 09:27:28 -08:00
connor rigby
77b511c9c9
Move estop timer around so the timer starts on _every_ estop
2018-01-24 09:27:19 -08:00
Connor Rigby
82b3a8ed94
Maybe fix espeak from send_message?
2018-01-23 16:12:33 -08:00
connor rigby
8b23690cc4
Merge staging into feature/api_settings
2018-01-23 12:29:47 -08:00
connor rigby
eead321565
Add email_on_estop to settings bag
2018-01-23 12:16:48 -08:00
connor rigby
8b5d4f916d
Add timer module file
2018-01-23 12:16:48 -08:00
connor rigby
a1faf4a2ca
Send E-Stop message if the bot has been locked for 10 minutes.
2018-01-23 12:16:48 -08:00
connor rigby
4ddb45e7dd
Initial implementation.
2018-01-23 12:16:48 -08:00
Connor Rigby
e3bcac881d
Merge branch 'staging' into feature/espeak
2018-01-23 12:01:42 -08:00
connor rigby
5c49d3171a
Merge branch 'staging' of github.com:Farmbot/farmbot_os into feature/api_settings
2018-01-23 09:05:05 -08:00
connor rigby
34ba1797f4
Fix fwupdates requireing a reboot
2018-01-22 13:01:14 -08:00
connor rigby
be1d0150ef
Write/Fix tests
2018-01-22 11:00:25 -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
ca35bae127
Add new flag for api migration
2018-01-22 08:13:29 -08:00
Connor Rigby
54495a8bd6
Fix future Beta release
2018-01-21 14:10:45 -08:00
connor rigby
670651f900
Implement access behaviour for BotState and add cache bust for state
2018-01-18 10:47:56 -08:00
connor rigby
743a76054a
Remove ssdp stuff, update mixfile and configs
2018-01-17 08:27:15 -08:00
connor rigby
2c3dff7f61
Make sure image uploader logs on errors
2018-01-16 12:59:20 -08:00
connor rigby
48eeb7d67b
Merge staging
2018-01-11 10:42:47 -08:00
Connor Rigby
62c1a07e9a
Change logs to debug
2018-01-10 18:01:06 -08:00
Connor Rigby
73581f6bd3
remove annoying log message from farm_event manager
2018-01-10 17:52:15 -08:00
Connor Rigby
4e1b608c1a
Reinitialize firmware after a flash
2018-01-10 12:04:12 -08:00
Connor Rigby
531ffacfae
Make sure to break from infinate loop if startup complete message is missed
2018-01-10 11:27:11 -08:00
connor rigby
690d07d267
Fix unplugging and replugging the firmware
2018-01-10 09:20:32 -08:00
connor rigby
5bf711302d
Allow flashing firmware from runtime.
2018-01-10 09:04:59 -08:00
connor rigby
084fce51a6
Don't raise if email is blank. Maybe secret migration?
2018-01-09 14:31:58 -08:00
connor rigby
8ca7768599
Add fake upgrade mock
2018-01-09 10:32:30 -08:00
connor rigby
00898e00a0
Merge branch 'staging' of github.com:Farmbot/farmbot_os into remove-upgrade-hax
2018-01-09 08:32:08 -08:00
Connor Rigby
1d5f50cb1b
Update verbage for firmware timeouts
2018-01-08 17:49:57 -08:00
Connor Rigby
bd283530a8
Cancel timer if it exists
2018-01-08 15:52:27 -08:00
connor rigby
2b01c051e2
Allow 'espeak' as a channel
2018-01-08 14:04:43 -08:00
connor rigby
a74da26e9a
Add missing init module
2018-01-08 13:42:06 -08:00
connor rigby
486db96ab4
Add feature to speak text for fun
2018-01-08 13:35:30 -08:00
connor rigby
e8b68afb7a
Add some dialyzer stuff
2018-01-08 09:26:14 -08:00
connor rigby
9eeae7abea
Misc cleanup prep and hack removal
2018-01-08 09:09:42 -08:00
connor rigby
d84b310dbf
make sure estops reply to current if it exists
2018-01-05 11:49:20 -08:00
connor rigby
1306fc4743
Add firmware commit to bot state
2018-01-05 11:45:28 -08:00
Connor Rigby
ec2f0c6cda
Add default fallback thing
2018-01-04 17:51:18 -08:00
Connor Rigby
c0506835cd
Stop unexpected zero writing/reading from the FW
2018-01-04 17:24:06 -08:00
connor rigby
3c1bdfd4cc
Fix typo in cond
2018-01-04 16:16:39 -08:00
connor rigby
a0d2e651bd
Make sure api public_key path gets checked properly
2018-01-04 15:23:52 -08:00
connor rigby
00e8faeeb4
Fix regimens hanging erlang nif
2018-01-04 14:52:07 -08:00
connor rigby
539e950edc
Fix estop being queued
2018-01-04 14:26:37 -08:00
connor rigby
4ffd290726
Fix conditional.
2018-01-04 13:13:32 -08:00
connor rigby
338e91dbc5
Add conditional guess for users that already upgraded
2018-01-04 13:08:10 -08:00
connor rigby
867bae5bf4
Add commit message to env comment
2018-01-04 12:08:56 -08:00
connor rigby
c26743612d
Add task for build a production image
2018-01-04 11:12:11 -08:00
connor rigby
9594e84f9d
Fix repo replies multiple times
2018-01-04 10:37:31 -08:00
Connor Rigby
4cef20c33a
Sprinkle more hax
2018-01-04 09:24:44 -08:00
Connor Rigby
6a90f4889b
Fix compiler
2018-01-04 09:24:44 -08:00
Connor Rigby
33255b86ed
Maybe this will work
2018-01-04 09:24:44 -08:00
Connor Rigby
09c69daa20
Enable config_update for beta updates
2018-01-04 09:24:44 -08:00
connor rigby
b95b833002
Cleanup logs in updates
2018-01-03 16:42:24 -08:00
connor rigby
cd32b7a9ec
Test beta upgrade.
2018-01-03 15:33:27 -08:00
connor rigby
54b0aacaba
Auto reboot if enabled
2018-01-03 15:33:27 -08:00
connor rigby
f26413955e
Make sure to reboot if called from fe
2018-01-03 15:33:27 -08:00
connor rigby
7e09c64fd4
Update commit for circle deploy
2018-01-03 15:33:27 -08:00
connor rigby
86d6e773ec
Fix updates always being applied at boot
2018-01-03 15:33:27 -08:00
connor rigby
9d378c3604
Add configs, update circle config again
2018-01-03 15:33:27 -08:00
connor rigby
7bc70ec521
Fix missing state updates.
2018-01-03 08:58:43 -08:00
connor rigby
cc953896f4
Missing comma
2018-01-03 08:24:39 -08:00
connor rigby
3531c2e6e5
Move logs around
2018-01-03 08:18:50 -08:00
Connor Rigby
f076e4cf66
Don't only block other sync during sync
2018-01-02 14:49:23 -08:00
Connor Rigby
536c0058bb
Cleanup compiler warnings
2018-01-02 14:48:46 -08:00
Connor Rigby
dc07da592e
Update write pin
2018-01-02 13:55:52 -08:00
Connor Rigby
7d1805b317
Increase amount of time before a sync times out
2018-01-02 13:41:36 -08:00
connor rigby
43a5233060
Squash more ugly logs
2018-01-02 12:35:15 -08:00
connor rigby
b25548dafe
More cleanup
2018-01-02 12:30:03 -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
860ed59f08
Fix Repo deadlock, and future otas not applying without reboot
2017-12-29 14:35:28 -08:00
connor rigby
7da075a84c
Cleanup annoying compiler warnings
2017-12-29 08:37:34 -08:00
Connor Rigby
3367475838
Fix calendar generation
2017-12-28 21:23:31 -08:00
Connor Rigby
dcabe73b0c
Whoops
2017-12-28 21:23:31 -08:00
Connor Rigby
ceb5eb4d93
put regenerated events in farm_event manager
2017-12-28 21:23:31 -08:00
Connor Rigby
ee9c4b0d55
Fix wrong param name during migration, and add ugly logs
2017-12-28 21:23:31 -08:00
Connor Rigby
1d46c6ae05
Add some debug stuff
2017-12-28 21:23:31 -08:00
Connor Rigby
1580e1e08d
Remove error
2017-12-28 21:23:31 -08:00
Connor Rigby
b0b1b490b3
Increase number or tries for zero
2017-12-28 21:23:31 -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
7abbc2ff6c
Add logs to set_zero
2017-12-28 21:23:31 -08:00
Connor Rigby
56c7210af5
Add debug function to farm_event manager
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
62a03cd2cf
Add checks for upgrade from 5.0.9
2017-12-28 21:23:31 -08:00
Connor Rigby
bba016f3c0
Farmevent cleanup
2017-12-28 21:23:31 -08:00
Connor Rigby
a7776a6e8c
Setup elixir make for prod
2017-12-28 21:23:31 -08:00