Rick Carlino
|
5722bea421
|
Huge formatting update (sorry)
|
2020-01-17 09:58:53 -06:00 |
Connor Rigby
|
847ec9d50b
|
Remove sensitive process flag
This doesn't really do anything since `lagger` ignores this
flag anyway
|
2019-12-17 15:04:45 -08:00 |
Connor Rigby
|
a66a2f8175
|
set ota checkup time to 10 minutes
|
2019-11-14 10:36:49 -08:00 |
Connor Rigby
|
dbf6226f63
|
Update ota-hour logic
|
2019-11-14 10:36:49 -08:00 |
connor rigby
|
381be026d6
|
Update nerves_hub_client to check for hour before applying ota
|
2019-11-14 10:36:49 -08:00 |
Connor Rigby
|
898eb53acc
|
Set `controller_uuid` in NervesHub Client init
|
2019-10-22 14:19:32 -07:00 |
connor rigby
|
2f36e2d564
|
Update NervesHub client to save some meta about updates to the FB API
|
2019-09-18 12:45:01 -07:00 |
connor rigby
|
ad65c7eec3
|
Attempt to quiet annoying amqp logs
|
2019-09-16 13:29:40 -07:00 |
Connor Rigby
|
aeded02039
|
Merge pull request #942 from FarmBot/bug/ota-firmware-flash
Disable OTA flashing firmware for now.
|
2019-09-13 16:03:32 -07:00 |
Connor Rigby
|
19c26d78f9
|
Remove inspected data from nerves_hub log
|
2019-09-13 16:03:32 -07:00 |
Connor Rigby
|
b5a865622e
|
Set update_available flag when after a message from NervesHub
|
2019-09-13 16:03:32 -07:00 |
Connor Rigby
|
61d63afb17
|
Fix typo AMPQ -> AMQP
|
2019-09-13 16:03:31 -07:00 |
Connor Rigby
|
4d163b4ac7
|
Only try to connect to NervesHub once
|
2019-09-13 16:03:28 -07:00 |
Connor Rigby
|
319c88b6ae
|
Fix overzealous firmware flashing with nerves-hub OTA
|
2019-09-13 16:03:28 -07:00 |
Connor Rigby
|
4cfa47ddc2
|
Fix NervesHubClient using wrong credentials on a fresh image flash
|
2019-09-13 16:03:27 -07:00 |
connor rigby
|
712256a1a3
|
Implement task for opening the firmware
Adds a new flag for `firmware_needs_open` and a task that polls that
value with a bit of state to open the firmware tty
|
2019-09-13 16:03:25 -07:00 |
Connor Rigby
|
b525ee193f
|
Force a firmware flash after an OTA update
|
2019-09-13 16:03:25 -07:00 |
Connor Rigby
|
0b52aafed6
|
Fix invalid regex in detecting update_channel
|
2019-09-13 16:03:24 -07:00 |
connor rigby
|
c9481ab3d2
|
Keep the current state of NervesHub `update_channel` and `tags`
* This fixes booting on the wrong release (from the view of NervesHub)
causing reboot loops
|
2019-09-13 16:03:24 -07:00 |
Connor Rigby
|
31fdd0ef44
|
Update Network connecting to retry when failures happen
|
2019-09-13 16:03:23 -07:00 |
Connor Rigby
|
a6f1552470
|
Reenable erlang distribution
|
2019-09-13 16:03:23 -07:00 |
Connor Rigby
|
f0211dd9d7
|
Replace Nerves.Network with VintageNet
|
2019-09-13 16:03:23 -07:00 |
Connor Rigby
|
317270dbb9
|
Update NervesHub
This also fixes a bug where updates would _allways_ be applied
|
2019-09-13 16:03:21 -07:00 |
Connor Rigby
|
f893611dd0
|
Consolidate NervesHub logic and implementation
|
2019-09-13 16:03:20 -07:00 |
Connor Rigby
|
c9fb352294
|
Clean up IO.inspect/2 calls
|
2019-09-13 16:03:19 -07:00 |
Connor Rigby
|
1b31c32b3d
|
Implement change_ownership sys_call
This required some changes to NervesHub because of there
being a brief moment after changing ownership where there
are no certs.
|
2019-09-13 16:03:19 -07:00 |
Connor Rigby
|
2c73a9b2d8
|
Update job_progress to not use atoms
|
2019-09-13 16:03:19 -07:00 |
Connor Rigby
|
db799f5d64
|
Update nerves-hub and add check_update sys_call
|
2019-09-13 16:03:19 -07:00 |
Connor Rigby
|
95bd827518
|
Rename FarmbotOS namespace
|
2019-09-13 16:03:16 -07:00 |
connor rigby
|
d17f64f17f
|
Misc app cleanup and updates
* Add helpful Makefile task for fetching deps
* Remove dead nerves_hub code
* Update deps
|
2019-09-13 16:03:15 -07:00 |
Connor Rigby
|
5e864a35a9
|
Update rpi3 system and CI Config
|
2019-09-13 16:03:15 -07:00 |
Connor Rigby
|
d3b9f9c83a
|
Update nerves_hub_client logs
|
2019-09-13 16:03:14 -07:00 |
Connor Rigby
|
cf5077e2a9
|
Start implementing firmware startup
Misc other cleanup
|
2019-09-13 16:03:14 -07:00 |
Connor Rigby
|
451dfe1343
|
[WIP] Pull in NervesHub updates
|
2019-09-13 16:03:14 -07:00 |
connor rigby
|
cf1ef23b17
|
Start splitting Farmbot Application Poncho Style
This begins splitting the monolithic Farmbot application
into separate, independent OTP applicatoins.
|
2019-09-13 16:03:13 -07:00 |