Commit Graph

3862 Commits (cf5077e2a9aa3898529d9ba20add55106a5885f8)

Author SHA1 Message Date
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
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
Connor Rigby 1fe52021c7 Update AMQP options to disable heartbeat timeout
This caused errors related to network latency for some users
2019-04-12 14:32:57 -07:00
Connor Rigby fbee9ca955 Update uart code to use circuits_uart instead of nerves_uart 2019-04-08 11:49:24 -07:00
connor rigby 2133ba5f9d Update amqp dependency 2019-04-08 11:49:24 -07:00
connor rigby 7ec83695fc Update timeout for syncing resources to be 90 seconds 2019-04-08 11:49:24 -07:00
connor rigby 35f75831bc Update tzdata 2019-04-08 11:49:24 -07:00
connor rigby 26116726f6 Update Makefile to add hacks to fix esqlite 2019-04-08 11:49:24 -07:00
Connor Rigby 40bbc673e6 Update nerves_firmware_ssh 2019-04-08 11:49:24 -07:00
connor rigby 49817bbc61 Start debugging elixir_make errors 2019-04-08 11:49:24 -07:00
connor rigby 56dae5d8bb Fix Circuits.GPIO calls 2019-04-08 11:49:24 -07:00
connor rigby d27cc4f25d Update more deps and clean up config 2019-04-08 11:49:24 -07:00
connor rigby 11754d8675 Update CircleCI config 2019-04-08 11:49:24 -07:00
connor rigby c559ef3784 Update to Circuits.UART and Circuits.GPIO 2019-04-08 11:49:24 -07:00
connor rigby dfe01ae1b6 Update to support Elixir 1.8
nerves_uart and circuits_uart still need to be updated
2019-04-08 11:49:24 -07:00
connor rigby fb587e4d1c Hopefully fix ephemeral `maintenance` mode 2019-04-08 11:49:24 -07:00
Connor Rigby fa203629c3 Fix channel being wrong in some edge cases 2019-04-08 11:49:24 -07:00
Connor Rigby 789d14348f Remove staging nerveshub target 2019-04-08 11:49:24 -07:00
Connor Rigby cb7c83d5bf Update VERSION and CHANGELOG 2019-04-08 11:49:24 -07:00
Connor Rigby 37ddb3b0c5 Add artifacts from other branch to .gitignore 2019-04-08 11:49:24 -07:00
Connor Rigby 8b1d501967 Add fix to make AMQP reconnect on any disconnect. 2019-04-08 11:49:24 -07:00
gabrielburnworth 9924a3812b configurator UI fixes and improvements 2019-04-08 11:49:24 -07:00