CLI FAQs
信息
If you have any questions for Dashboard, please contact esp-rainmaker-support@espressif.com with a cli tag.
Can I use RainMaker CLI to test features/functions in my ESP RainMaker private deployment?
If using RainMaker cli to test features in your private deployment
RainMaker CLI would typically not be required for the private deployments, since the phone apps would be the primary interfaces for end users. Even then, if you want to use it for testing, follow these instructions.
- Open the file
esp-rainmaker/cli/rmaker_lib/serverconfig.py
. - Search for the line
HOST = 'https://api.rainmaker.espressif.com/' + VERSION + '/'
- Replace
https://api.rainmaker.espressif.com/
with your own Base URL. Follow Get Base URL steps to fetch the URL.
备注
Note that, for private deployments, this CLI can be used only for email address + password based logins and that too only via the command line, not the web UI, since the web UI has quite some things specific for the public RainMaker deployment. Use this command for login:
./rainmaker.py login --email abc@xyz.com
:::