A Node-RED library for connect to NIU Cloud for your electric scooter
This library allows you to request information about your vehicle from the NIU Cloud. It handles many actions that can be performed on multiple vehicles.
To install this library please search for "niu" in the node palette
Vehicles Get a list of vehicles.
Motor info Get motor info of vehicle.
Overall Tally Get overall tally of vehicle.
Battery info Get battery info of vehicle.
Battery health Get battery health of vehicle.
FW Version Get firmware version.
Vehicle position Get current position of a vehicle.
Update info Get update information.
Tracks Get recorded tracks.
For information on the data that all actions return, see the API description here
See the changelog for all the details of each releases
Set your Niu Cloud Account credential and click on "refresh token", then select a vehicle and save the config note.
On the node, select the desired action and inject any payload to retrieve information from the Niu cloud
Use the verbose -v
flag when starting Node-RED to get more information
or use node-red-log
and enable "Debug Logs" on Configuration Node as needed
The node-red-contrib-niu-cloud using nodejs library niu-cloud-connector for all features.
This project is released under The MIT License (MIT)