Commit Graph

36 Commits (c2b92722a88404b36a05e1e7f71fe69ad2ff6259)

Author SHA1 Message Date
Rick Carlino 8d7fb9a010 v9.3.0-rc0 (debugging possible OTA system bug) 2020-05-04 16:58:30 -05:00
Rick Carlino 5dfb9d3177 Dont configure NervesHub for dev use 2020-04-06 15:50:36 -05:00
Rick Carlino 5722bea421 Huge formatting update (sorry) 2020-01-17 09:58:53 -06:00
Connor Rigby ec56ebaf74 Add telemetry to the rest of the app
More things will be added in the future.
Metrics are collected from bot state because
the amount of messages sent by every bot would
make datadog charge us a lot of money
2019-10-31 14:00:08 -07:00
connor rigby 5e998809ed
Start configurator on usb interface for devices that support it 2019-09-13 16:03:34 -07:00
connor rigby 3b9a64ae4a
Remove `mdns` library, add `mdns_lite` library
This library just works a bit better with VintageNet.
2019-09-13 16:03:30 -07:00
Connor Rigby a6f365b4c0
Implement public_key worker 2019-09-13 16:03:30 -07:00
connor rigby 1425d488ed
Remove dependency on IW and set regulatroy domain to world at boot
* VintageNet now has the ability to scan in ap mode
* Set regulatroy domain to `world` at boot, and change to US after
configuration
2019-09-13 16:03:29 -07:00
Connor Rigby 1900bdba57
Allow firmware to be open/flashed infinity times
* add `infinity` as an option for `fbos_config_worker` and
`firmware_open_task`
* reenable uevent montior flashing/opening firmware
2019-09-13 16:03:26 -07:00
Connor Rigby 3d9be8d902
Silence repeating firmware open log 2019-09-13 16:03:26 -07:00
Connor Rigby 9f8f53b532
Implement shoehorn handler for when core farmbot stack exits 2019-09-13 16:03:24 -07:00
Connor Rigby ffa1ebeebc
Add colors to RingLogger 2019-09-13 16:03:24 -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 be1c6dc869
Add basic support for the express firmware target (#718)
* Initital setup for FarmbotExpress

* Update farmbot-arduino-firmware commit ref
2019-09-13 16:03:21 -07:00
Connor Rigby 39864006cb
Update SQLITE repos to only have one pool process. 2019-09-13 16:03:20 -07:00
Connor Rigby f893611dd0
Consolidate NervesHub logic and implementation 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 1d535e8951
Fix LEDs 2019-09-13 16:03:19 -07:00
Connor Rigby 3dcc8af3aa
Fix gpio handler causing bootloop issues 2019-09-13 16:03:18 -07:00
Connor Rigby dc06987553
Update config entries to start tty_detector 2019-09-13 16:03:18 -07:00
Rick Carlino 295cb45d49
Transport => Channel 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
Connor Rigby 95bd827518
Rename FarmbotOS namespace 2019-09-13 16:03:16 -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 8f3abc335a
Update NervesHub logs and abstractions 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 bdb11b2ea8
Lots of work on Farmware 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 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