Commit Graph

32 Commits (3569a21c726493c56dcf2bff3cba89fc35c0c840)

Author SHA1 Message Date
Connor Rigby 3569a21c72
Update to elixir 1.9 2019-09-13 16:03:27 -07:00
Connor Rigby 82d7bedf7b
Update nerves related dependencies
* distillery
* nerves
* nerves_firmware_ssh
* nerves_hub
* nerves_hub_cli
* nerves_hub_user_api
* nerves_runtime
* shoehorn
* toolshed
2019-09-13 16:03:27 -07:00
Connor Rigby 46dbed37ff
Remove LoggerBackendSqlite.
This needs to be done because disk logging uses too much
I/O that the raspberry pi just doesn't have cpu cycles to
spend.

* Cleanup config.exs entries for farmbot_os
* Update RingLogger
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 92fef18b62
Move configurator back to first class of `farmbot_os`
* Configurator HTTP endpoing is now always started
* data access is now a behaviour for configurator
   * Will allow for independent testing with mox
* network access is now a behaviour for configurator
   * Will allow for independent testing with mox
2019-09-13 16:03:23 -07:00
Connor Rigby 0212e378de
Add vintage_net as a dependency
* Update deps for farmbot_os app
2019-09-13 16:03:23 -07:00
Connor Rigby 48c194f68f
Remove Nerves.Network and friends 2019-09-13 16:03:23 -07:00
Connor Rigby 2d66f09485
Enable `warnings_as_errors` for each app 2019-09-13 16:03:21 -07:00
Connor Rigby 49102ca5fd
Update nerves systems 2019-09-13 16:03:21 -07:00
Connor Rigby 3325a8592f
Update rpi system 2019-09-13 16:03:21 -07:00
Connor Rigby 8526027bb8
Update all systems to 1.7.2 2019-09-13 16:03:20 -07:00
connor rigby ac2a5a67e9
Add coveralls aggregator 2019-09-13 16:03:20 -07:00
Connor Rigby db799f5d64
Update nerves-hub and add check_update sys_call 2019-09-13 16:03:19 -07:00
Connor Rigby c2508f312e
Add `ring_logger` to deps 2019-09-13 16:03:18 -07:00
Connor Rigby 966ad22f3e
Update networking/configurator deps 2019-09-13 16:03:18 -07:00
connor rigby 59c17cab4e
Update deps 2019-09-13 16:03:17 -07:00
Connor Rigby 13ae06cf17
Backport elixir 1.8 + elixir_make 0.5 hacks from `staging` 2019-09-13 16:03:17 -07:00
Rick Carlino af7b9e3359
Add seeds, Add FarmbotFirmware back to core 2019-09-13 16:03:16 -07:00
connor rigby 218b33785d
Fix more namespaces 2019-09-13 16:03:16 -07:00
Connor Rigby 95bd827518
Rename FarmbotOS namespace 2019-09-13 16:03:16 -07:00
connor rigby d0edb1e19e
Update to Elixir 1.8!! 2019-09-13 16:03:15 -07:00
Connor Rigby bb7306dabc
Work towards refactoring Farmware
* Add bot state serializer to filesystem
* Add helper to turn ecto types into TSC types
* Add module to extract ecto changes as a list of instructions
* Add new transport for bot_state_ng
* Update CSVM Runtime to poll until `await` can complete
2019-09-13 16:03:15 -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 7cde2b2390
Change to ElixirCircuits. 2019-09-13 16:03:14 -07:00
Connor Rigby 56f6749595
Nerves hub pt2 (#654)
* Rework Networking

* Rework Configurator

* Fix NervesHub not connecting
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 f2b8abd692
Botstate refactor (#645)
* Refactor PinBindings

* Refactor logging to not require Farmbot.Registry

* Fix AMQP bot_state_transport and log_transport

* Update to use floats everywhere

* Refactor Farmbot.Firmware

* Write Firmware Tests

* dipping into FarmbotOS finally

* Cleanup peripheral_worker error message

* Implement remaining CeleryScript RPCs

* Refactor job progress

* Image Upload status notifications updates

* Fix compiler warnings and things

* Update Firmware submodule

* Fix FarmbotEXT tests
2019-09-13 16:03:14 -07:00
connor rigby 8c34f2eacd
Refactor farmbot application into separate folders/apps. 2019-09-13 16:03:13 -07:00
connor rigby d7ff13422c
Test Migration 2019-09-13 16:03:13 -07:00
connor rigby 358a1e209e
Update AMQP workers to reconnect on a 4 second timer
Pull in new csvm implementation

Update circleci config

Implement syncing and write_pin

add migration for syncing

add saftey to write_pin

Implement read_pin

Implement set_servo_angle

Implement more ast nodes

Implement e-stop and e-unlock

Fix a bunch of stuf

Fix missing assets on boot/init

It actually works

Rename csvm -> farmbot_celery_script; fix initial sync/dispatch

Fix a bunch of small bugs

Identify problem

Fix Sqlite bug and increase performance by 10 times!!

Fix sequences inside of sequences
2019-09-13 16:03:13 -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