Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 928 Bytes

File metadata and controls

12 lines (9 loc) · 928 Bytes

Replacement

Replace with Your hostname Instead of [hostname] in parkingpi.ini file.(Like this example-> https://example.cumulocity.com) Also replace username and password of your Tenant at the place [username] and [password] Respectively in same file.

c8y-Agent-Python

  • This fully consists of python based c8y development
  • And You Have to Gothrough the Rest Developer Section in Cumulocity Guides : https://www.cumulocity.com/guides/rest/introduction/
  • This Agent Creates ParkingPi and its child device(numbers Based on the array size of sensors in the parkingpi.json file) while you run newads.py
  • This also send measurements to the c8y reading the value from the sensor using trig and echo pin and id (from the sendmeasure.json which is auto-generated) file

You can Modify the PI name child devices numbers while you make change in the parkingpi.json file as your wish :)