Skip to content

AscendFB/FarmBot-Python-Examples

 
 

Repository files navigation

Control FarmBot with Python

Up and Running

  1. Read about CeleryScript and our use of MQTT first. This is important stuff!
  2. Install Paho-MQTT
  3. Try the examples below, preferably in order.

Examples

IMPORTANT NOTE: If you do not generate a token via token_generation_example.py, none of these examples will work.

  • token_generation_example.py - Learn how to create an API token. You need this to login to the MQTT server.
  • subscribe_example.py - Learn how to listen to incoming data. Running this script is a great way to observe real world commands used by the Web App.
  • publish_example.py - Learn how to send CeleryScript RPC nodes to the device.

About

Generate API tokens and control FarmBot via MQTT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%