Commit Graph

142 Commits (6cb47d43aab16a9e9851517089671c81dc98d457)

Author SHA1 Message Date
Connor Rigby 6cb47d43aa Add docs for generating app specific docs 2019-12-18 13:01:20 -08:00
Connor Rigby 9ce8d10f9c Update reconciler docs 2019-12-17 15:04:45 -08:00
Connor Rigby 2f7f8057d1 Update image_uploader docs 2019-12-17 15:04:45 -08:00
Connor Rigby 2603d087ce Update amqp connection worker docs 2019-12-17 15:04:45 -08: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 63fffcfc5d Update docs for farmbot_ext otp app 2019-12-17 14:25:20 -08:00
Rick Carlino b55d94b86f Dep updates for farmbot_ext 2019-12-16 13:03:25 -08:00
connor rigby c341e6cf82 Add name field back to image upload meta 2019-12-16 08:35:58 -08:00
Connor Rigby 9009ff6329 Update deps
* `tesla` 1.3.0
* `hackney` 1.15.2
* `tzdata` 1.0.2
* `amqp` ~> 1.3
* `circuits_gpio` 0.4.2
* `circuits_uart` 1.3.2
* `toolshed` 0.2.11
2019-10-31 14:00:08 -07: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 131a5f5e8d Add UUID to telemetry payload 2019-10-31 14:00:08 -07:00
Connor Rigby bed5153a22 Change shape of telemetry event payload 2019-10-31 14:00:08 -07:00
Connor Rigby f845ddf38a Simplify API, store messages in DETS 2019-10-31 14:00:08 -07:00
Connor Rigby 1539f45014 Add new farmbot_telemetry application 2019-10-31 14:00:08 -07:00
Connor Rigby d3e51996b0 Add new resource: PointGroup 2019-10-22 14:19:32 -07:00
connor rigby c03e62bdfe Add "really fast blink" for syncing led 2019-09-17 12:22:36 -07:00
connor rigby ad65c7eec3 Attempt to quiet annoying amqp logs 2019-09-16 13:29:40 -07:00
Connor Rigby 21ca8969a6
Remove sensor_readings from auto sync 2019-09-13 16:03:34 -07:00
Connor Rigby 3398deba2d
Add error logs to celeryscript execution and schedule 2019-09-13 16:03:34 -07:00
Connor Rigby a3e8b094ca
Fix CeleryScript channel reconnects **even more** 2019-09-13 16:03:33 -07:00
Connor Rigby 5776c0592d
Fix CeleryScript channel not reconnecting even more 2019-09-13 16:03:33 -07:00
Connor Rigby 40523670e1
Reconnect to CeleryScript channel in the case of error
This was left out when we refactored this channel to
use `mox`
2019-09-13 16:03:33 -07:00
Connor Rigby cd9d45cddc
Add new task to drop the plaintext password from the sdcard 2019-09-13 16:03:33 -07:00
Connor Rigby 973b622aef
Update VintageNet and Muontrap 2019-09-13 16:03:32 -07:00
Connor Rigby 5373849f51
Update dependencies
* `elixir_make`
* `muontrap`
* `vintage_net`
* `busybox`
* `mdns_lite`
* `nerves_hub`
* `plug`
2019-09-13 16:03:32 -07:00
Connor Rigby 209ded96cb
Add Lua helpers for updating and getting resources 2019-09-13 16:03:32 -07:00
Connor Rigby a242cce830
Add new log type for assertion logs 2019-09-13 16:03:32 -07:00
Connor Rigby b173b70675
Fix PATCH HTTP requests for singular resources 2019-09-13 16:03:31 -07:00
Connor Rigby 61d63afb17
Fix typo AMPQ -> AMQP 2019-09-13 16:03:31 -07:00
Connor Rigby 86843c4553
Make FirstPartyFarmware syncable 2019-09-13 16:03:31 -07:00
connor rigby 21eef22c55
Fix DirtyWorker doing patch requests 2019-09-13 16:03:31 -07:00
Gabriel Burnworth 9a3fadcd80
fix image upload bug 2019-09-13 16:03:30 -07:00
connor rigby 82042f98df
Clean up error message for uploading images 2019-09-13 16:03:30 -07:00
connor rigby 5610f2e9e3
Fix typo in PingPong channel reconnect message 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 c35b81decb
Add new table public_keys
This will be to load new ssh keys onto a device to allow
remote console for debugging over a network
2019-09-13 16:03:30 -07:00
connor rigby 302ddd3bf0
Fix race condition in AMQP connecting to PingPong channel 2019-09-13 16:03:30 -07:00
connor rigby 3a5666429a
Allow Direct-Upload of images 2019-09-13 16:03:29 -07:00
connor rigby 7b19b73e6f
Revert "Allow direct-upload"
This reverts commit 462681d5da.
2019-09-13 16:03:29 -07:00
Connor Rigby 01c3723877
Fix LEDs and Pinbindings working intermitently
The Internal pullups need to be disabled for the
FarmBot gpio hat to work properly
2019-09-13 16:03:29 -07:00
connor rigby e199cb8a90
Add LED handler for green (sync status) 2019-09-13 16:03:29 -07:00
connor rigby 7fa252e9d7
Add LED handler for blue (connection status) 2019-09-13 16:03:29 -07:00
connor rigby bb804fd510
Allow direct-upload
Tesla HTTP client is formatting the formdata wrong for some reason
so just shell out to hackney
2019-09-13 16:03:29 -07:00
connor rigby 830f6894d8
Add a background timer to do an HTTP for the consistency checker 2019-09-13 16:03:29 -07:00
connor rigby 373a0b2faf
Fix ImageUploader automatic upload
* Serialize DateTime as an iso string for bot_state filesystem
* Set user-agent for uploading images
* Check for more types of images other than jpeg
2019-09-13 16:03:27 -07:00
connor rigby 8b2ac2935e
Create images directory when starting image_uploader 2019-09-13 16:03:27 -07:00
gabrielburnworth ab1b8bbda5
add farmware execution rpc debug logs
Fix AMQP and network disconnects causing limbo state
2019-09-13 16:03:27 -07:00
Connor Rigby de78091f6d
Add device side log filter for bad words
This prevents the frontend from crashing on bad words
2019-09-13 16:03:26 -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 5d54795d11
Fix updating a regimen remotely not updating locally
If a user updated a regimen (started or not by a FarmEvent) it would
take two changes to actually dispatch the change since Regimens
update their own `updated_at` without `put`ing it to the API
2019-09-13 16:03:26 -07:00