Commit Graph

260 Commits (27456d977a145356b81b0c59e585a24bdc537b82)

Author SHA1 Message Date
Connor Rigby 96f77e06c9 Update NervesHubCli 2019-10-22 14:19:32 -07:00
connor rigby 3aa563d8d7 Update dependency on mdns_lite 2019-10-22 14:19:32 -07:00
Connor Rigby 7508dea74f rename cpu-usage to scheduler-usage, promote to farmbot_core 2019-10-22 14:19:32 -07:00
Gabriel Burnworth 3e2da27323 init cpu info worker 2019-10-22 14:19:32 -07:00
Gabriel Burnworth d2b18768c8 Update cpu_usage.ex 2019-10-22 14:19:32 -07:00
gabrielburnworth 726393f012 add cpu_usage 2019-10-22 14:19:32 -07:00
Connor Rigby 2518eea133 Remove newlines from factory reset log 2019-10-22 14:19:32 -07:00
connor rigby f5e8cd3e6f Set local ip address in a info worker instead of once per boot 2019-10-22 14:19:32 -07:00
gabrielburnworth 74b9b92d5c add private_ip 2019-10-22 14:19:32 -07:00
Connor Rigby e8a7848591 Add optional speed parameter to Lua API 2019-10-22 14:19:32 -07:00
Connor Rigby abf44c77f1 Fix movement not setting speed correctly 2019-10-01 09:13:42 -07:00
Connor Rigby b0ea0df183 Refactor all movement sys_calls into their own file 2019-10-01 09:13:42 -07:00
Connor Rigby 96574f2033 Implement `resource_update` celery node 2019-09-24 12:47:08 -07:00
Connor Rigby f4d48b9454 Fix Farmware Hanging sequences 2019-09-24 12:47:08 -07:00
connor rigby 35fd8271a7 Update NervesHub device task to include healthy status 2019-09-24 12:47:08 -07:00
connor rigby 2f36e2d564 Update NervesHub client to save some meta about updates to the FB API 2019-09-18 12:45:01 -07:00
connor rigby d1ad9d4afe Add mix task to dump nerves_hub devices to a csv file 2019-09-18 12:45:01 -07:00
connor rigby 99bbd60496 Update NervesHub 2019-09-18 12:45:01 -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 5e998809ed
Start configurator on usb interface for devices that support it 2019-09-13 16:03:34 -07:00
Connor Rigby 8a816ba1f4
Change if and read_pin to function the same as v7
this prevents the possibility of reading a sensor and it changing
by the time an if statement is executed
2019-09-13 16:03:34 -07:00
Connor Rigby 659f95461e
Fix movement commands retrying on estop 2019-09-13 16:03:34 -07:00
Connor Rigby eb2c7fb874
Add movement retries to sys_calls
This will cause farmbot to retry a movement up to 5 times before
actually considering a movement failed
2019-09-13 16:03:34 -07:00
Connor Rigby 46d259202c
Add sequence start/complete logs to regimen and farm_events 2019-09-13 16:03:34 -07:00
Connor Rigby 957d8b98a7
Add month to lua time helpers 2019-09-13 16:03:33 -07:00
Connor Rigby ed4223a619
Add time helpers to lua engine 2019-09-13 16:03:33 -07:00
Connor Rigby 7caf0071db
Fix race condition in starting/stopping farmware 2019-09-13 16:03:33 -07:00
Connor Rigby f69f519ada
Revert "Update farmbot_system_rpi3"
This reverts commit 4ec87b1c71.
2019-09-13 16:03:33 -07:00
Connor Rigby 16c10a386d
Revert "Update farmbot_system_rpi3 again"
This reverts commit 390e5c08b6.
2019-09-13 16:03:33 -07:00
connor rigby b1cfeb04bd
Fix configurator not rendering correctly 2019-09-13 16:03:33 -07:00
connor rigby 80150e9966
Update farmbot_system_rpi3 again 2019-09-13 16:03:33 -07:00
Connor Rigby fe7c6c8070
Update `toggle_pin` log to reflect peripheral name 2019-09-13 16:03:33 -07:00
Connor Rigby 9b927f03f7
Update farmbot_system_rpi3 2019-09-13 16:03:33 -07:00
Connor Rigby cf2877c76e
Ensure firmware/rpc logs always dispatch 2019-09-13 16:03:33 -07:00
Connor Rigby 58b19b04b1
Add catch-all clause for `if` in the case that `mode` is not supplied 2019-09-13 16:03:33 -07:00
Connor Rigby f400b2746f
Add new RPC for `toggle_pin`
This was previously implemented as a "macro" that just expanded
`toggle_pin` to a series of `read_pin` -> `write_pin` -> `read_pin` this
lead to three logs instead of just one. The implementation is still
mostly the same, but now there is less logging.

Also factored all pin control into it's own module
2019-09-13 16:03:32 -07:00
Connor Rigby 973b622aef
Update VintageNet and Muontrap 2019-09-13 16:03:32 -07:00
Connor Rigby aeded02039
Merge pull request #942 from FarmBot/bug/ota-firmware-flash
Disable OTA flashing firmware for now.
2019-09-13 16:03:32 -07:00
Connor Rigby 33ecbb3f46
Don't send unknown message to ssh console 2019-09-13 16:03:32 -07:00
Connor Rigby 19c26d78f9
Remove inspected data from nerves_hub log 2019-09-13 16:03:32 -07:00
Connor Rigby c8da9d880e
Move firmware naming convetions into their own module 2019-09-13 16:03:32 -07:00
Connor Rigby b5a865622e
Set update_available flag when after a message from NervesHub 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 fae40a7b02
Add some helpers to lua expressions 2019-09-13 16:03:32 -07:00
Connor Rigby 528acd119c
Fix execute block inside lua expression block 2019-09-13 16:03:32 -07:00
Connor Rigby 16f13ae685
Add debug help docs back to prod releases 2019-09-13 16:03:31 -07:00
Connor Rigby 61d63afb17
Fix typo AMPQ -> AMQP 2019-09-13 16:03:31 -07:00