Javascript example to create a sensor, create sensor data, everything is tested and works