- Download Atom Editor (download)
- Version 1.37.0 or lower
- Windows: AtomSetup-x64.exe
- Linux: atom-amd64.deb
- Install Atom Editor
- Windows: run setup
- Linux:
sudo dpkg -i atom-amd64.deb sudo apt install -f
- Start Atom Editor
- Open Install Package
- Enter
pymakrin search field - Install pymakr
- Enter
- Connect Device via USB
- watch console window in Atom to see it worked
- Download Pycom Upgrader (download)
- Download UBIRCH Pycom Firmware (download)
- select the correct firmware for your device (WiPy, Lopy4, GPy, ...)
- CLOSE ATOM or DISCONNECT DEVICE
- Run Pycom Upgrader and Flash Firmware
- select flash from file and use downloaded file from step 6.
- Start Atom Editor or CONNECT DEVICE
- Download example firmware
- Menu View -> Toggle Command Palette
- Enter
git cloneand press return - Paste
https://github.com/ubirch/example-micropythonand clone it
- Create a file
boot.jsonin thesrcdirectory{ "networks": { "<NETWORK NAME>": "<PASSWORD FOR NETWORK>" }, "timeout": 5000, "retries": 10 } - Create a file
settings.jsonin thesrcdirectory{ "type": "pysense", "bootstrap": { "authorization": "Basic <ASK>", "tenant": "ubirch", "host": "management.cumulocity.com" }, "interval": 60 } - Press
UPLOADjust above the console window in Atom - Wait for all files to upload until you see a
UUID : XXXXoutput, copy the UUID! - Visit https://ubirch.cumulocity.com
- Login with the credentials you have created after your invitation mail!
- Select the nine-dots menu (top right) and select
Device Management - Click on menu
Devices(left) and click onRegistration - Click on
Register Deviceand manually add your device entering the UUID copied in step 14- also select Pycom as group
- Reset the pycom device (button next to RGB LED)
- Wait in Cumulocity for your device until an
Acceptbutton appears! - Click
Accept - Select nine-dots menu (top right) and select
Cockpit - Select Groups (left) and click
Pycomgroup - Find your device (check last 4 characters from UUID)
- Select
Data Explorerand add Data points in right panel
ENJOY!