Commit Graph

3883 Commits (d0edb1e19ebe29ef9beb5366f0a2ebe1db94db43)

Author SHA1 Message Date
connor rigby d0edb1e19e
Update to Elixir 1.8!! 2019-09-13 16:03:15 -07:00
connor rigby a5b03a6f3b
Allow extra options to be passed to Muontrap via app env 2019-09-13 16:03:15 -07:00
connor rigby bc668b5ccd
Implement the RPC system in FarmwareRuntime 2019-09-13 16:03:15 -07:00
connor rigby 7c8ae09e34
Use Ports for communicating with FIFO 2019-09-13 16:03:15 -07:00
connor rigby 934f819476
Farmware Progress
* Allow installing a farmware from a directory on disk
2019-09-13 16:03:15 -07:00
Rick Carlino 814b6f1f73
Minor doc updates 2019-09-13 16:03:15 -07:00
connor rigby 236bb1d270
Farmware stuff 2019-09-13 16:03:15 -07:00
connor rigby a2339546e1
Update farmbot_os app to support eap + cleanup 2019-09-13 16:03:15 -07:00
connor rigby 87c3ecf83b
Pull server location from config instead of jwt 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 001faaaf2f
Fix CSVM getting stuck when calling process dies 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 f7b573e6d5
Update celery_script
Support peripherals in read and write pin
2019-09-13 16:03:15 -07:00
Connor Rigby 4216eb401f
Fix deps for rpi 2019-09-13 16:03:15 -07:00
Connor Rigby c18ffeb8e1
Fix FarmbotCore test 2019-09-13 16:03:14 -07:00
Connor Rigby d3b9f9c83a
Update nerves_hub_client logs 2019-09-13 16:03:14 -07:00
Connor Rigby ee3a88a6dd
Add ability to configure tty names per target 2019-09-13 16:03:14 -07:00
Connor Rigby bad07b3bc3
Update movement rpcs to support tools and points 2019-09-13 16:03:14 -07:00
Connor Rigby ce84310050
Fix Firmware crashes blocking forever 2019-09-13 16:03:14 -07:00
Connor Rigby 8f3abc335a
Update NervesHub logs and abstractions 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 7cde2b2390
Change to ElixirCircuits. 2019-09-13 16:03:14 -07:00
Connor Rigby 65436cd367
Update config files 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 3bc18fee09
Refactor tests to stop juggling timeouts 2019-09-13 16:03:14 -07:00
Connor Rigby 68fb62ab65
Update TZ from env? 2019-09-13 16:03:14 -07:00
Connor Rigby bfa1b7f966
Add some logs to connection_worker to help debug race 2019-09-13 16:03:14 -07:00
Connor Rigby 0d32bdfccf
Add formatting and Timezone to CI 2019-09-13 16:03:14 -07:00
Connor Rigby 6e2a018598
Implement Regimens again, add tests and test support
* This also includes changes to all Farmbot API Assets adding
  a `monitor: :boolean` field. This allows tests to be run
  causing minimal side effects on the rest of the systems.
2019-09-13 16:03:14 -07:00
Connor Rigby a4c1eac2d2
Update image uploader to add `file_type` 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 3b8f8d591f
Config + dead code cleanup 2019-09-13 16:03:14 -07:00
Connor Rigby b3f1369a77
Re-implement image uploading 2019-09-13 16:03:14 -07:00
Connor Rigby 83be454f94
Progress on Refactoring farmware 2019-09-13 16:03:13 -07:00
Connor Rigby 869d1ad1a4
Progress on refactoring data syncing (#643) 2019-09-13 16:03:13 -07:00
Connor Rigby 9481d2ff24
Add make task for cleaning artifacts from other branches 2019-09-13 16:03:13 -07:00
connor rigby 8c34f2eacd
Refactor farmbot application into separate folders/apps. 2019-09-13 16:03:13 -07:00
Connor Rigby 0d569301f1
Replace httpoison 2019-09-13 16:03:13 -07:00
Connor Rigby 690ae222e8
Fix compile error 2019-09-13 16:03:13 -07:00
Connor Rigby 6c9afd2533
Update circleci ? 2019-09-13 16:03:13 -07:00
Connor Rigby 512f9d8910
Fix AMQP opening a new connection without closing the older ones 2019-09-13 16:03:13 -07:00
connor rigby 10a4379568
Work toward farmware/celeryscript stuff
* Fix logger erros
* Fix migrations
* Fix compile errors
* Fix tzdata child_spec
2019-09-13 16:03:13 -07:00
Connor Rigby bdb11b2ea8
Lots of work on Farmware 2019-09-13 16:03:13 -07:00
connor rigby 66bb4e51f4
Update nerves_time 2019-09-13 16:03:13 -07:00
connor rigby e63683c500
Update Elixir version in circleci config. 2019-09-13 16:03:13 -07:00
connor rigby d7ff13422c
Test Migration 2019-09-13 16:03:13 -07:00
connor rigby 32f46b5fd3
Start refactoring Farmware 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